summaryrefslogtreecommitdiff
path: root/grapher/Models/Charts/ChartXY.cs
diff options
context:
space:
mode:
authorJacob Palecki <[email protected]>2020-08-13 20:56:41 -0700
committerJacob Palecki <[email protected]>2020-08-13 20:56:41 -0700
commit32323636b4b5390c114fc2a6d845b7621a983cdc (patch)
tree01d7df8f55e5a1cce90617fd876eaf994eb26846 /grapher/Models/Charts/ChartXY.cs
parentAll works smoothly (diff)
downloadrawaccel-32323636b4b5390c114fc2a6d845b7621a983cdc.tar.xz
rawaccel-32323636b4b5390c114fc2a6d845b7621a983cdc.zip
Fix initial points, add poll time constant
Diffstat (limited to 'grapher/Models/Charts/ChartXY.cs')
-rw-r--r--grapher/Models/Charts/ChartXY.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/grapher/Models/Charts/ChartXY.cs b/grapher/Models/Charts/ChartXY.cs
index c0c8713..81874a2 100644
--- a/grapher/Models/Charts/ChartXY.cs
+++ b/grapher/Models/Charts/ChartXY.cs
@@ -121,7 +121,7 @@ namespace grapher
{
if (chart.Visible)
{
- (var x, var y) = point.Get();
+ point.Get(out var x, out var y);
chart.Series[1].Points.DataBindXY(x, y);
chart.Update();
}