MPAndroidChart之saveToGallery
mCombinedChart.saveToGallery("chart",50);
返回的值一直是false,即保存图表失败
解决办法
Long tsLong = System.currentTimeMillis()/1000;
String ts = tsLong.toString();
mCombinedChart.saveToGallery(ts,50);
保存时需要独一无二的文件名称
MPAndroidChart之saveToGallery
mCombinedChart.saveToGallery("chart",50);
返回的值一直是false,即保存图表失败
解决办法
Long tsLong = System.currentTimeMillis()/1000;
String ts = tsLong.toString();
mCombinedChart.saveToGallery(ts,50);
保存时需要独一无二的文件名称