Difference between revisions of "FixedCrossTableRowSeries class"
Line 38: | Line 38: | ||
dataserie.AbsoluteTotal.Value = 20; | dataserie.AbsoluteTotal.Value = 20; | ||
dataserie.PercentageTotal.Value = 100; | dataserie.PercentageTotal.Value = 100; | ||
− | + | ||
− | + | ||
− | |||
− | |||
FixedCrossTableRowSeries datarow = new FixedCrossTableRowSeries(); | FixedCrossTableRowSeries datarow = new FixedCrossTableRowSeries(); | ||
datarow.Add(dataserie); | datarow.Add(dataserie); | ||
datarow.Add(dataserie); | datarow.Add(dataserie); | ||
+ | |||
print(datarow[0][0].Value); | print(datarow[0][0].Value); | ||
print(datarow[0][0].SignificanceZ); | print(datarow[0][0].SignificanceZ); |
Revision as of 09:34, 11 January 2016
FixedCrossTableRowSeries
A row series used in FixedCrossTable
Constructors
- () - Construct new row series.
Methods
- Empty Add(FixedCrossTableDataSeries series "Item to add.") - Add new data series.
- Empty Clear() - Clear collection.
- FixedCrossTableDataSeries this[] { get; }(number index "The key used to lookup the 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 value.", FixedCrossTableDataSeries 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
- number Count { get; } - Number of elements.
- string ObjectTypeName { get; } - The name of the type of object.
- 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;
FixedCrossTableRowSeries datarow = new FixedCrossTableRowSeries();
datarow.Add(dataserie);
datarow.Add(dataserie);
print(datarow[0][0].Value);
print(datarow[0][0].SignificanceZ);
print(datarow[0].AbsoluteTotal.Value);
print(datarow[0].PercentageTotal.Value);