Page 1 of 1

TChart8 painting regression when resizing

Posted: Thu Oct 11, 2007 9:49 am
by 9343832
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

Posted: Thu Oct 11, 2007 10:03 am
by yeray
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.

Posted: Fri Oct 12, 2007 7:52 am
by 9343832
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

Posted: Mon Oct 15, 2007 9:39 am
by yeray
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?

Posted: Tue Oct 16, 2007 6:05 am
by 9343832
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

Posted: Tue Oct 16, 2007 7:59 am
by narcis
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.

Posted: Wed Oct 17, 2007 10:00 am
by 9343832
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

Posted: Wed Oct 17, 2007 10:18 am
by narcis
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.

Posted: Wed Oct 17, 2007 12:05 pm
by 9343832
Hi Narcis,

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

-ToniK

Posted: Wed Oct 17, 2007 12:35 pm
by narcis
Hi ToniK,

You're welcome! I'm glad to hear the problem has been solved at your end.