TChart8 painting regression when resizing

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
ToniK
Newbie
Newbie
Posts: 13
Joined: Mon Oct 17, 2005 4:00 am

TChart8 painting regression when resizing

Post by ToniK » Thu Oct 11, 2007 9:49 am

Hi!

We noticed a small but annoying painting regression while updating from TChart 7 to TChart 8.

In our software it is possible to resize charts. When chart's new size is larger than previous one, the chart won't fill the whole paint area. There is visible horizontal and vertical line which are not drawn with the chart's background color. These lines are only one pixel wide. It looks like resized chart would be one pixel too small either horizontally or/and vertically. When resizing to smaller size, these lines are not visible.

ToniK

Yeray
Site Admin
Site Admin
Posts: 9602
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Post by Yeray » Thu Oct 11, 2007 10:03 am

Hi ToniK,

I haven't been able to reproduce it in a simple chart with a PointSeries and HorizontalBars to resize the chart or aligning the chart to the form and resizing the form. Probably you're using a tool or something else that causes the problem.

So please, could you send us a simple example project we can run "as-is" to reproduce the problem here?
You can either post your files at [url]news://www.steema.net/steema.public.attachments[/url] newsgroup or at our upload page.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

ToniK
Newbie
Newbie
Posts: 13
Joined: Mon Oct 17, 2005 4:00 am

Post by ToniK » Fri Oct 12, 2007 7:52 am

Hi Yeray,

I have recreate the problem in very simple way. We use TPaintBox to show charts and we call TChart.Draw to paint chart on the paint box.

I uploaded a small test program as you requested.

ToniK

Yeray
Site Admin
Site Admin
Posts: 9602
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Post by Yeray » Mon Oct 15, 2007 9:39 am

Hi ToniK,

Thank you very much for the project.

We could run it here but we can't see any difference resizing the application with v7 or v8. Could you please tel us more accurately where we have to look at?
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

ToniK
Newbie
Newbie
Posts: 13
Joined: Mon Oct 17, 2005 4:00 am

Post by ToniK » Tue Oct 16, 2007 6:05 am

Hi Yeray,

You are right that my example wasn't very clear. I made some changes and uploaded the updated example to you. There is also a screenshot of the problem so you can see more accurately where to look.

I haven't tested the example with TChart7 but the visual problem appeared in out software when we tried to upgrade to TChart8. It's very similar than is shown in the example. I hope you could fix this as soon as possible, so we could take TChart8 in to use.

Thank you for your help,
ToniK

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

Post by Narcís » Tue Oct 16, 2007 7:59 am

Hi ToniK,

Thanks for the new project. I've been able to reproduce the problem here using your .exe but works fine here using our current v8 sources so you may expect this being fixed in the next maintenance release.

I'd recommend you to be aware at this forum for new release announcements.
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

ToniK
Newbie
Newbie
Posts: 13
Joined: Mon Oct 17, 2005 4:00 am

Post by ToniK » Wed Oct 17, 2007 10:00 am

Hi Narcis,

This is great news for us. Can you give us rough estimate about when can we expect the next maintenance release? In following weeks, months or early next year?

ToniK

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 Oct 17, 2007 10:18 am

Hi ToniK,

I can't give you an estimate date at the moment. However, being a sourcecode customer, I'll send you the URL to download our latest source so that you can install them using TeeRecompile tool, provided with the source code installation, and check if it works fine at your 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
Image Image Image Image Image Image
Instructions - How to post in this forum

ToniK
Newbie
Newbie
Posts: 13
Joined: Mon Oct 17, 2005 4:00 am

Post by ToniK » Wed Oct 17, 2007 12:05 pm

Hi Narcis,

I tested with sources you sent us. They worked fine and the problem was gone. Thank you for help!

-ToniK

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 Oct 17, 2007 12:35 pm

Hi ToniK,

You're welcome! I'm glad to hear the problem has been solved at your 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
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply