MPAndroidChart
MPAndroidChart copied to clipboard
zero data line can only be drawn a half in LineChart
In LineChart, if you add some zero line data, the zero data line can only be drawn a half.
version:3.1.0
You can try y.axisMinimum = -1f if your chart Y-axis is fixed.below image is my chart when I use
y.axisMinimum = -1f
y.axisMaximum = 120f

If anybody has better solution,pls tell me!
You can try
y.axisMinimum = -1fif your chart Y-axis is fixed.below image is my chart when I usey.axisMinimum = -1f y.axisMaximum = 120f
If anybody has better solution,pls tell me!
BarLineChartBase Notes //canvas.clipRect(mViewPortHandler.getContentRect());
OK,I will try