Hello,
I use TeeChart Pro 8.02. I have a PointSeries with minimum Y value 0.50 and maximum Y value 14.40. The PointSeries left axis is Left only and also the automatic property is set to true. If I only add the PointSeries into the chart everything works fine but if I add another ErrorSeries (where the Y values are taken from the PointSeries) the left axis scales are changed in a dramatic way (minimum set to -23 and maximum set to 50 aprox.). The ErrorSeries appears fine on the chart but I cannot figure out why the scales change so much... Any recommendations?
Regards
TErrorSeries and Automatic left Axis
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi johnnix,
I'm not able to reproduce the problem here. Could you please send us a simple example project we can run "as-is" to reproduce the problem here?
You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
Thanks in advance.
I'm not able to reproduce the problem here. Could you please send us a simple example project we can run "as-is" to reproduce the problem here?
You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi johnnix,
You have 2 options here:
1. Manually set left axis scales:
2. You can create a custom vertical axis for Series2 and make Left axis not visible.
You have 2 options here:
1. Manually set left axis scales:
Code: Select all
procedure TForm1.Button1Click(Sender: TObject);
begin
series1.AddXY(10,1);
series1.AddXY(20,2.5);
series2.AddErrorBar(10,1,2);
series2.AddErrorBar(20,2.5,1);
Chart1.Axes.Left.SetMinMax(0,series1.YValues.MaxValue);
end;
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |