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

pankaj210891 picture pankaj210891  路  15Comments

patelanil2007 picture patelanil2007  路  26Comments

xainbutt picture xainbutt  路  34Comments

sbron picture sbron  路  17Comments

bbrosius picture bbrosius  路  14Comments