summaryrefslogtreecommitdiff
path: root/grapher/Models/Charts/AccelCharts.cs
diff options
context:
space:
mode:
authorJacob Palecki <[email protected]>2021-01-18 22:02:29 -0800
committerJacob Palecki <[email protected]>2021-01-18 22:02:29 -0800
commit4faf0007c7c551fae8fd25fc7a98767070cb9244 (patch)
tree9aec833ce5453ae853148c387410cb9b792c1e2e /grapher/Models/Charts/AccelCharts.cs
parentRefactor for new graph calculation method (diff)
downloadrawaccel-4faf0007c7c551fae8fd25fc7a98767070cb9244.tar.xz
rawaccel-4faf0007c7c551fae8fd25fc7a98767070cb9244.zip
Directional works
Diffstat (limited to 'grapher/Models/Charts/AccelCharts.cs')
-rw-r--r--grapher/Models/Charts/AccelCharts.cs11
1 files changed, 8 insertions, 3 deletions
diff --git a/grapher/Models/Charts/AccelCharts.cs b/grapher/Models/Charts/AccelCharts.cs
index b9f7a8b..2369432 100644
--- a/grapher/Models/Charts/AccelCharts.cs
+++ b/grapher/Models/Charts/AccelCharts.cs
@@ -2,9 +2,7 @@
using grapher.Models.Calculations.Data;
using grapher.Models.Charts;
using grapher.Models.Charts.ChartState;
-using grapher.Models.Serialized;
using System;
-using System.Drawing;
using System.Windows.Forms;
namespace grapher
@@ -27,7 +25,14 @@ namespace grapher
var estimatedX = new EstimatedPoints();
var estimatedY = new EstimatedPoints();
SetupCharts(sensitivityChart, velocityChart, gainChart, estimated, estimatedX, estimatedY);
- ChartStateManager = new ChartStateManager(sensitivityChart, velocityChart, gainChart, accelData, accelCalculator);
+ ChartStateManager = new ChartStateManager(
+ sensitivityChart,
+ velocityChart,
+ gainChart,
+ accelCalculator,
+ estimated,
+ estimatedY,
+ estimatedX);
ContainingForm = form;
EnableVelocityAndGain = enableVelocityAndGain;