summaryrefslogtreecommitdiff
path: root/grapher/Models/Charts
diff options
context:
space:
mode:
Diffstat (limited to 'grapher/Models/Charts')
-rw-r--r--grapher/Models/Charts/AccelCharts.cs6
-rw-r--r--grapher/Models/Charts/ChartXY.cs2
2 files changed, 4 insertions, 4 deletions
diff --git a/grapher/Models/Charts/AccelCharts.cs b/grapher/Models/Charts/AccelCharts.cs
index 42377c4..1aa3909 100644
--- a/grapher/Models/Charts/AccelCharts.cs
+++ b/grapher/Models/Charts/AccelCharts.cs
@@ -84,15 +84,15 @@ namespace grapher
private int FormBorderHeight { get; }
- public void MakeDots(int x, int y)
+ public void MakeDots(int x, int y, double timeInMs)
{
if (Combined)
{
- AccelData.CalculateDots(x, y);
+ AccelData.CalculateDots(x, y, timeInMs);
}
else
{
- AccelData.CalculateDotsXY(x, y);
+ AccelData.CalculateDotsXY(x, y, timeInMs);
}
}
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();
}