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

High-Resolution Chart

1 Answer 94 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
M
Top achievements
Rank 1
M asked on 29 Oct 2010, 09:29 PM
I have a chart displayed but also want to give user option to view chart in high resolution.  How is that accomplished?
We are utilizing Web UI Components & Controls.

1 Answer, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 04 Nov 2010, 10:13 AM
Hello,

RadChart allows you to save an image with different resolution through the RadChart.GetBitmap() method using standard .NET API: http://msdn.microsoft.com/en-us/library/system.drawing.bitmap.setresolution.aspx.. Here is an example:
System.Drawing.Bitmap image = RadChart1.GetBitmap() as System.Drawing.Bitmap;  
image.SetResolution(300, 300);  
image.Save(@"C:\myimage.png");

All the best,
Evgenia
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Chart (Obsolete)
Asked by
M
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Share this question
or