Axis class

From Catglobe Wiki
Revision as of 09:03, 5 July 2018 by Nguyenduyan (talk | contribs) (Created page with "{{CGscriptClass_Template |Name=<nowiki>Axis</nowiki> |Description=<nowiki>Represents an axis in a data cache specification.</nowiki> |Constructors= {{CGscriptConstructors_Temp...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Axis



Represents an axis in a data cache specification.

Constructors

Methods

  • int AddOption(AxisOption option "Option to add") - Add an option to current list
  • Empty AddOrUpdateAxisInAxisSet() - Add or Update this axis in the axis set of the given data cache
  • bool AddToAxisSet() - Add this axis to the axis set of the given data cache. Return false if Name already exists
  • int CountOptions() - Number of current options
  • object this[] { get; }() - Backward-compatible indexer
  • bool RemoveOption(string name "Name of option") - Remove option
  • bool RemoveOption(int index "Index of option in the list") - Remove option
  • Empty this[] { set; }() - Backward-compatible indexer
  • string ToString() - The string representation of the object.
  • bool UpdateAxisInAxisSet() - Update this axis in the axis set of the given data cache. Return false if Name does not exist already

Properties

  • string MathBase { get; set; } - Get/set Math base (dcs column used to calculate statitics on)
  • string MathBaseModifier { get; set; } - Get/set Math base modifier (filter for statistics calculations)
  • string Name { get; set; } - Get/set Name (title)
  • array Options { get; set; } - Get/set options
  • string PctBase { get; set; } - Get/set Percentage base (denominator) for all options
  • string Text { get; set; } - Get/set Text (description)
  • TypeInformation TypeInformation { get; } - Get information about this class.
  • bool Weight { get; set; } - Get/set if used for weight