FixedCrossTableDataSeries class
FixedCrossTableDataSeries
A data series used in FixedCrossTable
Constructors
- () - Construct new data series.
Methods
- Empty Add(FixedCrossTableDataItem absolute "Item to add.", FixedCrossTableDataItem percentage "Item to add.") - Add new data item.
- Empty Clear() - Clear collection.
- FixedCrossTableDataItem this[] { get; }(number index "The key used to lookup the absolute value.") - Get an item based on a index.
- Empty RemoveAt(number index "Index to remove.") - Remove an element.
- Empty this[] { set; }(number index "The key used to lookup the absolute value.", FixedCrossTableDataItem value "The value to set.") - Set an item based on a index to the value given.
- string ToString() - The string representation of the object.
Properties
- FixedCrossTableDataItem AbsoluteTotal { get; set; } - Get/Set the total absolute value.
- number Count { get; } - Number of elements.
- string ObjectTypeName { get; } - The name of the type of object.
- FixedCrossTableDataItem PercentageTotal { get; set; } - Get/Set the total percentage value.
- TypeInformation TypeInformation { get; } - Get information about this class.
Examples
FixedCrossTableDataItem dataItem = new FixedCrossTableDataItem();
dataItem.Value = 5;
dataItem.SignificanceZ = 10;
FixedCrossTableDataSeries dataserie = new FixedCrossTableDataSeries();
dataserie.Add(dataItem,dataItem);
dataserie.AbsoluteTotal.Value = 20;
dataserie.PercentageTotal.Value = 100;
print(dataserie[0].Value);
print(dataserie[0].SignificanceZ);
print(dataserie.AbsoluteTotal.Value);
print(dataserie.PercentageTotal.Value);