New to Kendo UI for Angular? Start a free 30-day trial
Customizing Charts
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-series-a | k-get-theme-color-var( series-a-100 ) | ||
Description
The first base series color and its light and dark shades. | |||
$kendo-series-b | k-get-theme-color-var( series-b-100 ) | ||
Description
The second base series color and its light and dark shades. | |||
$kendo-series-c | k-get-theme-color-var( series-c-100 ) | ||
Description
The third base series color and its light and dark shades. | |||
$kendo-series-d | k-get-theme-color-var( series-d-100 ) | ||
Description
The fourth base series color and its light and dark shades. | |||
$kendo-series-e | k-get-theme-color-var( series-e-100 ) | ||
Description
The fifth base series color and its light and dark shades. | |||
$kendo-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-width | 0px default | ||
Description
The border width of the chart component. | |||
$kendo-chart-font-family | var( --kendo-font-family, inherit ) | ||
Description
The font-family of the chart component. | |||
$kendo-chart-font-size | var( --kendo-font-size, inherit ) | ||
Description
The font-size of the chart component. | |||
$kendo-chart-line-height | var( --kendo-line-height, normal ) | ||
Description
The line-height of the chart component. | |||
$kendo-chart-tooltip-font-size | var( --kendo-font-size-sm, inherit ) | ||
Description
The font-size of the tooltip of the chart component. | |||
$kendo-chart-tooltip-line-height | var( --kendo-line-height-sm, normal ) | ||
Description
The line-height of the tooltip of the chart component. | |||
$kendo-chart-title-font-size | var( --kendo-font-size-lg, inherit ) | ||
Description
The font-size of the title of the chart component. | |||
$kendo-chart-pane-title-font-size | var( --kendo-font-size-lg, inherit ) | ||
Description
The font-size of the pane title of the chart component. | |||
$kendo-chart-pane-title-font-weight | var( --kendo-font-weight, inherit ) | ||
Description
The font-weight of the pane title of the chart component. | |||
$kendo-chart-major-lines | k-get-theme-color-var( neutral-30 ) | ||
Description
The color of the chart component major grid lines. | |||
$kendo-chart-minor-lines | 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-bg | var( --kendo-component-bg, initial ) | ||
Description
The background color of the chart component. | |||
$kendo-chart-text | var( --kendo-component-text, initial ) | ||
Description
The text color of the chart component. | |||
$kendo-chart-border | var( --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-color | k-get-theme-color-var( neutral-160 ) | ||
Description
The text color of the chart shared crosshair tooltip. | |||
$kendo-chart-crosshair-shared-tooltip-background | var( --kendo-component-bg, initial ) | ||
Description
The background color of the chart shared crosshair tooltip. | |||
$kendo-chart-crosshair-shared-tooltip-border | transparent | ||
Description
The border color of the chart shared crosshair tooltip. | |||
$kendo-chart-notes-background | 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-bg | 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-bg | var( --kendo-hover-bg, initial ) | ||
Description
The hover background color of the chart handle. | |||
$kendo-chart-handle-hover-text | var( --kendo-hover-text, initial ) | ||
Description
The hover text color of the chart handle. | |||
$kendo-chart-handle-hover-border | var( --kendo-hover-border, initial ) | ||
Description
The hover border color of the chart handle. | |||
$kendo-color-error-bars-background | k-get-theme-color-var( neutral-110 ) | ||
Description
The color of the chart error bars. | |||
$kendo-selection-handle-size | 24px | ||
Description
The size of the selection handle of the chart component. | |||
$kendo-selection-border-color | var( --kendo-component-border, initial ) | ||
Description
The color of the selection handle of the chart component. | |||
$kendo-treemap-font-family | var( --kendo-font-family, inherit ) | ||
Description
The font-family of the treemap. | |||
$kendo-treemap-font-size | var( --kendo-font-size, inherit ) | ||
Description
The font-size of the treemap. | |||
$kendo-treemap-line-height | var( --kendo-line-height, normal ) | ||
Description
The line-height of the treemap. | |||
$kendo-treemap-bg | var( --kendo-component-bg, initial ) | ||
Description
The background color of the treemap. | |||
$kendo-treemap-text | var( --kendo-component-text, initial ) | ||
Description
The text color of the treemap. | |||
$kendo-treemap-border | var( --kendo-component-border, initial ) | ||
Description
The border color of the treemap. | |||
$kendo-treemap-title-bg | k-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-border | var( --kendo-component-border, initial ) | ||
Description
The border color of the treemap title. |