private void clearAllGraphPoints(ChartView cv) { try { ChartSeries cs = cv.getSeries().get(0); ChartPointCollection points = cs.getPoints(); points.clear(); } catch (Exception e) { if (DEBUG) msg("Error clearing chart points. E=" + e.getMessage()); } }