New to Telerik UI for WinForms? Start a free 30-day trial
Export
Updated over 6 months ago
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
C#
string filePath = @"..\..\..\exprtedChart.png";
this.radChartView1.ExportToImage(filePath, this.radChartView1.Size, System.Drawing.Imaging.ImageFormat.Png);
Figure 1: Exported Chart

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.