Page 1 of 1

Issue With Exporting To JPEG

Posted: Thu Feb 03, 2011 2:41 am
by 15656232
Hello,

I am having an issue with exporting a chart to JPEG. The chart is on a form with another chart, and the form has a tab control and a splitter. The chart exports, but I cannot get the panel to display properly in the export. I have included a demo project that shows this issue.

Thank You,
Mark
WindowsFormsApplication1.zip
(46.21 KiB) Downloaded 253 times

Re: Issue With Exporting To JPEG

Posted: Thu Feb 03, 2011 10:46 am
by narcis
Hi Mark,

The problem is the line below at Form1.Designer.cs. Removing it solves the problem.

Code: Select all

          this.tChart2.Panel.Brush.Visible = false;

Re: Issue With Exporting To JPEG

Posted: Thu Feb 03, 2011 1:37 pm
by 15656232
Narcis,

Thank you very much for the quick reply. I did change this parameter and it solve the problem.

Mark