New to KendoReactStart a free 30-day trial

Limit the number of axis labels in the KendoReact Chart

Environment

Product Version5.12.0
ProductProgress® KendoReact Chart

Description

I have a Chart with many points and rendering the axis labels for each point makes them unreadable. Can I limit the number of labels and render every n-th label?

Solution

Limiting the number of the axis labels can be achieved by setting the "ChartCategoryAxisItem.labels.step" property. For example, setting the "step" property to "10" will render every 10th label.

Here is an example with the described approach:

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