New to Kendo UI for Vue? Start a free 30-day trial

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 ), k-get-theme-color-var( series-a-100 ))var(--kendo-color-series-a, #0099bc)
Description
The first base series color and its light and dark shades.
$kendo-series-bStringif($kendo-enable-color-system, k-color( series-b ), k-get-theme-color-var( series-b-100 ))var(--kendo-color-series-b, #e74856)
Description
The second base series color and its light and dark shades.
$kendo-series-cStringif($kendo-enable-color-system, k-color( series-c ), k-get-theme-color-var( series-c-100 ))var(--kendo-color-series-c, #ffb900)
Description
The third base series color and its light and dark shades.
$kendo-series-dStringif($kendo-enable-color-system, k-color( series-d ), k-get-theme-color-var( series-d-100 ))var(--kendo-color-series-d, #096edf)
Description
The fourth base series color and its light and dark shades.
$kendo-series-eStringif($kendo-enable-color-system, k-color( series-e ), k-get-theme-color-var( series-e-100 ))var(--kendo-color-series-e, #8764b8)
Description
The fifth base series color and its light and dark shades.
$kendo-series-fStringif($kendo-enable-color-system, k-color( series-f ), k-get-theme-color-var( series-f-100 ))var(--kendo-color-series-f, #00cc6a)
Description
The sixth base series color and its light and dark shades.
$kendo-series-1String$kendo-series-avar(--kendo-color-series-a, #0099bc)
Description
The series colors in order:
base, light, dark, lighter, darker
$kendo-chart-border-widthList0px default0px default
Description
The border width of the chart component.
$kendo-chart-font-familyStringvar( --kendo-font-family, inherit )var(--kendo-font-family, inherit)
Description
The font-family of the chart component.
$kendo-chart-font-sizeStringvar( --kendo-font-size, inherit )var(--kendo-font-size, inherit)
Description
The font-size of the chart component.
$kendo-chart-line-heightStringvar( --kendo-line-height, normal )var(--kendo-line-height, normal)
Description
The line-height of the chart component.
$kendo-chart-tooltip-font-sizeStringvar( --kendo-font-size-sm, inherit )var(--kendo-font-size-sm, inherit)
Description
The font-size of the tooltip of the chart component.
$kendo-chart-tooltip-line-heightStringvar( --kendo-line-height-sm, normal )var(--kendo-line-height-sm, normal)
Description
The line-height of the tooltip of the chart component.
$kendo-chart-title-font-sizeStringvar( --kendo-font-size-lg, inherit )var(--kendo-font-size-lg, inherit)
Description
The font-size of the title of the chart component.
$kendo-chart-pane-title-font-sizeStringvar( --kendo-font-size-lg, inherit )var(--kendo-font-size-lg, inherit)
Description
The font-size of the pane title of the chart component.
$kendo-chart-pane-title-font-weightStringvar( --kendo-font-weight, inherit )var(--kendo-font-weight, inherit)
Description
The font-weight of the pane title of the chart component.
$kendo-chart-major-linesStringif($kendo-enable-color-system, color-mix(in srgb, k-color( border ) 16%, transparent), k-get-theme-color-var( neutral-30 ))color-mix(in srgb, var(--kendo-color-border, #8a8886) 16%, transparent)
Description
The color of the chart component major grid lines.
$kendo-chart-minor-linesStringif($kendo-enable-color-system, color-mix(in srgb, k-color( border ) 16%, transparent), k-get-theme-color-var( neutral-30 ))color-mix(in srgb, var(--kendo-color-border, #8a8886) 16%, transparent)
Description
The color of the chart component minor grid lines.
$kendo-chart-area-opacityNumber.60.6
Description
The opacity of the chart area.
$kendo-chart-area-inactive-opacityNumber.10.1
Description
The inactive opacity of the chart area.
$kendo-chart-line-inactive-opacityNumber.30.3
Description
The inactive opacity of the chart line.
$kendo-chart-bgStringvar( --kendo-component-bg, initial )var(--kendo-component-bg, initial)
Description
The background color of the chart component.
$kendo-chart-textStringvar( --kendo-component-text, initial )var(--kendo-component-text, initial)
Description
The text color of the chart component.
$kendo-chart-borderStringvar( --kendo-component-border, initial )var(--kendo-component-border, initial)
Description
The border color of the chart component.
$kendo-chart-tooltip-colorStringif($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white)var(--kendo-color-app-surface, #ffffff)
Description
The text color of the chart tooltip.
$kendo-chart-tooltip-color-inverseStringif($kendo-enable-color-system, k-color( on-app-surface ), $kendo-color-black)var(--kendo-color-on-app-surface, #323130)
Description
The inverse text color of the chart tooltip.
$kendo-chart-crosshair-backgroundStringif($kendo-enable-color-system, k-color( on-app-surface ), $kendo-color-black)var(--kendo-color-on-app-surface, #323130)
Description
The background color of the chart crosshairs.
$kendo-chart-crosshair-shared-tooltip-colorStringif($kendo-enable-color-system, k-color( on-app-surface ), k-get-theme-color-var( neutral-160 ))var(--kendo-color-on-app-surface, #323130)
Description
The text color of the chart shared crosshair tooltip.
$kendo-chart-crosshair-shared-tooltip-backgroundStringvar( --kendo-component-bg, initial )var(--kendo-component-bg, initial)
Description
The background color of the chart shared crosshair tooltip.
$kendo-chart-crosshair-shared-tooltip-borderColortransparenttransparent
Description
The border color of the chart shared crosshair tooltip.
$kendo-chart-notes-backgroundStringif($kendo-enable-color-system, k-color( base-emphasis ), k-get-theme-color-var( neutral-130 ))var(--kendo-color-base-emphasis, #605e5c)
Description
The background color of the chart notes.
$kendo-chart-notes-borderString$kendo-chart-notes-backgroundvar(--kendo-color-base-emphasis, #605e5c)
Description
The border color of the chart notes.
$kendo-chart-notes-linesString$kendo-chart-notes-backgroundvar(--kendo-color-base-emphasis, #605e5c)
Description
The background color of the chart note lines.
$kendo-chart-handle-bgStringif($kendo-enable-color-system, k-color( surface ), k-get-theme-color-var( neutral-10 ))var(--kendo-color-surface, #faf9f8)
Description
The background color of the chart handle.
$kendo-chart-handle-textString$kendo-chart-textvar(--kendo-component-text, initial)
Description
The text color of the chart handle.
$kendo-chart-handle-borderString$kendo-chart-handle-bgvar(--kendo-color-surface, #faf9f8)
Description
The border color of the chart handle.
$kendo-chart-handle-hover-bgStringvar( --kendo-hover-bg, initial )var(--kendo-hover-bg, initial)
Description
The hover background color of the chart handle.
$kendo-chart-handle-hover-textStringvar( --kendo-hover-text, initial )var(--kendo-hover-text, initial)
Description
The hover text color of the chart handle.
$kendo-chart-handle-hover-borderStringvar( --kendo-hover-border, initial )var(--kendo-hover-border, initial)
Description
The hover border color of the chart handle.
$kendo-color-error-bars-backgroundStringif($kendo-enable-color-system, k-color( error ), k-get-theme-color-var( neutral-110 ))var(--kendo-color-error, #c2666b)
Description
The color of the chart error bars.
$kendo-selection-handle-sizeNumber24px24px
Description
The size of the selection handle of the chart component.
$kendo-selection-border-colorStringvar( --kendo-component-border, initial )var(--kendo-component-border, initial)
Description
The color of the selection handle of the chart component.
$kendo-treemap-font-familyStringvar( --kendo-font-family, inherit )var(--kendo-font-family, inherit)
Description
The font-family of the treemap.
$kendo-treemap-font-sizeStringvar( --kendo-font-size, inherit )var(--kendo-font-size, inherit)
Description
The font-size of the treemap.
$kendo-treemap-line-heightStringvar( --kendo-line-height, normal )var(--kendo-line-height, normal)
Description
The line-height of the treemap.
$kendo-treemap-bgStringvar( --kendo-component-bg, initial )var(--kendo-component-bg, initial)
Description
The background color of the treemap.
$kendo-treemap-textStringvar( --kendo-component-text, initial )var(--kendo-component-text, initial)
Description
The text color of the treemap.
$kendo-treemap-borderStringvar( --kendo-component-border, initial )var(--kendo-component-border, initial)
Description
The border color of the treemap.
$kendo-treemap-title-bgStringif($kendo-enable-color-system, k-color( surface ), k-get-theme-color-var( neutral-10 ))var(--kendo-color-surface, #faf9f8)
Description
The background color of the treemap title.
$kendo-treemap-title-textStringif($kendo-enable-color-system, k-color( on-app-surface ), $kendo-color-black)var(--kendo-color-on-app-surface, #323130)
Description
The text color of the treemap title.
$kendo-treemap-title-borderStringvar( --kendo-component-border, initial )var(--kendo-component-border, initial)
Description
The border color of the treemap title.

In this article

Not finding the help you need?