KI-NAM BANG KI-NAM BANG - 8 months ago 83
Android Question

How to disable highlight line in MPAndroidChart?

MPAndroidChart - linechart

enter image description here

how to invisible touching line ?

please help.


Actually its Highlight selected axis.

to remove that use mChart.getData().setHighlightEnabled(false);

setHighlightEnabled : Enables / disables highlighting values for all DataSets this data object contains. If set to true, this means that values can be highlighted programmatically or by touch gesture.

If you have sample of MP Android Lib then you can check it from Option Menu named "Toggle Highlight".

This can also be found in the documentation.