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

Customizing Charts

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-series-ak-get-theme-color-var( series-a-100 )
Description
The first base series color and its light and dark shades.
$kendo-series-bk-get-theme-color-var( series-b-100 )
Description
The second base series color and its light and dark shades.
$kendo-series-ck-get-theme-color-var( series-c-100 )
Description
The third base series color and its light and dark shades.
$kendo-series-dk-get-theme-color-var( series-d-100 )
Description
The fourth base series color and its light and dark shades.
$kendo-series-ek-get-theme-color-var( series-e-100 )
Description
The fifth base series color and its light and dark shades.
$kendo-series-fk-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-linesk-get-theme-color-var( neutral-30 )
Description
The color of the chart component major grid lines.
$kendo-chart-minor-linesk-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-color$kendo-color-white
Description
The text color of the chart tooltip.
$kendo-chart-tooltip-color-inverse$kendo-color-black
Description
The inverse text color of the chart tooltip.
$kendo-chart-crosshair-background$kendo-color-black
Description
The background color of the chart crosshairs.
$kendo-chart-crosshair-shared-tooltip-colork-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-backgroundk-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-bgk-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-backgroundk-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-bgk-get-theme-color-var( neutral-10 )
Description
The background color of the treemap title.
$kendo-treemap-title-text$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?