Eranga Perera
Eranga Perera

Reputation: 938

How generate charts from data set and save as image?

I need to generate pie charts, column charts ,bar charts according to given data set in server side and save them as image. I could add data set to excel sheet and generate chart in a excel sheet and export as image . Other than that method are there any freely available c# libraries to generate charts and save as image ?

Upvotes: 1

Views: 892

Answers (1)

Enigmativity
Enigmativity

Reputation: 117064

You can use the System.Windows.Forms.DataVisualization.Charting.Chart class in the System.Windows.Forms.DataVisualization.dll to generate charts.

Then use the SaveImage method to, well, save the image.

Upvotes: 3

Related Questions