BiChartArea

This class represents the area where the charts inside a graph are displayed.

This class extends BiChartAreaBase and therefore all methods and fields available for BiChartAreaBase are also available for BiChartArea .

Constructor

new BiChartArea ( oGraph )

Parameters

Name Type Optional Default Descripton
oGraph BiGraph The graph that the chart area is part of

Properties

None.

Methods

None.

Events

None.

Static Methods

Name Description
fromXmlElement Creates a new chart area object from an XML element

Static Fields

None.

Remarks

The size and location of the chart area is expressed in a coordinate space from 0 to 1000. Therefore to make the chart area cover the entire graph use the following var chartArea = graph.getChartArea(); chartArea.setLocation(0, 0); chartArea.setSize(1000, 1000);

Static Method Details

fromXmlElement

Creates a new chart area object from an XML element

Syntax

BiChartArea
 .
 fromXmlElement
 (
 oGraph,oNode
 )
 

Parameters

Name Type Optional Default Descripton
oGraph BiGraph The graph that the chart area belongs to
oNode XmlElement The element describing the chart area

Return Type

BiChartArea