Here is a small example:
RadChart chart =
chart.DefaultType = Telerik.Charting.ChartSeriesType.Line;
RadChart is never added to the form, but it is only used to generate the output image. You can find a more complex example of creating RadChart in code here
. Once you have it configured and populated, you can call the Save
method to export the chart to an image.
the Telerik team