Black images on export
Posted: 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.
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
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é
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);
Thanx,
André