diff options
| author | Jacob Palecki <[email protected]> | 2020-09-08 14:44:53 -0700 |
|---|---|---|
| committer | Jacob Palecki <[email protected]> | 2020-09-08 14:44:53 -0700 |
| commit | 25ab05b2854428891b1615b7b78e9257c2d6db35 (patch) | |
| tree | e218d46d27d291b8f264611c8f267e7687232d93 /grapher/Models/Charts/ChartXY.cs | |
| parent | Center write button (diff) | |
| download | rawaccel-25ab05b2854428891b1615b7b78e9257c2d6db35.tar.xz rawaccel-25ab05b2854428891b1615b7b78e9257c2d6db35.zip | |
Add option to turn off last mouse move dot
Diffstat (limited to 'grapher/Models/Charts/ChartXY.cs')
| -rw-r--r-- | grapher/Models/Charts/ChartXY.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/grapher/Models/Charts/ChartXY.cs b/grapher/Models/Charts/ChartXY.cs index 5ff2a8d..2037190 100644 --- a/grapher/Models/Charts/ChartXY.cs +++ b/grapher/Models/Charts/ChartXY.cs @@ -124,7 +124,7 @@ namespace grapher YPointData = y; } - public void DrawPoints() + public void DrawLastMovementValue() { if(Combined) { @@ -137,6 +137,12 @@ namespace grapher } } + public void ClearLastValue() + { + ChartX.Series[1].Points.Clear(); + ChartY.Series[1].Points.Clear(); + } + public void Bind(IDictionary data) { ChartX.Series[0].Points.DataBindXY(data.Keys, data.Values); |