BiChartCategoryAxisBase

This is the abstract base class for BiChartCategoryAxis and BiChartCategoryAxis2.

This class extends BiComponent and therefore all methods and fields available for BiComponent are also available for BiChartCategoryAxisBase .

Constructor

new BiChartCategoryAxisBase ( oGraph )

Parameters

NameTypeOptionalDefaultDescripton
oGraphBiGraphBaseThe graph that the category axis is used with

Properties

NameTypegetsetDescripton
axisBetweenCategoriesBooleancheckedcheckedWhen this is true the data points, the labels and the value axis are placed between the major ticks. When false the data points, the labels and the value axis are placed on the major ticks. The default is true and therefore the first value will not be placed on the value axis.
fontSizeNumbercheckedcheckedThe font size (in pixels) for the labels of the axis.
majorTickIntervalNumbercheckedcheckedThe distance between the major ticks. Setting this to null makes the tick interval automatic, which means that the tick interval is decided by looking at the data of the charts.
This value needs to be an integer.
maximumNumbercheckedThe maximum value of this axis. This is the number of categories when axis is between the categories and the number of categories plus one otherwise.
minimumNumbercheckedThe minimum value of this axis. This is zero (0) for a category axis.
minorTickIntervalNumbercheckedcheckedThe distance between the minor ticks. Setting this to null makes the tick interval automatic, which means that the tick interval is decided by looking at the data of the charts.
showLabelsBooleancheckedcheckedWhether to show the labels
showMajorTicksBooleancheckedcheckedWhether to show the major ticks
showMinorTicksBooleancheckedcheckedWhether to show the major ticks

Methods

NameDescription
fromXmlElementMakes the category axis reflect the information provided by the XML element.
toXmlElementSerializes the category axis object to an XML element

Events

None.

Static Methods

None.

Static Fields

None.

Remarks

None.

Method Details

fromXmlElement

Makes the category axis reflect the information provided by the XML element.

Syntax

object.fromXmlElement ( oNode )

Parameters

NameTypeOptionalDefaultDescripton
oNodeXmlElementThe element describing the category axis

Return Type

void

toXmlElement

Serializes the category axis object to an XML element

Syntax

object.toXmlElement ( oDoc )

Parameters

NameTypeOptionalDefaultDescripton
oDocBiXmlDocumentThe XML document to create the element in

Return Type

XmlElement