Answered by:
Chart downloadable as image file

Question
-
User1660877916 posted
Hi,
I need to create an aspx page that generates a smooth line curve chart and this rendered/generated image is downloadable as an image file and can be stored in any location a user chooses. Does MS Chart can do that? How?
Dennis
Friday, January 29, 2010 2:43 AM
Answers
-
User-725797108 posted
Yes, MSCHART has a function which will export the graph as an image and can be saved at whatever location user wants.
StatusChart.SaveImage("Chart.jpg",ChartImageFormat.Jpeg)
Let me know if this helped.- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Monday, February 1, 2010 2:01 AM
All replies
-
User-725797108 posted
Yes, MSCHART has a function which will export the graph as an image and can be saved at whatever location user wants.
StatusChart.SaveImage("Chart.jpg",ChartImageFormat.Jpeg)
Let me know if this helped.- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Monday, February 1, 2010 2:01 AM -
User1660877916 posted
Thanks gaurav_majithia for the reply, I learned this yesterday when I am studying how to use the MS Chart, my problem now positioning the legend and placing text on y-axis and x-axis...
Monday, February 1, 2010 8:31 PM -
User-725797108 posted
What issue are you facing while placing text on axis?
Tuesday, February 2, 2010 1:32 AM -
User1660877916 posted
I have managed to add text on x-axis and y-axis of the line graph (spline) and place legend (2) at the bottom, now working on placing 2 legends side by side...
Tuesday, February 2, 2010 10:00 PM