Skip to content Skip to sidebar Skip to footer

MPANDROIDCHART: How To Draw X Label With .setViewPortOffsets(0,0,0,0)

I have a problem with draw X label when my chart has been set setViewPortOffsets on 0, 0, 0, 0. I know what setViewPortOffsets do, But I don't know how to set it to make only the m

Solution 1:

Add following lines to remove axis lines from both sides of chart:

chartView.getAxisLeft().setEnabled(false);
chartView.getAxisRight().setEnabled(false);

Post a Comment for "MPANDROIDCHART: How To Draw X Label With .setViewPortOffsets(0,0,0,0)"