在清除数据后调用:
chart.setScaleMinima(1.0f,1.0f);
Chart.getViewPortHandler().refresh(new Matrix(), mChart, true);
在清除数据后调用:
chart.setScaleMinima(1.0f,1.0f);
Chart.getViewPortHandler().refresh(new Matrix(), mChart, true);
本文标题:解决MPAndroidChart-LineChart清除数据刷新
本文链接:https://www.haomeiwen.com/subject/fsdfnxtx.html
网友评论