MaxPointsPerPage issue

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Steffan
Newbie
Newbie
Posts: 2
Joined: Wed Aug 31, 2005 4:00 am
Location: Montreal, Canada

MaxPointsPerPage issue

Post by Steffan » Wed Sep 07, 2005 1:41 am

Hi there!

I'm using the Teechart version 7.05 and I've got two issues when I use the MaxPointsPerPage property.

Issue #1: When I set MaxPointsPerPage to 2, the columns on each page come out really weird. As if they are stacked one upon the other.

Issue #2: If on the last page, I have only one point remaining, I can see two points being painted but again, it doesn't quite look right. I have a I've read elsewhere that this is a documented bug in TeeChart that is fixed in version 7 but I still have this problem.

Any ideas on how to get around these problems?

Regards,

Steffan

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Sep 07, 2005 8:28 am

Hi Steffan,
Issue #1: When I set MaxPointsPerPage to 2, the columns on each page come out really weird. As if they are stacked one upon the other.
I've been able to reproduce that and added this bug to our defect list to be fixed for future releases. In the meantime, a workaround, is setting BarWidthPercent to a value lower thant the default 70%, i.e.:

Code: Select all

  Series1.BarWidthPercent:=65;
Issue #2: If on the last page, I have only one point remaining, I can see two points being painted but again, it doesn't quite look right. I have a I've read elsewhere that this is a documented bug in TeeChart that is fixed in version 7 but I still have this problem.


I haven't been able to reproduce that. Could you please extend on that telling us the exact steps to reproduce the issue or sending an example we can run "as-is" or a code snippet so that we can reproduce the problem here?

You can post your files at [url]news://www.steema.net/steema.public.attachments[/url] newsgroup.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Steffan
Newbie
Newbie
Posts: 2
Joined: Wed Aug 31, 2005 4:00 am
Location: Montreal, Canada

Post by Steffan » Thu Sep 08, 2005 10:08 am

Hi Narcis!
I've been able to reproduce that and added this bug to our defect list to be fixed for future releases. In the meantime, a workaround, is setting BarWidthPercent to a value lower thant the default 70%,
Thanks! This fixes both problems for me if I set BarWidthPercent to 50%. I can live with that.

I've tried building a separate demo application to reproduce issue #2 but unfortunately, that application works flawlessly for me. It's my main application that did not seem to refresh properly until I changed the BarWidthPercent. Basically, I had 5 points in my chart and I set the MaxPointsPerPage to 4. When I changed to the second page, the refresh was messed up.

Thanks for your help as this resolves the issue for me for now!

Steffan

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Sep 08, 2005 2:31 pm

Hi Steffan,

I'm glad to hear that's enough for your needs. Regarding the second issue, I tried to reproduce it as you reported without success. If you find any specific proceeding on how to reproduce it please let us know.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply