Skip to main content

Theme Properties

The theme properties may be used to set common colors across many properties in each component instance.

By default, any color prop defined on the chart, an axis, pen, or interaction will override the props listed below.

Name Description Property Type
axisBorderColor The color for the axis border. Color open_in_new.png
axisLabelColor The color for the tick labels of the axis. Color open_in_new.png
axisTitleColor The color for the title of the axis. Color open_in_new.png
chartBackground
Color open_in_new.png
chartTitleColor The color for the chart title Color open_in_new.png
highlightFill   Color open_in_new.png
highlightStroke   Color open_in_new.png
legendBackground   Color open_in_new.png
legendForeground
Color open_in_new.png
loadingBackground
Color open_in_new.png
loadingForeground
Color open_in_new.png
majorGridLineStroke
Color open_in_new.png

minorGridLineStroke


Color open_in_new.png

textAnnotationBackground


Color open_in_new.png

textAnnotationForeground


Color open_in_new.png

penColumnFill


Color open_in_new.png

penColumnStroke


Color open_in_new.png
penGradientFill The default gradient for any pen type with the fill property. PenGradientStop[] open_in_new.png
penLineStroke
Color open_in_new.png
penMountainFill   Color open_in_new.png
penMountainStroke   Color open_in_new.png
traceStroke   Color open_in_new.png