Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

FixedCrossTableDataSeries class: Difference between revisions

From Catglobe Wiki
Hovietluu (talk | contribs)
Created page with "{{CGscriptClass_Template |Name=FixedCrossTableDataSeries |Description=A data series used in FixedCrossTable |Constructors= {{CGscriptConstructors_Template|Description=Construc..."
 
Hovietluu (talk | contribs)
No edit summary
Line 26: Line 26:
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=TypeInformation|HasGetter=1|Description=Get information about this class.}}
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=TypeInformation|HasGetter=1|Description=Get information about this class.}}
}}
}}
=== Examples ===
<source lang="javascript">
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);
</source>

Revision as of 08:14, 11 January 2016

FixedCrossTableDataSeries



A data series used in FixedCrossTable

Constructors

  • () - Construct new data series.

Methods

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);