New to Kendo UI for Vue? 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 | String | if($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-b | String | if($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-c | String | if($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-d | String | if($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-e | String | if($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-f | String | if($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-1 | String | $kendo-series-a | var(--kendo-color-series-a, #0099bc) |
Description
The series colors in order: base, light, dark, lighter, darker | |||
$kendo-chart-border-width | List | 0px default | 0px default |
Description
The border width of the chart component. | |||
$kendo-chart-font-family | String | var( --kendo-font-family, inherit ) | var(--kendo-font-family, inherit) |
Description
The font-family of the chart component. | |||
$kendo-chart-font-size | String | var( --kendo-font-size, inherit ) | var(--kendo-font-size, inherit) |
Description
The font-size of the chart component. | |||
$kendo-chart-line-height | String | var( --kendo-line-height, normal ) | var(--kendo-line-height, normal) |
Description
The line-height of the chart component. | |||
$kendo-chart-tooltip-font-size | String | var( --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-height | String | var( --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-size | String | var( --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-size | String | var( --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-weight | String | var( --kendo-font-weight, inherit ) | var(--kendo-font-weight, inherit) |
Description
The font-weight of the pane title of the chart component. | |||
$kendo-chart-major-lines | String | if($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-lines | String | if($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-opacity | Number | .6 | 0.6 |
Description
The opacity of the chart area. | |||
$kendo-chart-area-inactive-opacity | Number | .1 | 0.1 |
Description
The inactive opacity of the chart area. | |||
$kendo-chart-line-inactive-opacity | Number | .3 | 0.3 |
Description
The inactive opacity of the chart line. | |||
$kendo-chart-bg | String | var( --kendo-component-bg, initial ) | var(--kendo-component-bg, initial) |
Description
The background color of the chart component. | |||
$kendo-chart-text | String | var( --kendo-component-text, initial ) | var(--kendo-component-text, initial) |
Description
The text color of the chart component. | |||
$kendo-chart-border | String | var( --kendo-component-border, initial ) | var(--kendo-component-border, initial) |
Description
The border color of the chart component. | |||
$kendo-chart-tooltip-color | String | if($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-inverse | String | if($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-background | String | if($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-color | String | if($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-background | String | var( --kendo-component-bg, initial ) | var(--kendo-component-bg, initial) |
Description
The background color of the chart shared crosshair tooltip. | |||
$kendo-chart-crosshair-shared-tooltip-border | Color | transparent | transparent |
Description
The border color of the chart shared crosshair tooltip. | |||
$kendo-chart-notes-background | String | if($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-border | String | $kendo-chart-notes-background | var(--kendo-color-base-emphasis, #605e5c) |
Description
The border color of the chart notes. | |||
$kendo-chart-notes-lines | String | $kendo-chart-notes-background | var(--kendo-color-base-emphasis, #605e5c) |
Description
The background color of the chart note lines. | |||
$kendo-chart-handle-bg | String | if($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-text | String | $kendo-chart-text | var(--kendo-component-text, initial) |
Description
The text color of the chart handle. | |||
$kendo-chart-handle-border | String | $kendo-chart-handle-bg | var(--kendo-color-surface, #faf9f8) |
Description
The border color of the chart handle. | |||
$kendo-chart-handle-hover-bg | String | var( --kendo-hover-bg, initial ) | var(--kendo-hover-bg, initial) |
Description
The hover background color of the chart handle. | |||
$kendo-chart-handle-hover-text | String | var( --kendo-hover-text, initial ) | var(--kendo-hover-text, initial) |
Description
The hover text color of the chart handle. | |||
$kendo-chart-handle-hover-border | String | var( --kendo-hover-border, initial ) | var(--kendo-hover-border, initial) |
Description
The hover border color of the chart handle. | |||
$kendo-color-error-bars-background | String | if($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-size | Number | 24px | 24px |
Description
The size of the selection handle of the chart component. | |||
$kendo-selection-border-color | String | var( --kendo-component-border, initial ) | var(--kendo-component-border, initial) |
Description
The color of the selection handle of the chart component. | |||
$kendo-treemap-font-family | String | var( --kendo-font-family, inherit ) | var(--kendo-font-family, inherit) |
Description
The font-family of the treemap. | |||
$kendo-treemap-font-size | String | var( --kendo-font-size, inherit ) | var(--kendo-font-size, inherit) |
Description
The font-size of the treemap. | |||
$kendo-treemap-line-height | String | var( --kendo-line-height, normal ) | var(--kendo-line-height, normal) |
Description
The line-height of the treemap. | |||
$kendo-treemap-bg | String | var( --kendo-component-bg, initial ) | var(--kendo-component-bg, initial) |
Description
The background color of the treemap. | |||
$kendo-treemap-text | String | var( --kendo-component-text, initial ) | var(--kendo-component-text, initial) |
Description
The text color of the treemap. | |||
$kendo-treemap-border | String | var( --kendo-component-border, initial ) | var(--kendo-component-border, initial) |
Description
The border color of the treemap. | |||
$kendo-treemap-title-bg | String | if($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-text | String | if($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-border | String | var( --kendo-component-border, initial ) | var(--kendo-component-border, initial) |
Description
The border color of the treemap title. |