-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Axis labels starts at -0 #33
Comments
Hi @paul1956 |
Thanks. I don't need auto I just didn't know where to set a fixed value. I still create the graphs at runtime. Unless you have burning desire to fix this can be closed. |
It's something like:
😁 |
@kirsan31 I think this is a bug, Below is chart initialization and AxixY.Minimum is set to 0 and is StartFromZero setting doesn't matter.
|
It's very strange...
Can you provide some repro project to I can debug this (if possible in c# 😌)? |
The only project I have using the chart is my CareLink project, it does have sample data. I don't program in C# well enough to create a repo If its too much work just forget it. The initialization code for the charts is very simple and I tried doing absolute value on all the Y values but it doesn't seem to matter. |
Okay, as soon as I have time, I'll try to figure it out... |
No rush I am on a 2 month holiday starting in Fiji ending in Vancouver in May. |
I was able to reproduce the problem, we'll see what can be done... |
The cause: Will be fixed in 1.8. |
@kirsan31 Thanks, it's perfect. I did try setting Axis.Minimum to Double.Epsilon before the fix but that didn't work. |
The chart only has positive y values though some are very small 0.0000000001 and I do absolute on all the data values (there is a lot of math to get them including subtraction, I only care about 2.25 digits of precision ie.. X.0, X.025,X.5 and X.075) but I can't get rid of the - sign before the 0. Is there a way I should be setting the YAxis labels to prevent this? How is the YAxis starting value set/calculated?
The text was updated successfully, but these errors were encountered: