8 Answers, 1 is accepted
0
Hi James,
Yes, RadChart exposes a Save() method with three different overloads. You could export an image of your RadChart to a file or a Stream . Here is the code:
Greetings,
Velin
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Yes, RadChart exposes a Save() method with three different overloads. You could export an image of your RadChart to a file or a Stream . Here is the code:
RadChart1.Save(@"c:\savedchart.gif", System.Drawing.Imaging.ImageFormat.Gif); |
Greetings,
Velin
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
James
Top achievements
Rank 1
answered on 01 Jun 2009, 03:11 PM
Thanks! (Sorry for not spotting this, but my help file isn't working at the moment.)
0
Rob
Top achievements
Rank 1
answered on 22 Jun 2009, 02:34 PM
I cannot find any Save method exposed by RadChart. Has this method been removed from the chart interface?
0
Hi Rob,
Please, accept our apologies for this misunderstanding.
RadChart for Silverlight still does not support this functionality and the answer you have seen is about another RadChart product.
Regards, Velin
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Please, accept our apologies for this misunderstanding.
RadChart for Silverlight still does not support this functionality and the answer you have seen is about another RadChart product.
Regards, Velin
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
James
Top achievements
Rank 1
answered on 24 Jun 2009, 12:28 PM
Hi Velin,
This is something of a surprise. I'd just put saving graphs as graphics on the 'it does this' list and moved on. Is there no way for the user to save a graph as any kind of graphic then?
Thanks, James.
This is something of a surprise. I'd just put saving graphs as graphics on the 'it does this' list and moved on. Is there no way for the user to save a graph as any kind of graphic then?
Thanks, James.
0
Hello James,
I've made a mistake when answering your question, having in mind another RadChart product(such as RadChart for WPF). RadChart for Silverlight still does not support export to image due to limitations of the Silverlight platform.
Please, accept my apologies.
Sincerely,
Velin
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
I've made a mistake when answering your question, having in mind another RadChart product(such as RadChart for WPF). RadChart for Silverlight still does not support export to image due to limitations of the Silverlight platform.
Please, accept my apologies.
Sincerely,
Velin
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
James
Top achievements
Rank 1
answered on 26 Jun 2009, 12:48 PM
Hi Velin,
I can see how the mistake is easy to make! Is there a possible workaround? Maybe by using a library running on the server to create the graphic?
Best wishes, James.
I can see how the mistake is easy to make! Is there a possible workaround? Maybe by using a library running on the server to create the graphic?
Best wishes, James.
0
Hello James,
Unfortunately, there is no trivial way to save a visual element to image with Silverlight 2. The situation will change with the release of Silverlight 3 when a WritableBitmap API will be available. The Q3.2009 version of RadChart will be build with the Silverlight 3 runtime and most probably will expose this option through a SaveFileDialog.
Regards,
Velin
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Unfortunately, there is no trivial way to save a visual element to image with Silverlight 2. The situation will change with the release of Silverlight 3 when a WritableBitmap API will be available. The Q3.2009 version of RadChart will be build with the Silverlight 3 runtime and most probably will expose this option through a SaveFileDialog.
Regards,
Velin
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.