New to KendoReact? Start a free 30-day trial
Limit the number of axis labels in the KendoReact Chart
Environment
Product Version | 5.12.0 |
Product | Progress® 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 ...