globals

[ root » globals ]

Use the globals object to set styling attributes that apply globally across the chart(s) in the corresponding graphset array. This object is similar to a CSS stylesheet, in that the styling attributes will cascade down to all charts in the graphset. Those attributes can be overridden with local attributes in the individual chart object(s).

Attribute

TypeInfo

alpha

Numeric

Sets the transparency level of the object. Values must range between 0.0 and 1.0, with 0.0 being completely transparent and 1.0 being completely opaque. Note that values require a leading zero before the decimal.

0.3 | 0.9 | ...

border-color borderColor

String

Sets the border color of the object, applicable to closed shapes.

"none" | "transparent" | "#1A237E" | "purple" | ...

border-radius borderRadius

Numeric

Sets the border radius of the object, applicable to closed shapes.

"3px" | "7px" | ...

border-width borderWidth

Numeric

Sets the border width of the object, applicable to closed shapes.

4 | "6px" | ...

font-color fontColor

String

Sets the font color of the object.

"none" | "transparent" | "#1A237E" | "purple" | ...

font-family fontFamily

String

Sets the font family of the object.

"Arial" | "Tahoma,Verdana" | ...

font-size fontSize

Numeric

Sets the font size of the object.

12 | "20px" | ...

font-weight fontWeight

String

Sets the font weight of the object.

"normal" | "bold"

line-color lineColor

String

Sets the line color of the object, applicable to non-closed shapes.

"none" | "transparent" | "#1A237E" | "purple" | ...

line-style lineStyle

String

Sets the line style of the object, applicable to non-closed shapes.

"solid" | "dashed" | "dotted" | "dashdot"

line-width lineWidth

Numeric

Sets the line width of the object, applicable to non-closed shapes.

4 | "6px" | ...