Jump to content
Software FX Community
Mallikarjun

ChartFx Exported Image Dimensions

Recommended Posts

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 

 

Share this post


Link to post
Share on other sites

try this

 

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

chart.ImgWidth = 700;

chart.ImgHeight = 300;

chart.ImgQuality = 100;

chart.Export(

FileFormat.Jpeg, stream);

Share this post


Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...