Customizing Charts
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-series-a | Color | if($kendo-enable-color-system, k-color( series-a ), get-base-hue( purple, 500 )) | #9c27b0 |
Description
The first base series color and its light and dark shades. | |||
$kendo-series-b | Color | if($kendo-enable-color-system, k-color( series-b ), get-base-hue( blue, 500 )) | #2196f3 |
Description
The second base series color and its light and dark shades. | |||
$kendo-series-c | Color | if($kendo-enable-color-system, k-color( series-c ), get-base-hue( teal, 500 )) | #009688 |
Description
The third base series color and its light and dark shades. | |||
$kendo-series-d | Color | if($kendo-enable-color-system, k-color( series-d ), get-base-hue( yellow, 500 )) | #ffeb3b |
Description
The fourth base series color and its light and dark shades. | |||
$kendo-series-e | Color | if($kendo-enable-color-system, k-color( series-e ), get-base-hue( red, 500 )) | #f44336 |
Description
The fifth base series color and its light and dark shades. | |||
$kendo-series-f | Color | if($kendo-enable-color-system, k-color( series-f ), get-base-hue( green, 500 )) | #4caf50 |
Description
The sixth base series color and its light and dark shades. | |||
$kendo-series-1 | Color | $kendo-series-a | #9c27b0 |
Description
The series colors in order: base, light, dark, lighter, darker | |||
$kendo-chart-major-lines | Color | if($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 )) | rgba(0, 0, 0, 0.08) |
Description
The color of the Chart grid lines (major). | |||
$kendo-chart-minor-lines | Color | if($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 )) | rgba(0, 0, 0, 0.04) |
Description
The color of the Chart grid lines (minor). |