Customizing Charts

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-series-aif($kendo-enable-color-system, k-color( series-a ), k-get-theme-color-var( series-a-100 ))
Description
The first base series color and its light and dark shades.
$kendo-series-bif($kendo-enable-color-system, k-color( series-b ), k-get-theme-color-var( series-b-100 ))
Description
The second base series color and its light and dark shades.
$kendo-series-cif($kendo-enable-color-system, k-color( series-c ), k-get-theme-color-var( series-c-100 ))
Description
The third base series color and its light and dark shades.
$kendo-series-dif($kendo-enable-color-system, k-color( series-d ), k-get-theme-color-var( series-d-100 ))
Description
The fourth base series color and its light and dark shades.
$kendo-series-eif($kendo-enable-color-system, k-color( series-e ), k-get-theme-color-var( series-e-100 ))
Description
The fifth base series color and its light and dark shades.
$kendo-series-fif($kendo-enable-color-system, k-color( series-f ), k-get-theme-color-var( series-f-100 ))
Description
The sixth base series color and its light and dark shades.
$kendo-series-1$kendo-series-a
Description
The series colors in order:
base, light, dark, lighter, darker
$kendo-chart-border-width0px default
Description
The border width of the chart component.
$kendo-chart-font-familyvar( --kendo-font-family, inherit )
Description
The font-family of the chart component.
$kendo-chart-font-sizevar( --kendo-font-size, inherit )
Description
The font-size of the chart component.
$kendo-chart-line-heightvar( --kendo-line-height, normal )
Description
The line-height of the chart component.
$kendo-chart-tooltip-font-sizevar( --kendo-font-size-sm, inherit )
Description
The font-size of the tooltip of the chart component.
$kendo-chart-tooltip-line-heightvar( --kendo-line-height-sm, normal )
Description
The line-height of the tooltip of the chart component.
$kendo-chart-title-font-sizevar( --kendo-font-size-lg, inherit )
Description
The font-size of the title of the chart component.
$kendo-chart-pane-title-font-sizevar( --kendo-font-size-lg, inherit )
Description
The font-size of the pane title of the chart component.
$kendo-chart-pane-title-font-weightvar( --kendo-font-weight, inherit )
Description
The font-weight of the pane title of the chart component.
$kendo-chart-major-linesif($kendo-enable-color-system, color-mix(in srgb, k-color( border ) 16%, transparent), k-get-theme-color-var( neutral-30 ))
Description
The color of the chart component major grid lines.
$kendo-chart-minor-linesif($kendo-enable-color-system, color-mix(in srgb, k-color( border ) 16%, transparent), k-get-theme-color-var( neutral-30 ))
Description
The color of the chart component minor grid lines.
$kendo-chart-area-opacity.6
Description
The opacity of the chart area.
$kendo-chart-area-inactive-opacity.1
Description
The inactive opacity of the chart area.
$kendo-chart-line-inactive-opacity.3
Description
The inactive opacity of the chart line.
$kendo-chart-bgvar( --kendo-component-bg, initial )
Description
The background color of the chart component.
$kendo-chart-textvar( --kendo-component-text, initial )
Description
The text color of the chart component.
$kendo-chart-bordervar( --kendo-component-border, initial )
Description
The border color of the chart component.
$kendo-chart-tooltip-colorif($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white)
Description
The text color of the chart tooltip.
$kendo-chart-tooltip-color-inverseif($kendo-enable-color-system, k-color( on-app-surface ), $kendo-color-black)
Description
The inverse text color of the chart tooltip.
$kendo-chart-crosshair-backgroundif($kendo-enable-color-system, k-color( on-app-surface ), $kendo-color-black)
Description
The background color of the chart crosshairs.
$kendo-chart-crosshair-shared-tooltip-colorif($kendo-enable-color-system, k-color( on-app-surface ), k-get-theme-color-var( neutral-160 ))
Description
The text color of the chart shared crosshair tooltip.
$kendo-chart-crosshair-shared-tooltip-backgroundvar( --kendo-component-bg, initial )
Description
The background color of the chart shared crosshair tooltip.
$kendo-chart-crosshair-shared-tooltip-bordertransparent
Description
The border color of the chart shared crosshair tooltip.
$kendo-chart-notes-backgroundif($kendo-enable-color-system, k-color( base-emphasis ), k-get-theme-color-var( neutral-130 ))
Description
The background color of the chart notes.
$kendo-chart-notes-border$kendo-chart-notes-background
Description
The border color of the chart notes.
$kendo-chart-notes-lines$kendo-chart-notes-background
Description
The background color of the chart note lines.
$kendo-chart-handle-bgif($kendo-enable-color-system, k-color( surface ), k-get-theme-color-var( neutral-10 ))
Description
The background color of the chart handle.
$kendo-chart-handle-text$kendo-chart-text
Description
The text color of the chart handle.
$kendo-chart-handle-border$kendo-chart-handle-bg
Description
The border color of the chart handle.
$kendo-chart-handle-hover-bgvar( --kendo-hover-bg, initial )
Description
The hover background color of the chart handle.
$kendo-chart-handle-hover-textvar( --kendo-hover-text, initial )
Description
The hover text color of the chart handle.
$kendo-chart-handle-hover-bordervar( --kendo-hover-border, initial )
Description
The hover border color of the chart handle.
$kendo-color-error-bars-backgroundif($kendo-enable-color-system, k-color( error ), k-get-theme-color-var( neutral-110 ))
Description
The color of the chart error bars.
$kendo-selection-handle-size24px
Description
The size of the selection handle of the chart component.
$kendo-selection-border-colorvar( --kendo-component-border, initial )
Description
The color of the selection handle of the chart component.
$kendo-treemap-font-familyvar( --kendo-font-family, inherit )
Description
The font-family of the treemap.
$kendo-treemap-font-sizevar( --kendo-font-size, inherit )
Description
The font-size of the treemap.
$kendo-treemap-line-heightvar( --kendo-line-height, normal )
Description
The line-height of the treemap.
$kendo-treemap-bgvar( --kendo-component-bg, initial )
Description
The background color of the treemap.
$kendo-treemap-textvar( --kendo-component-text, initial )
Description
The text color of the treemap.
$kendo-treemap-bordervar( --kendo-component-border, initial )
Description
The border color of the treemap.
$kendo-treemap-title-bgif($kendo-enable-color-system, k-color( surface ), k-get-theme-color-var( neutral-10 ))
Description
The background color of the treemap title.
$kendo-treemap-title-textif($kendo-enable-color-system, k-color( on-app-surface ), $kendo-color-black)
Description
The text color of the treemap title.
$kendo-treemap-title-bordervar( --kendo-component-border, initial )
Description
The border color of the treemap title.

In this article

Not finding the help you need?