-
-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Possible regression because of recent startAtZeroEnabled
changes
#300
Comments
|
I am curious, @yas375 your data only has positive values (first screenshot), but it calculated a negative _yAxisMinimum in second screenshot? |
Well I assumed he has -15 somewhere in his dataset, that is out of the visible range... |
Yes, in the screenshot I don't see any negative. Need @yas375 to double check. |
Thanks for the quick feedback! I don't have any negative data entries:
And I have 77 values for xAxis and I believe you can use any strings there. Thanks again! |
Also I've verified locally that 67cb278 makes the difference. Without this commit it works as it was before (my first screenshot). |
Then it must mean that in your case, for some reason, |
The -15 value comes form the chart bottomSpaceLeft.
Don't know the complete library to well so I can not decide if the bottomSpaceLeft is really needed, but maybe Daniel can have a look and decide. |
Oh I got it. It's something I missed. bottom spacing is not needed when בתאריך יום שני, 17 באוגוסט 2015, alinoz77 notifications@github.com כתב:
|
Will fix it soon בתאריך יום שני, 17 באוגוסט 2015, Daniel Cohen Gindi danielgindi@gmail.com
|
Thanks a lot! |
Without any changes to my code here is what I get if I use this library from 2177f7d
And here is what I'm getting from current master (2068a5c):
(Note
-15
in the left axis and extra space)I guess it might be related to recent changes around
startAtZeroEnabled
. In my code I don't this property.Here are some chart params I set which might be useful to know for debugging the issue:
The text was updated successfully, but these errors were encountered: