MPAndroidChart icon indicating copy to clipboard operation
MPAndroidChart copied to clipboard

leftAxis.setDrawLimitLinesBehindData(false); doesn't affect chart circles

Open ifeomaro opened this issue 10 years ago • 3 comments

First of all, thanks for an awesome chart library. It has saved me a lot of development time.

leftAxis.setDrawLimitLinesBehindData(false); doesn't seem to affect the chart's circles. I am wondering if there's anything I need to set for the limit line to be drawn in front of the chart's circles.

Also, is there a way to decrease the thickness of the chart circle's circumference line when increasing the circle's radius?

Thanks.

screenshot_20160301-102142

ifeomaro avatar Mar 01 '16 16:03 ifeomaro

Ans to Q1: please take a look for Z-Order issue @ BarLineChartBase::onDraw(Canvas canvas) Ans to Q2: please take a look for circle style @ LineChartRenderer::drawCircles(Canvas c) and you may see float halfsize = dataSet.getCircleRadius() / 2f; if (dataSet.isDrawCircleHoleEnabled() && circleColor != mCirclePaintInner.getColor()) c.drawCircle(x, y, halfsize, mCirclePaintInner);

Jasper009-So avatar Mar 16 '16 07:03 Jasper009-So

Thanks for the pointer @coolscott. I was able to resolve my second question here.

ifeomaro avatar Mar 17 '16 05:03 ifeomaro

I resolved my first question here.

ifeomaro avatar Mar 21 '16 20:03 ifeomaro