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

NameTypeOptionalDefaultDescripton
oGraphBiGraphBaseThe graph that the legend is part of

Properties

NameTypegetsetDescripton
fontSizeNumbercheckedcheckedThe font size (in pixels) of the labels inside the legend.
graphBiGraphBasecheckedcheckedThe graph that the grid lines are part of

Methods

NameDescription
fromXmlElementMakes the legend reflect the information provided by the XML element.
toXmlElementSerializes 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

NameTypeOptionalDefaultDescripton
oNodeElementThe element describing the legend

Return Type

void

toXmlElement

Serializes the legend object to an XML element

Syntax

object.toXmlElement ( oDoc )

Parameters

NameTypeOptionalDefaultDescripton
oDocDocumentThe XML document to create the element in

Return Type

Element