Problems with equal values on the y axis
GydeonMarques opened this issue · 4 comments
Hello ... I don't know if it's a problem, but when I have equal Y-axis values on my line chart, it just doesn't show anything on the chart.
See example below
List values = new ArrayList();
values.add(new PointValue(0, 2));
values.add(new PointValue(1, 2));
values.add(new PointValue(2, 2));
values.add(new PointValue(3, 2));
Same problem
yep, have same problem, do we have any solumtion @lecho ?
It's seems that here #455 it was fixed by @uCloudCastle, but for me it doesn't work, seems that problem is because of decimals...
Hi guys, it's been a while since I was active in this repo.
I believe the problem is related to the "feature" that this library calculates viewport automatically(min and max for both axis). When all points have the same value min and max are the same and thereby viewport has height/width of 0.
It can be disabled and set manually.
For solution, please take a look at issue #169 and #143