summaryrefslogtreecommitdiff
path: root/grapher/Models/Charts/AccelCharts.cs
diff options
context:
space:
mode:
authorJacob Palecki <[email protected]>2020-09-07 20:30:15 -0700
committerJacob Palecki <[email protected]>2020-09-07 20:30:15 -0700
commit1462da675f1bc36d2a770413f13ccc68165cf1e9 (patch)
treeb2636b1455668b42121ffb1133034ed2b30ce672 /grapher/Models/Charts/AccelCharts.cs
parentFix some separation bugs (diff)
downloadrawaccel-1462da675f1bc36d2a770413f13ccc68165cf1e9.tar.xz
rawaccel-1462da675f1bc36d2a770413f13ccc68165cf1e9.zip
Add chart resize
Diffstat (limited to 'grapher/Models/Charts/AccelCharts.cs')
-rw-r--r--grapher/Models/Charts/AccelCharts.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/grapher/Models/Charts/AccelCharts.cs b/grapher/Models/Charts/AccelCharts.cs
index 5e4b3de..6d9f0a1 100644
--- a/grapher/Models/Charts/AccelCharts.cs
+++ b/grapher/Models/Charts/AccelCharts.cs
@@ -132,6 +132,22 @@ namespace grapher
}
}
+ public void SetWidened()
+ {
+ SensitivityChart.SetWidened();
+ VelocityChart.SetWidened();
+ GainChart.SetWidened();
+ UpdateFormWidth();
+ }
+
+ public void SetNarrowed()
+ {
+ SensitivityChart.SetNarrowed();
+ VelocityChart.SetNarrowed();
+ GainChart.SetNarrowed();
+ UpdateFormWidth();
+ }
+
private void OnEnableClick(object sender, EventArgs e)
{
EnableVelocityAndGain.Checked = !EnableVelocityAndGain.Checked;