Incorrect bottom axis range for Error series
Posted: Fri May 08, 2015 9:44 am
I'm trying to add an Error series to a chart.
Here's a simple example:
However, the range of the bottom axis is changed from the specified values (0 ... 10 in this example) to some arbitrary values (-12.5 ... 22.5 in this case).
I need to use a fixed axis minimum/maximum in my application.
How can I get a correct behaviour of the bottom axis?
I'm using TeeChart v4.1.2015.3113
Here's a simple example:
Code: Select all
tChart1.Axes.Bottom.Automatic = false;
tChart1.Axes.Bottom.Minimum = 0.0;
tChart1.Axes.Bottom.Maximum = 10.0;
var error1 = new Steema.TeeChart.Styles.Error(tChart1.Chart);
error1.SideMargins = false;
error1.ErrorStyle = Steema.TeeChart.Styles.ErrorStyles.LeftRight;
error1.Add(1.0, 5.0, 0.5);
tChart1.Series.Add(error1);
I need to use a fixed axis minimum/maximum in my application.
How can I get a correct behaviour of the bottom axis?
I'm using TeeChart v4.1.2015.3113