BiChartCategory
This class is used to describe the categories of the data for a BiGraph.
This class extends BiObject and therefore all methods and fields available for BiObject are also available for BiChartCategory .
Constructor
new BiChartCategory ( oGraph,sId [ ,sTitle ] )
Parameters
| Name | Type | Optional | Default | Descripton |
oGraph | | The graph that the category belongs to | ||
sId | String | The id of the category | ||
sTitle | String | ![]() | The title of the category |
Properties
| Name | Type | get | set | Descripton |
id | String | ![]() | The id of the category | |
index | Number | ![]() | The index of the category | |
title | String | ![]() | ![]() | The title of the category |
Methods
| Name | Description |
fromXmlElement | Serializes the category to an XML element (sub tree) |
toXmlElement | Serializes the category to an XML element (sub tree) |
Events
None.
Static Methods
| Name | Description |
fromXmlElement | Creates a new category object from an XML element |
Static Fields
None.
Remarks
Changing the category does not update the chart. The graph components needs to be updated manually.
Method Details
fromXmlElement
Serializes the category to an XML element (sub tree)
Syntax
object.fromXmlElement ( oNode ) Parameters
| Name | Type | Optional | Default | Descripton |
oNode | | The XML document to create the element in |
Return Type
toXmlElement
Serializes the category to an XML element (sub tree)
Syntax
object.toXmlElement ( oDoc ) Parameters
| Name | Type | Optional | Default | Descripton |
oDoc | | The XML document to create the element in |
Return Type
XmlElement
Static Method Details
fromXmlElement
Creates a new category object from an XML element
Syntax
BiChartCategory . fromXmlElement ( oGraph,oNode ) Parameters
| Name | Type | Optional | Default | Descripton |
oGraph | | The graph that the category belongs to | ||
oNode | XmlElement | The element describing the category |
