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

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

Properties

Name Type get set Descripton
fillAngle String checked checked The angle of the gradient
fillColor String checked checked The background color of the chart area
fillColor2 String checked checked The alternate color of the chart area (used when fill type is gradient)
fillOpacity Number checked checked The background color opacity of the chart area
fillType String checked checked The type of the fill. Valid values are:

solid
gradient
gradientradial
strokeColor String checked checked The border color of the chart area
strokeOpacity Number checked checked The border opacity of the chart area

Methods

Name Description
fromXmlElement Modifies the existing chart area by taking the properties from an XML element
hasFillAngle Returns true if the fillAngle property has been set on the chart area
hasFillColor Returns true if the fillColor property has been set on the chart area
hasFillColor2 Returns true if the fillColor2 property has been set on the chart area
hasFillOpacity Returns true if the fillOpacity property has been set on the chart area
hasFillType Returns true if the fillType property has been set on the chart area
hasStrokeColor Returns true if the strokeColor property has been set on the chart area
hasStrokeOpacity Returns true if the strokeOpacity property has been set on the chart area
toXmlElement Serializes 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

Name Type Optional Default Descripton
oNode XmlElement The 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

Return Type

Boolean

hasFillColor

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

Syntax

object.hasFillColor
 (
 
 )
 

Parameters

Return Type

Boolean

hasFillColor2

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

Syntax

object.hasFillColor2
 (
 
 )
 

Parameters

Return Type

Boolean

hasFillOpacity

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

Syntax

object.hasFillOpacity
 (
 
 )
 

Parameters

Return Type

Boolean

hasFillType

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

Syntax

object.hasFillType
 (
 
 )
 

Parameters

Return Type

Boolean

hasStrokeColor

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

Syntax

object.hasStrokeColor
 (
 
 )
 

Parameters

Return Type

Boolean

hasStrokeOpacity

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

Syntax

object.hasStrokeOpacity
 (
 
 )
 

Parameters

Return Type

Boolean

toXmlElement

Serializes the chart area to an XML element

Syntax

object.toXmlElement
 (
 oDoc
 )
 

Parameters

Name Type Optional Default Descripton
oDoc BiXmlDocument The XML document to create the element in

Return Type

XmlElement