New to Kendo UI for AngularStart a free 30-day trial

Preventing Some Value Axis Labels from Rendering

Environment

ProductProgress® Kendo UI® for Angular Charts

Description

How can I prevent the rendering of some labels from the beginning of the value axis? I don't want the first two labels to be displayed.

Solution

To set the number of labels that won't be rendered from the start of the axis, use the skip input property:

html
    <kendo-chart-value-axis>
        <kendo-chart-value-axis-item [labels]="{skip: 2}">
        </kendo-chart-value-axis-item>
    </kendo-chart-value-axis>

The following example demonstrates how to use skip to prevent the first two labels from rendering.

Change Theme
Theme
Loading ...
In this article
EnvironmentDescriptionSolution
Not finding the help you need?
Contact Support