MPAndroidChart icon indicating copy to clipboard operation
MPAndroidChart copied to clipboard

The Linechart lines are jagged

Open OhPeterPan opened this issue 3 years ago • 2 comments

LineDataSet.Mode.LINEAR

How can i remove the jaggedness between the lines

OhPeterPan avatar Jun 20 '22 09:06 OhPeterPan

I guess these codes can resolve your problem.

lineDataSet.setMode(LineDataSet.Mode.CUBIC_BEZIER); lineDataSet.setCubicIntensity(0.1f); `

VinsonGuo avatar Jun 24 '22 09:06 VinsonGuo

I guess these codes can resolve your problem.

lineDataSet.setMode(LineDataSet.Mode.CUBIC_BEZIER); lineDataSet.setCubicIntensity(0.1f); `

PM requires that smooth curves cannot be used,but thanks

OhPeterPan avatar Jun 28 '22 10:06 OhPeterPan