I have the following problem:
A graph with only one serie: a bar serie. This series has a lot of bars that needs to be scrolled.
When the series renders for the first time: the space beetween the bars is fine.
When I do the scrool using the following code:
chart1.BottomAxis.Scrool(1);
the space beetween the bars gets rid ( I mean: the bars are without spaces beetween adjacents bars).
This is a bad looking for the end user. Please help.
Thanks in advance,
Miguel Henley
Scrolling problems
Re: Scrolling problems
Hi Miguel
Not sure if this is what you mean. I've been scrolling my charts programatically. I use the following axes method:
If you're using datetimes for your x axis then the min/max needs to be datetimes of course. i.e. it's not an index it's the actual x values.
Hope that helps.
Regards
Mark
Not sure if this is what you mean. I've been scrolling my charts programatically. I use the following axes method:
Code: Select all
Chart1.Axes.Bottom.SetMinMax(1, 50);
Hope that helps.
Regards
Mark
Re: Scrolling problems
Hello Miguel,
I don't see any problem or any strange behavior with the code below. Could you please modify it or arrange a simple example project we can run as-is to reproduce the problem here?
I don't see any problem or any strange behavior with the code below. Could you please modify it or arrange a simple example project we can run as-is to reproduce the problem here?
Code: Select all
procedure TForm1.FormCreate(Sender: TObject);
begin
Chart1.View3D:=false;
Chart1.AddSeries(TBarSeries).FillSampleValues(100);
Chart1[0].Marks.Visible:=false;
end;
procedure TForm1.Button1Click(Sender: TObject);
begin
Chart1.Axes.Bottom.Scroll(1);
end;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Scrolling problems
Hello,
If you setup the property Points per Page you will see the problem.
The first image shows the graph when the application fires up (as suggested by your example).
The second image shows the graph after I press the Scroll button that trigger Chart1.Axes.Bottom.Scroll(1);
Please, see the images below:
Before Scroll:
After Scroll:
If you setup the property Points per Page you will see the problem.
The first image shows the graph when the application fires up (as suggested by your example).
The second image shows the graph after I press the Scroll button that trigger Chart1.Axes.Bottom.Scroll(1);
Please, see the images below:
Before Scroll:
After Scroll:
Re: Scrolling problems
Hello Miguel,
It still works fine for me here adding the following line to the TForm1.FormCreate in the example above:
I'm using TeeChart v2011.03. Are you using the latest TeeChart version?
It still works fine for me here adding the following line to the TForm1.FormCreate in the example above:
Code: Select all
Chart1.MaxPointsPerPage:=20;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Scrolling problems
I am using TeeChart version 8.05.
This is the license that I have for now.
Please, test it in version 8 - so you can see the problem.
Regards,
Miguel Henley
This is the license that I have for now.
Please, test it in version 8 - so you can see the problem.
Regards,
Miguel Henley
Re: Scrolling problems
Hello Miguel,
I've been able to reproduce it with v8.05 and v8.06 but it's not reproducible anymore for me here from v8.07.
Could you please try the v8.07 or the v8.08?
I've been able to reproduce it with v8.05 and v8.06 but it's not reproducible anymore for me here from v8.07.
Could you please try the v8.07 or the v8.08?
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |