I build a .net6.0 project, and add an scichart, when I set the min of visible range of Axis to a bit less than 0, for example -1, the first tick will be zero ,but will show as -0, which is very weird.
And the situation occurs on demo of Scichart, too.
- Hugo Chu asked 11 months ago
-
I believe the SciChart WPF team found & fixed a bug for this but it’s in the latest version (v7.x) I will check with the team.
-
Hi Andrew, Thank you for your reply. Glad to know this will be fixed in the latest version. But for now, do we have an easy way to fix this? I use a custom TickProvider for now, but I think this is a little complicated, maybe you have a simple one.
-
I think it was a localisation issue. Try overriding the label provider and formatting labels using some custom code. If that doesn’t work I can ask the team for suggestions
-
Hi Andrew, I already figured out the reason and one solution. The tick 0 here is actually -0(maybe a bug here), so based on Floating-Point Parsing and Formatting improvements in .NET Core 3.0, which distinguishes +0 and -0, the transferred string will become -0. I tried overriding the tick provider and checking tick of 0, and gave it a true 0, which works. Thank you for your help.
- You must login to post comments
Hi Hugo,
This issue has been fixed in our v7.x branch of SciChart WPF and we will soon publish a nightly build for it.
In order to take advantage of the fix, you will need to upgrade your project to use SciChart WPF v7. Once we have a version published (will be 7.0.3 or later) the fix will be applied.
Let me know if this helps,
Also – if you activate your scichart WPF license then your forum badge will show as a supported customer. Please do that so you can receive tech support promptly.
Thank you!
-Andrew
- Andrew Burnett-Thompson answered 11 months ago
- You must login to post comments
Please login first to submit.