Mallikarjun Posted September 7, 2011 Report Share Posted September 7, 2011 Hello, I am trying to export the chart fx into an image file. Chart is exported and image is created. However, image is truncated as i am not able to figure out the exact hieght and width of the chart beigng generated. Is there a way to set width = "100%" to chartFx, so that exported image will show whole image. thanks in advance. Please let me know for further details. ~Arjun Quote Link to comment Share on other sites More sharing options...
karthic Posted July 27, 2012 Report Share Posted July 27, 2012 try this // Export chartSystem.IO.MemoryStream stream = new MemoryStream(); chart.ImgWidth = 700; chart.ImgHeight = 300; chart.ImgQuality = 100; chart.Export( FileFormat.Jpeg, stream); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.