Edit this page


RadChartView supports export to image functionality.

You can export the RadChartVew content by using one of the following overloads of the ExportToImage method:

  • ExportToImage(Stream stream, Size size)

  • ExportToImage(Stream stream, Size size, ImageFormat imageFormat)

  • ExportToImage(string filePath, Size size)

  • ExportToImage(string filePath, Size size, ImageFormat imageFormat)

Export to Image

string filePath = @"..\..\..\exprtedChart.png";
this.radChartView1.ExportToImage(filePath, this.radChartView1.Size, System.Drawing.Imaging.ImageFormat.Png);

Dim filePath As String = "..\..\..\exprtedChart.png"
Me.RadChartView1.ExportToImage(filePath, Me.RadChartView1.Size, System.Drawing.Imaging.ImageFormat.Png)

Figure 1: Exported Chart

chartview-features-export 001


If you need to export the chart data to a document, you can use a RadDocument and insert the exported image into it. Afterwards, you can use the RadRichTextEditor 's export functionality.

See Also

Was this article helpful? Yes No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article