We have an issue when trying to set the maximum value for the left axis.
This is my code snippet:
Code: Select all
chartToTest.Aspect.View3D = false;
chartToTest.Axes.Left.AutomaticMaximum = false;
chartToTest.Axes.Left.Maximum = 1400;
Steema.TeeChart.Styles.Bar bar = new Steema.TeeChart.Styles.Bar(chartToTest.Chart);
bar.MarksOnBar = true;
bar.Add(1, 1000);
bar.Add(2, 1200);
bar.Add(3, 900);
bar.Add(4, 800);
But, if you take a look to the chart in the attached screenshot, you can see that the maximum is 1550.
What can I do to have the maximum set to 1400.
Thanks in advance,
Marijke Van Bergen