diff options
Diffstat (limited to 'grapher/Form1.cs')
| -rw-r--r-- | grapher/Form1.cs | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/grapher/Form1.cs b/grapher/Form1.cs index 50d6476..fb841e9 100644 --- a/grapher/Form1.cs +++ b/grapher/Form1.cs @@ -118,6 +118,7 @@ namespace grapher this, AccelerationChart, VelocityChart, + GainChart, managedAcceleration, accelerationOptions, sensitivity, @@ -148,6 +149,7 @@ namespace grapher this.AccelerationChart.ChartAreas[0].CursorX.IsUserEnabled = true; this.AccelerationChart.ChartAreas[0].CursorY.IsUserEnabled = true; + this.VelocityChart.ChartAreas[0].AxisX.RoundAxisValues(); this.VelocityChart.ChartAreas[0].AxisX.ScaleView.Zoomable = true; @@ -167,6 +169,25 @@ namespace grapher this.VelocityChart.ChartAreas[0].CursorX.IsUserEnabled = true; this.VelocityChart.ChartAreas[0].CursorY.IsUserEnabled = true; + + this.GainChart.ChartAreas[0].AxisX.RoundAxisValues(); + + this.GainChart.ChartAreas[0].AxisX.ScaleView.Zoomable = true; + this.GainChart.ChartAreas[0].AxisY.ScaleView.Zoomable = true; + + this.GainChart.ChartAreas[0].AxisY.ScaleView.MinSize = 0.01; + this.GainChart.ChartAreas[0].AxisY.ScaleView.SmallScrollSize = 0.001; + + this.GainChart.ChartAreas[0].CursorY.Interval = 0.001; + + this.GainChart.ChartAreas[0].CursorX.AutoScroll = true; + this.GainChart.ChartAreas[0].CursorY.AutoScroll = true; + + this.GainChart.ChartAreas[0].CursorX.IsUserSelectionEnabled = true; + this.GainChart.ChartAreas[0].CursorY.IsUserSelectionEnabled = true; + + this.GainChart.ChartAreas[0].CursorX.IsUserEnabled = true; + this.GainChart.ChartAreas[0].CursorY.IsUserEnabled = true; } #endregion Constructor |