Preventing Some Value Axis Labels from Rendering
Environment
Product | Progress® 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.