diff options
| author | Jacob Palecki <[email protected]> | 2020-08-04 15:10:16 -0700 |
|---|---|---|
| committer | Jacob Palecki <[email protected]> | 2020-08-04 15:10:16 -0700 |
| commit | 2ada822c137329005a31c7f49f9e4d9aa8eb51b2 (patch) | |
| tree | 06b427b117089f29f35b00119b99c0421111b204 | |
| parent | Data rebind for faster graph update (diff) | |
| download | rawaccel-2ada822c137329005a31c7f49f9e4d9aa8eb51b2.tar.xz rawaccel-2ada822c137329005a31c7f49f9e4d9aa8eb51b2.zip | |
Remove unnecessary .clear() call
| -rw-r--r-- | grapher/AccelGUI.cs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/grapher/AccelGUI.cs b/grapher/AccelGUI.cs index 85d2416..c701054 100644 --- a/grapher/AccelGUI.cs +++ b/grapher/AccelGUI.cs @@ -170,13 +170,8 @@ namespace grapher } var accelSeries = AccelCharts.SensitivityChart.Series.FirstOrDefault(); - accelSeries.Points.Clear(); - var velSeries = AccelCharts.VelocityChart.Series.FirstOrDefault(); - velSeries.Points.Clear(); - var gainSeries = AccelCharts.GainChart.Series.FirstOrDefault(); - gainSeries.Points.Clear(); accelSeries.Points.DataBindXY(OrderedAccelPoints.Keys, OrderedAccelPoints.Values); velSeries.Points.DataBindXY(OrderedVelocityPoints.Keys, OrderedVelocityPoints.Values); |