BlazorGraphs

Themes

All the charts, gauges and legends in the library can be associated with a theme to define their style.

Dark histogram
Arctic histogram
Neon histogram
Properties

The theme provides four properties for customization, each of which has a default behavior that is activated when this is null, so you only need to set the value for the ones you need.

Name Type Description Default behaviour
BackGroundColor Color? Chart area color transparent
AxisColor Color? Color of the chart axes currentColor
TextColor Color? Color of the text and tick labels of the chart currentColor
FontFamily string Chart text font-family inherit
Default themes
Light Dark Arctic Beach Neon
BackgroundColor
AxisColor
TextColor
FontFamily null null null null null
Code example