0

I'm just now getting familiar with the .NET chart controls. I'd like to know if I can save the contents of a chart as a .jpg or similar file on the server.

I would like to be able to have the user download the file or display it to the user in a non-.net page.

I think it should be possible to do this. How?

abatishchev
  • 98,240
  • 88
  • 296
  • 433
Vivian River
  • 31,198
  • 62
  • 198
  • 313

2 Answers2

1

Look at Chart.SaveImage

Dirk Brockhaus
  • 4,922
  • 3
  • 38
  • 47
0

use this in asp:chart

ImageStorageMode="UseImageLocation" ImageLocation="~/your server path"

ImageType ="Png"

server path example:~/Images/TempImages/compare

compare is the name of image

Chenthil
  • 296
  • 4
  • 9