Page 1 of 1

MaxPointsPerPage issue

Posted: Wed Sep 07, 2005 1:41 am
by 9040188
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

Posted: Wed Sep 07, 2005 8:28 am
by narcis
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.

Posted: Thu Sep 08, 2005 10:08 am
by 9040188
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

Posted: Thu Sep 08, 2005 2:31 pm
by narcis
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.