Mpandroidchart: How to hide the label

Created on 17 Sep 2015  路  5Comments  路  Source: PhilJay/MPAndroidChart

I do not How to hide the label . For example "LineDataSet set = new LineDataSet(yVals, "label")"

Most helpful comment

I am not really sure what you mean.

set.setDrawValues(false)
set = new LineDataSet(yVals, "")
chart.getLegend().setEnabled(false)

All 5 comments

I don't want to show the label.

I am not really sure what you mean.

set.setDrawValues(false)
set = new LineDataSet(yVals, "")
chart.getLegend().setEnabled(false)

Thank you ."chart.getLegend().setEnabled(false)" is right.

thanks!

Screenshot 2020-06-29 at 1 48 22 PM
ABove titles gets cropped any way to fix it or is there any way we can hide

Was this page helpful?
0 / 5 - 0 ratings

Related issues

botondbutuza picture botondbutuza  路  3Comments

thanhcly920 picture thanhcly920  路  3Comments

galex picture galex  路  3Comments

AiTheAnswer picture AiTheAnswer  路  3Comments

DarkHelmet67 picture DarkHelmet67  路  3Comments