Customizing Charts

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-series-aStringif($kendo-enable-color-system, k-color( series-a ), get-base-hue( purple, 500 ))var(--kendo-color-series-a, #9c27b0)
Description
The first base series color and its light and dark shades.
$kendo-series-bStringif($kendo-enable-color-system, k-color( series-b ), get-base-hue( blue, 500 ))var(--kendo-color-series-b, #2196f3)
Description
The second base series color and its light and dark shades.
$kendo-series-cStringif($kendo-enable-color-system, k-color( series-c ), get-base-hue( teal, 500 ))var(--kendo-color-series-c, #009688)
Description
The third base series color and its light and dark shades.
$kendo-series-dStringif($kendo-enable-color-system, k-color( series-d ), get-base-hue( yellow, 500 ))var(--kendo-color-series-d, #ffeb3b)
Description
The fourth base series color and its light and dark shades.
$kendo-series-eStringif($kendo-enable-color-system, k-color( series-e ), get-base-hue( red, 500 ))var(--kendo-color-series-e, #f44336)
Description
The fifth base series color and its light and dark shades.
$kendo-series-fStringif($kendo-enable-color-system, k-color( series-f ), get-base-hue( green, 500 ))var(--kendo-color-series-f, #4caf50)
Description
The sixth base series color and its light and dark shades.
$kendo-series-1String$kendo-series-avar(--kendo-color-series-a, #9c27b0)
Description
The series colors in order:
base, light, dark, lighter, darker
$kendo-chart-major-linesStringif($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 8%, transparent), rgba( if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black ), .08 ))color-mix(in srgb, var(--kendo-color-on-app-surface, #212121) 8%, transparent)
Description
The color of the Chart grid lines (major).
$kendo-chart-minor-linesStringif($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 4%, transparent), rgba( if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black ), .04 ))color-mix(in srgb, var(--kendo-color-on-app-surface, #212121) 4%, transparent)
Description
The color of the Chart grid lines (minor).

In this article

Not finding the help you need?