KI-NAM BANG KI-NAM BANG - 3 months ago 34
Android Question

How to disable highlight line in MPAndroidChart?

MPAndroidChart - linechart

enter image description here

how to invisible touching line ?

please help.

Answer

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.

Comments