Customize the chart in the android version


I would like to know if it is possible to customize the nativescript-pro-ui chart, I want to remove the zeros after the comma where it is marked in red.

I know that this is the standard customization for android but I wanted to know if it is possible to customize to let ios equal that does not show the zeros after the comma.


I’m not sure how you’re getting your data for the axis, but instead of formatting your axis, you could convert your data to an integer rather than a float.


I was able to solve the problem using this solution:

To remove the zeros we can apply the labelFormat property as follows:

<chart: BarSeries.verticalAxis>
<chart: LinearAxis labelFormat = “%. 0f” />

An example of the chart in android and ios: