i think this just happens with a log axis, if you just keep clicking on the down arrow it will eventually crash with an "OverflowException":
Code: Select all
Points p;
Line l;
public Form1()
{
InitializeComponent();
l = new Line(tChart1.Chart) { ShowInLegend = false };
l.FillSampleValues();
tChart1.Aspect.View3D = false;
tChart1.Panel.MarginRight = 6;
tChart1.Panel.MarginBottom = 6;
p = new Steema.TeeChart.Styles.Points(tChart1.Chart)
{
VertAxis = Steema.TeeChart.Styles.VerticalAxis.Right,
ShowInLegend = false,
Color = Color.Black,
Pointer =
{
Style = Steema.TeeChart.Styles.PointerStyles.Diamond,
HorizSize = 2,
VertSize = 2
}
};
tChart1.Axes.Right.Labels.Exponent = true;
tChart1.Axes.Right.Logarithmic = true;
tChart1.Axes.Right.MaximumOffset = 5;
tChart1.Axes.Right.MinimumOffset = 10;
tChart1.Axes.Right.AutomaticMaximum = true;
tChart1.Axes.Right.AutomaticMinimum = false;
tChart1.Axes.Right.Minimum = 1;
new AxisArrow(tChart1.Chart) { Active = true, Axis = tChart1.Axes.Right };
p.Add(0, 100);
p.Add(1, 90000);
p.Add(2, 90000);
p.Add(3, 90000);
p.Add(4, 90000);
p.Add(5, 90000);
p.Add(6, 90000);
p.Add(7, 100000);
p.Add(8, 1000000);
p.Add(9, 10000000);
p.Add(10, 100000000);
}
Chris