private void clearChart() { SpeedChart.clearData(); LittleSpeed.clearData(); AccelerationChart.clearData(); LittleAcc.clearData(); OffsetChart.clearData(); LittleOffset.clearData(); BrakeChart.clearData(); FollowChart.clearData(); LittleFollow.clearData(); }
private void setDataSource() { LittleSpeed.setLinesData(SpeedChart); LittleAcc.setLinesData(AccelerationChart); LittleOffset.setLinesData(OffsetChart); LittleFollow.setLinesData(FollowChart); double thickness = 1.0; LittleSpeed.clearLine(); LittleSpeed.drawLine(thickness); LittleAcc.clearLine(); LittleAcc.drawLine(thickness); LittleOffset.clearLine(); LittleOffset.drawLine(thickness); LittleFollow.clearLine(); LittleFollow.drawLine(thickness); }