MPAndroidChart icon indicating copy to clipboard operation
MPAndroidChart copied to clipboard

Drawing the vertical highlight line in a line chart

Open juleimisf opened this issue 3 years ago • 4 comments

Hi, while drawing the vertical highlight line in a line chart, i need to show only the line upto the point in the graph. How can we implement that

juleimisf avatar Sep 28 '22 22:09 juleimisf

pls view my post:https://juejin.cn/post/7107494535332102157

gs666 avatar Sep 30 '22 09:09 gs666

I can not modify the library because I import in my project. @PhilJay can you modify this part please?

juleimisf avatar Oct 11 '22 19:10 juleimisf

You can create a new render class extends LineScatterCandleRadarRenderer and edit the code。Then set it as your chart render.

        viewBinding.bubbleChart.renderer = heatMapChartRenderer

gs666 avatar Oct 12 '22 03:10 gs666

It looks like that the owner didn't maintain this library,so I advise you import this library as module,then you can edit the source code easily...

gs666 avatar Oct 12 '22 03:10 gs666