summaryrefslogtreecommitdiff
path: root/grapher/Models/Charts/ChartState/CombinedState.cs
diff options
context:
space:
mode:
Diffstat (limited to 'grapher/Models/Charts/ChartState/CombinedState.cs')
-rw-r--r--grapher/Models/Charts/ChartState/CombinedState.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/grapher/Models/Charts/ChartState/CombinedState.cs b/grapher/Models/Charts/ChartState/CombinedState.cs
index 17cd68a..f4b6b8f 100644
--- a/grapher/Models/Charts/ChartState/CombinedState.cs
+++ b/grapher/Models/Charts/ChartState/CombinedState.cs
@@ -36,6 +36,8 @@ namespace grapher.Models.Charts.ChartState
SensitivityChart.Bind(Data.Combined.AccelPoints);
VelocityChart.Bind(Data.Combined.VelocityPoints);
GainChart.Bind(Data.Combined.GainPoints);
+ SensitivityChart.SetMinMax(Data.Combined.MinAccel, Data.Combined.MaxAccel);
+ GainChart.SetMinMax(Data.Combined.MinGain, Data.Combined.MaxGain);
}
public override void Calculate(ManagedAccel accel, DriverSettings settings)