summaryrefslogtreecommitdiff
path: root/grapher/Models/Charts/ChartState/XYTwoGraphState.cs
diff options
context:
space:
mode:
authorJacob Palecki <[email protected]>2020-09-22 14:01:05 -0700
committerJacob Palecki <[email protected]>2020-09-22 14:01:05 -0700
commit720a45289b2342c62eebb0e1cee3c4b88c9fe696 (patch)
tree19447d387a1f69eb16baebaf6b2fc97dda5b3709 /grapher/Models/Charts/ChartState/XYTwoGraphState.cs
parentRename experiment two to motivity (diff)
downloadrawaccel-720a45289b2342c62eebb0e1cee3c4b88c9fe696.tar.xz
rawaccel-720a45289b2342c62eebb0e1cee3c4b88c9fe696.zip
Scaling improvement, remove y data from xy combined
Diffstat (limited to 'grapher/Models/Charts/ChartState/XYTwoGraphState.cs')
-rw-r--r--grapher/Models/Charts/ChartState/XYTwoGraphState.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/grapher/Models/Charts/ChartState/XYTwoGraphState.cs b/grapher/Models/Charts/ChartState/XYTwoGraphState.cs
index 69dc335..b775853 100644
--- a/grapher/Models/Charts/ChartState/XYTwoGraphState.cs
+++ b/grapher/Models/Charts/ChartState/XYTwoGraphState.cs
@@ -65,6 +65,9 @@ namespace grapher.Models.Charts.ChartState
SensitivityChart.BindXY(Data.X.AccelPoints, Data.Y.AccelPoints);
VelocityChart.BindXY(Data.X.VelocityPoints, Data.Y.VelocityPoints);
GainChart.BindXY(Data.X.GainPoints, Data.Y.GainPoints);
+
+ SensitivityChart.SetMinMaxXY(Data.X.MinAccel, Data.X.MaxAccel, Data.Y.MinAccel, Data.Y.MaxAccel);
+ GainChart.SetMinMaxXY(Data.X.MinGain, Data.X.MaxGain, Data.Y.MinGain, Data.Y.MaxGain);
}
public override void Calculate(ManagedAccel accel, DriverSettings settings)