logarithmic scale - support of : beginAtZero, zero values, multidataset selection (issue-#9629)
beginAtZero support and zero values display on logarithmic scale with multi dataset selection.
same changes can be apply on 3.9 branch.
issue #9629
Thanks
You don't need to open a new issue every time you change your code
You don't need to open a new issue every time you change your code
Sorry for that, i just want to make that clean.
Looks like the code already had support for zero, does it not work?
Looks like the code already had support for zero, does it not work?
The code don't display zero. Line chart is cut.
Looks like the code already had support for zero, does it not work?
The code don't display zero. Line chart is cut.
true, a pen using master: https://codepen.io/kurkle/pen/KKRQpgR
And no '0' tick appear too.
Just an idea... to support zero values, It may be better to use log1n() function instead of log10().... no ?
I check tests on scale-logarithmic, all tests with type bar are failed because bar have beginAtZero at true by default. All test on min value on it return 0 with my code... it's normal (current master don't have beginAtZero full support). I should add beginAtZero to false or use line type on tests ?
Changing the type to line is fine.
Also should add a test that beginAtZero actually works
Hello, Please this feature can be merge on master ?
The build fails, as long as that happens this can't be merged.
Also like I said in my previous comment, a test for this should be added so we get notified in the future if it breaks
For the build, sorry a mistake in my commit...
I'll do in other way later (and not in my master branch)