New to Kendo UI for Angular? Start 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:

    <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.

Example
View Source
Change Theme:

In this article

Not finding the help you need?