Page 1 of 1
Chart Auto Y-Axis Float Value
Posted: Sat May 11, 2024 8:25 am
by yeetobiichi
Hello all.
When I'm trying to make a line chart with float value, I set the y axis to not start with zero and range to be auto. It turns out that the final chart will have extra digits I don't want. My guess is when calculating the range, it converts the value to JS float, which "lost the precision" and made it not accurate.
The source data are String with 2 digits. Is there anyway to restrict the y-axis digits?

- setting.png (13.65 KiB) Viewed 1925 times

- preview.png (81.49 KiB) Viewed 1925 times
Re: Chart Auto Y-Axis Float Value
Posted: Sun May 12, 2024 3:12 pm
by Lech Kulikowski
Hello,
Please send us a sample report with test data that reproduces the issue for analysis.
Thank you.
Re: Chart Auto Y-Axis Float Value
Posted: Mon May 13, 2024 1:53 am
by yeetobiichi
Update: This isn't the js verison. See response below!
Thank you for your response.
Interestingly, when I was trying to recreate the error with the online designer [
https://designer.stimulsoft.com/], it didn't appear on the online one. I suspect the version I'm using was an old version and the issue is already fixed at some point.
I'm contacting our tech person to see what is happening.

- from_designer.png (63.18 KiB) Viewed 1912 times
Re: Chart Auto Y-Axis Float Value
Posted: Mon May 13, 2024 2:11 am
by yeetobiichi
Hi,
Our tech person informed me that the version on [
https://designer.stimulsoft.com/] is not js version, and therefore the issue isn't there.
We aren't using the latest version, but the issue also appears same on
https://demo.stimulsoft.com/demo_js_202 ... igner.html
Attached are the report I made on the trail latest version with sample data
Re: Chart Auto Y-Axis Float Value
Posted: Mon May 13, 2024 7:44 am
by Lech Kulikowski
Hello,
We need some time to check and fix the issue. We will let you know about the result.
Thank you.
#14434
Re: Chart Auto Y-Axis Float Value
Posted: Tue May 14, 2024 9:19 pm
by Lech Kulikowski
Hello,
The issue is fixed. Please check the next release build.
Thank you.