Page 1 of 1

Black images on export

Posted: Mon Apr 28, 2008 11:38 am
by 13045423
Using Teechart .Net 3.2.2868.26903, I get a totally black image when exporting after switching tabs. :evil:

The chart is on a DotNetbar tab. The app opens with another tab selected, if I export at that stage, the picture looks fine, after selecting the tab with the chart, the export produces a black image (even so after switching back to the first tab). Code looks like

Code: Select all

            teeChart.Footer.Visible = true;
            teeChart.Export.Image.JPEG.Quality = 100;
            teeChart.Export.Image.JPEG.Width = 700;
            teeChart.Export.Image.JPEG.Height = 500;
            teeChart.Refresh();
            teeChart.Export.Image.JPEG.Save(strPath);
After the export, the footer is visible, so I am sure I am updating/exporting the correct chart. The same happens with PNG, GIF, etc. Anyone a clue to what may go wrong?

Thanx,

André

Posted: Mon Apr 28, 2008 1:08 pm
by narcis
Hi André,

First of all, please notice there's a much newer version of TeeChart for .NET v3 release available at the client area.

Could you please check if the issue also happens with a System.Windows.Forms.TabControl and if so send us a simple example project we can run "as-is" to reproduce the problem here?

You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.

Thanks in advance.

Posted: Mon Apr 28, 2008 2:14 pm
by 13045423
Hi Narcis,

The bad news is the symptoms were also present when using a System.Windows.Forms.TabControl. The good news is updating to version 3.2.3016.15521 solved the problem.

Thanx,

André

Posted: Mon Apr 28, 2008 2:15 pm
by narcis
Hi André,

Thanks for the information. I'm glad to hear that :wink:.