Hello Steema,
When I create a chart with bars in both positive and negative directions, the y-axis origo gets misplaced. This can be fixed by adjusting y-axis scale maximum offset (???). I am using version 7.0.7 with Delphi 2006.
Is there a workaround or will this problem get fixed in the next version ?
Best regards,
Lasse Koskinen
Bar y-axis origo misplaced when positive and negative bars
-
- Newbie
- Posts: 2
- Joined: Fri Jan 07, 2005 5:00 am
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Lasse,
I'm not able to reproduce the issue here dropping a TChart in a form and using the code below. Could you please modify it or 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.
I'm not able to reproduce the issue here dropping a TChart in a form and using the code below. Could you please modify it or 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.
Code: Select all
uses Series;
procedure TForm1.FormCreate(Sender: TObject);
var i: Integer;
Series1: TBarSeries;
begin
Series1:=TBarSeries.Create(self);
Chart1.AddSeries(Series1);
Series1.YOrigin:=0;
Series1.UseYOrigin:=true;
for i:=-5 to 5 do Series1.Add(i);
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 |