This is a migrated thread and some comments may be shown as answers.

Export chart

1 Answer 59 Views
Chart
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 27 Jul 2011, 01:18 PM
Hi,

I wanna export a chart of mine to a Memory Stream, but need it in a specific size.
I looked at this thread: http://www.telerik.com/community/forums/silverlight/chart/how-to-save-a-chart-as-image-with-a-fixed-size.aspx
but in my opinion it seems very complicated to do such simple thing.
Is that the only way? Or is there somehow I could do something like this:
int height = 600;
int width = 800;
var stream = RadChart1.Save(height, width);

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 01 Aug 2011, 07:10 AM
Hello John,

Presently, there are no other options to handle the desired functionality. Another option which you can consider is setting a fixed size for the control initially. This will export the chart without any additional code. Other than this, you can use code like the one posted in the thread which you mentioned.

Best wishes,
Yavor
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>
Tags
Chart
Asked by
John
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or