summaryrefslogtreecommitdiff
path: root/grapher/Models/Charts/ChartState/ChartState.cs
diff options
context:
space:
mode:
authorJacob Palecki <[email protected]>2021-01-18 17:39:10 -0800
committerJacob Palecki <[email protected]>2021-01-18 17:39:10 -0800
commit8c55ca08881b59943bc9dda193107cc8a117cf69 (patch)
tree8c8ea7956a69c058d1829250a189b250b2659e7b /grapher/Models/Charts/ChartState/ChartState.cs
parentFix xy anisotropy combining in gui (diff)
downloadrawaccel-8c55ca08881b59943bc9dda193107cc8a117cf69.tar.xz
rawaccel-8c55ca08881b59943bc9dda193107cc8a117cf69.zip
Refactor for new graph calculation method
Diffstat (limited to 'grapher/Models/Charts/ChartState/ChartState.cs')
-rw-r--r--grapher/Models/Charts/ChartState/ChartState.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/grapher/Models/Charts/ChartState/ChartState.cs b/grapher/Models/Charts/ChartState/ChartState.cs
index 269d269..2a0325c 100644
--- a/grapher/Models/Charts/ChartState/ChartState.cs
+++ b/grapher/Models/Charts/ChartState/ChartState.cs
@@ -1,4 +1,5 @@
using grapher.Models.Calculations;
+using grapher.Models.Calculations.Data;
using grapher.Models.Serialized;
using System;
using System.Collections.Generic;
@@ -15,13 +16,11 @@ namespace grapher.Models.Charts.ChartState
ChartXY sensitivityChart,
ChartXY velocityChart,
ChartXY gainChart,
- AccelData accelData,
AccelCalculator calculator)
{
SensitivityChart = sensitivityChart;
VelocityChart = velocityChart;
GainChart = gainChart;
- Data = accelData;
Calculator = calculator;
TwoDotsPerGraph = false;
}
@@ -32,7 +31,7 @@ namespace grapher.Models.Charts.ChartState
public ChartXY GainChart { get; }
- public AccelData Data { get; }
+ public IAccelData Data { get; protected set; }
public AccelCalculator Calculator { get; }