BiChartAreaBase

This is the abstract base class for BiChartArea and BiChartArea2. The chart area is the part of the graph that contains the charts.

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

Constructor

new BiChartAreaBase ( oGraph )

Parameters

NameTypeOptionalDefaultDescripton
oGraphBiGraphBaseThe graph that the chart area is part of

Properties

NameTypegetsetDescripton
fillAngleStringcheckedcheckedThe angle of the gradient
fillColorStringcheckedcheckedThe background color of the chart area
fillColor2StringcheckedcheckedThe alternate color of the chart area (used when fill type is gradient)
fillOpacityStringcheckedcheckedThe background color opacity of the chart area
fillTypeStringcheckedcheckedThe type of the fill. Valid values are:

solid
gradient
gradientradial
strokeColorStringcheckedcheckedThe border color of the chart area
strokeOpacityNumbercheckedcheckedThe border opacity of the chart area

Methods

NameDescription
fromXmlElementModifies the existing chart area by taking the properties from an XML element
hasFillAngleReturns true if the fillAngle property has been set on the chart area
hasFillColorReturns true if the fillColor property has been set on the chart area
hasFillColor2Returns true if the fillColor2 property has been set on the chart area
hasFillOpacityReturns true if the fillOpacity property has been set on the chart area
hasFillTypeReturns true if the fillType property has been set on the chart area
hasStrokeColorReturns true if the strokeColor property has been set on the chart area
hasStrokeOpacityReturns true if the strokeOpacity property has been set on the chart area
toXmlElementSerializes the chart area to an XML element

Events

None.

Static Methods

None.

Static Fields

None.

Remarks

None.

Method Details

fromXmlElement

Modifies the existing chart area by taking the properties from an XML element

Syntax

object.fromXmlElement ( oNode )

Parameters

NameTypeOptionalDefaultDescripton
oNodeXmlElementThe element describing the chart area

Return Type

void

hasFillAngle

Returns true if the fillAngle property has been set on the chart area

Syntax

object.hasFillAngle ( )

Parameters

No arguments.

Return Type

Boolean

hasFillColor

Returns true if the fillColor property has been set on the chart area

Syntax

object.hasFillColor ( )

Parameters

No arguments.

Return Type

Boolean

hasFillColor2

Returns true if the fillColor2 property has been set on the chart area

Syntax

object.hasFillColor2 ( )

Parameters

No arguments.

Return Type

Boolean

hasFillOpacity

Returns true if the fillOpacity property has been set on the chart area

Syntax

object.hasFillOpacity ( )

Parameters

No arguments.

Return Type

Boolean

hasFillType

Returns true if the fillType property has been set on the chart area

Syntax

object.hasFillType ( )

Parameters

No arguments.

Return Type

Boolean

hasStrokeColor

Returns true if the strokeColor property has been set on the chart area

Syntax

object.hasStrokeColor ( )

Parameters

No arguments.

Return Type

Boolean

hasStrokeOpacity

Returns true if the strokeOpacity property has been set on the chart area

Syntax

object.hasStrokeOpacity ( )

Parameters

No arguments.

Return Type

Boolean

toXmlElement

Serializes the chart area to an XML element

Syntax

object.toXmlElement ( oDoc )

Parameters

NameTypeOptionalDefaultDescripton
oDocBiXmlDocumentThe XML document to create the element in

Return Type

XmlElement