Axis labels inconsistency

Stimulsoft Ultimate discussion
Post Reply
peter.sulo
Posts: 11
Joined: Thu Jun 20, 2024 2:33 pm

Axis labels inconsistency

Post by peter.sulo »

Hello,

we have found a problem with charts bars values and their corresponding y-axis labels when the values are rounded to 0 decimal places.
I have prepared simple demo.
In Properties -> Value Format both charts have Number format and Decimal Digits set to 0. The second one has "Use Abbreviation" checked as well.
picture1.png
picture1.png (17.25 KiB) Viewed 2090 times
picture2.png
picture2.png (17.89 KiB) Viewed 2090 times
The first bar has value 3.5. In the bubble over the bar the value is correctly rounded to 4 in both charts.
However in the chart where abbreviation is used the corresponding y-axis label is 3.5 (should be 4?).
In the other chart where abbreviation is not used the y-axis label is 4 but there are 2x4s, 2x3s, 2x2s on the axis (should be only 1, 2, 3, 4 ... without duplicates?).
In general there probably shouldn't be decimal numbers on y-axis when working with 0 decimal digits.

Thank you.
Attachments
bar_chart_demo.mrt
(22.19 KiB) Downloaded 95 times
Lech Kulikowski
Posts: 7332
Joined: Tue Mar 20, 2018 5:34 am

Re: Axis labels inconsistency

Post by Lech Kulikowski »

Hello,

We need some additional time to investigate the issue, we will let you know about the result as soon as possible.

Thank you.
#17270
Lech Kulikowski
Posts: 7332
Joined: Tue Mar 20, 2018 5:34 am

Re: Axis labels inconsistency

Post by Lech Kulikowski »

Hello,

1. Try to set the Step=1 property.
2. The issue is fixed. Please check the next release build 2025.2.4

Thank you.
Post Reply