diff options
| -rw-r--r-- | grapher/Models/Charts/ChartState/CombinedState.cs | 4 | ||||
| -rw-r--r-- | grapher/Models/Charts/ChartState/XYTwoGraphState.cs | 4 | ||||
| -rw-r--r-- | grapher/Models/Charts/ChartXY.cs | 5 |
3 files changed, 13 insertions, 0 deletions
diff --git a/grapher/Models/Charts/ChartState/CombinedState.cs b/grapher/Models/Charts/ChartState/CombinedState.cs index f4b6b8f..802c392 100644 --- a/grapher/Models/Charts/ChartState/CombinedState.cs +++ b/grapher/Models/Charts/ChartState/CombinedState.cs @@ -24,6 +24,10 @@ namespace grapher.Models.Charts.ChartState SensitivityChart.SetCombined(); VelocityChart.SetCombined(); GainChart.SetCombined(); + + SensitivityChart.ClearSecondDots(); + VelocityChart.ClearSecondDots(); + GainChart.ClearSecondDots(); } public override void MakeDots(int x, int y, double timeInMs) diff --git a/grapher/Models/Charts/ChartState/XYTwoGraphState.cs b/grapher/Models/Charts/ChartState/XYTwoGraphState.cs index b775853..017d3d1 100644 --- a/grapher/Models/Charts/ChartState/XYTwoGraphState.cs +++ b/grapher/Models/Charts/ChartState/XYTwoGraphState.cs @@ -45,6 +45,10 @@ namespace grapher.Models.Charts.ChartState SensitivityChart.SetSeparate(); VelocityChart.SetSeparate(); GainChart.SetSeparate(); + + SensitivityChart.ClearSecondDots(); + VelocityChart.ClearSecondDots(); + GainChart.ClearSecondDots(); } public override void MakeDots(int x, int y, double timeInMs) diff --git a/grapher/Models/Charts/ChartXY.cs b/grapher/Models/Charts/ChartXY.cs index d95c7ac..27b63b5 100644 --- a/grapher/Models/Charts/ChartXY.cs +++ b/grapher/Models/Charts/ChartXY.cs @@ -154,6 +154,11 @@ namespace grapher */ } + public void ClearSecondDots() + { + ChartX.Series[3].Points.Clear(); + } + public void Update() { ChartX.Update(); |