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).



AttributeTypeDescription
fontFamily
font-family
StringSets the text's font family.
fontSize
font-size
NumberSets the text's font size.
fontStyle
font-style
StringSets the text's font style.
Accepted Values: ['normal', 'italic', 'oblique']
fontWeight
font-weight
StringSets the text's font weight. Similar to bold.
Default Value: 'normal'