Chart and widget controls can be saved as images in files. In order to use this export option you can add the next code to an event handler, for example:

chartViewer1.Chart.SaveAsImage("chart.bmp",
PerpetuumSoft.Framework.Drawing.PictureFormat.Bmp);

During debugging process this code automatically creates .bmp file which contains the chart image. You can define another file image format: jpg, gif, etc.

Also you can call the Export dialog:

In order to do this use the next code in an event handler:

 chartViewer1.SaveAsImageDialog(); 

Add Feedback