Tried to use format property of labels but there can't customize it Also tried using visual but it gives error with kendo drawing library So I want simple way to format 1000 to 1K etc example of formatter for kendo-chart-value-axis-item using kendo UI angular without kendo drawing visual property
1 Answer, 1 is accepted
0
Zornitsa
Telerik team
answered on 28 Oct 2024, 05:46 AM
Hi Amit,
To customize the labels displayed on the value axis of the Chart without using custom visuals, the developer can implement a contentfunction callback for the ValueAxisLabelsComponent:
To be more comprehensive, the content function represents the text of each label on the respective axis/series and it can be configured to return the values in the desired appearance. In your case, each value can be divided by 1000 (since "K" means a thousand) and the "K" suffix can be appended at the end of the values: