BiChartLegend
The legend component is used to show a list of the titles of the series or categories depending on the chart type.
This class extends BiComponent and therefore all methods and fields available for BiComponent are also available for BiChartLegend .
Constructor
new BiChartLegend ( oGraph )
Parameters
| Name | Type | Optional | Default | Descripton |
oGraph | | The graph that the legend is part of |
Properties
| Name | Type | get | set | Descripton |
fontSize | Number | ![]() | ![]() | The font size (in pixels) of the labels inside the legend. |
graph | | ![]() | ![]() | The graph that the grid lines are part of |
Methods
| Name | Description |
fromXmlElement | Makes the legend reflect the information provided by the XML element. |
toXmlElement | Serializes the legend object to an XML element |
Events
None.
Static Methods
None.
Static Fields
None.
Remarks
None.
Method Details
fromXmlElement
Makes the legend reflect the information provided by the XML element.
Syntax
object.fromXmlElement ( oNode ) Parameters
| Name | Type | Optional | Default | Descripton |
oNode | Element | The element describing the legend |
Return Type
void
toXmlElement
Serializes the legend object to an XML element
Syntax
object.toXmlElement ( oDoc ) Parameters
| Name | Type | Optional | Default | Descripton |
oDoc | Document | The XML document to create the element in |
Return Type
Element
