Jump to content
Software FX Community

ChartFx Exported Image Dimensions

Recommended Posts

Mallikarjun    0


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.



Share this post

Link to post
Share on other sites
karthic    0

try this


// Export chartSystem.IO.MemoryStream stream = new MemoryStream();

chart.ImgWidth = 700;

chart.ImgHeight = 300;

chart.ImgQuality = 100;


FileFormat.Jpeg, stream);

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now