Hi,
I'm using the RadChartView, but guess this issue relates to any control, so am posting here.
I'm using the ExportExtensions.ExportToImage to save the chart to disk. However, it's not exactly publication quality. Is there a way of increasing the resolution on export? I'll paste below the code I'm using.
Thanks, James.
SaveFileDialog dialog = new SaveFileDialog();
dialog.DefaultExt = "*.png";
dialog.Filter = "Files(*.png)|*.png";
if (!(bool)dialog.ShowDialog())
return;
Telerik.Windows.Media.Imaging.PngBitmapEncoder enc = new Telerik.Windows.Media.Imaging.PngBitmapEncoder();
using (Stream fileStream = dialog.OpenFile())
{
if (CircularGraphCrosstabs.Visibility == System.Windows.Visibility.Visible)
Telerik.Windows.Media.Imaging.ExportExtensions.ExportToImage(CircularGraphCrosstabs, fileStream, enc);
else
Telerik.Windows.Media.Imaging.ExportExtensions.ExportToImage(GridCrosstabsChart, fileStream, enc);
}