Black images on export

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
AndreAtDeltares
Newbie
Newbie
Posts: 7
Joined: Fri May 25, 2007 12:00 am
Location: Delft
Contact:

Black images on export

Post by AndreAtDeltares » Mon Apr 28, 2008 11:38 am

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é

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

Post by Narcís » Mon Apr 28, 2008 1:08 pm

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.
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

AndreAtDeltares
Newbie
Newbie
Posts: 7
Joined: Fri May 25, 2007 12:00 am
Location: Delft
Contact:

Post by AndreAtDeltares » Mon Apr 28, 2008 2:14 pm

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é

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

Post by Narcís » Mon Apr 28, 2008 2:15 pm

Hi André,

Thanks for the information. I'm glad to hear that :wink:.
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