We are facing issue while exporting RadChart to Image Using
this.rdChartGraph.ExportToImage(isoStream);
The stack trace is follows:
at Telerik.Windows.Media.Imaging.Zip.DeflateManager.Tally(Int32 dist, Int32 lc)
at Telerik.Windows.Media.Imaging.Zip.DeflateManager.ProcessSlowDeflate(Int32 flush, Int32& num)
at Telerik.Windows.Media.Imaging.Zip.DeflateManager.SlowDeflate(Int32 flush)
at Telerik.Windows.Media.Imaging.Zip.DeflateManager.Deflate(ZipBaseStream strm, Int32 flush)
at Telerik.Windows.Media.Imaging.Zip.ZipBaseStream.Deflate(Int32 flush)
at Telerik.Windows.Media.Imaging.Zip.ZipOutputStream.FinishWriting()
at Telerik.Windows.Media.Imaging.Zip.ZipOutputStream.Close()
at System.IO.Stream.Dispose()
at Telerik.Windows.Media.Imaging.PngBitmapEncoder.WriteDataChunks()
at Telerik.Windows.Media.Imaging.PngBitmapEncoder.Encode(WriteableBitmap image)
at Telerik.Windows.Media.Imaging.PngBitmapEncoder.Save(Stream stream)
at Telerik.Windows.Media.Imaging.ImageExporter.Export(FrameworkElement element, Stream stream, BitmapEncoder encoder)
at Telerik.Windows.Media.Imaging.ExportExtensions.ExportToImage(FrameworkElement element, Stream stream, BitmapEncoder encoder)
at Telerik.Windows.Controls.RadChart.ExportToImage(Stream stream)
Your prompt help would be appreciated.
Thanks.
Fanindra
this.rdChartGraph.ExportToImage(isoStream);
The stack trace is follows:
at Telerik.Windows.Media.Imaging.Zip.DeflateManager.Tally(Int32 dist, Int32 lc)
at Telerik.Windows.Media.Imaging.Zip.DeflateManager.ProcessSlowDeflate(Int32 flush, Int32& num)
at Telerik.Windows.Media.Imaging.Zip.DeflateManager.SlowDeflate(Int32 flush)
at Telerik.Windows.Media.Imaging.Zip.DeflateManager.Deflate(ZipBaseStream strm, Int32 flush)
at Telerik.Windows.Media.Imaging.Zip.ZipBaseStream.Deflate(Int32 flush)
at Telerik.Windows.Media.Imaging.Zip.ZipOutputStream.FinishWriting()
at Telerik.Windows.Media.Imaging.Zip.ZipOutputStream.Close()
at System.IO.Stream.Dispose()
at Telerik.Windows.Media.Imaging.PngBitmapEncoder.WriteDataChunks()
at Telerik.Windows.Media.Imaging.PngBitmapEncoder.Encode(WriteableBitmap image)
at Telerik.Windows.Media.Imaging.PngBitmapEncoder.Save(Stream stream)
at Telerik.Windows.Media.Imaging.ImageExporter.Export(FrameworkElement element, Stream stream, BitmapEncoder encoder)
at Telerik.Windows.Media.Imaging.ExportExtensions.ExportToImage(FrameworkElement element, Stream stream, BitmapEncoder encoder)
at Telerik.Windows.Controls.RadChart.ExportToImage(Stream stream)
Your prompt help would be appreciated.
Thanks.
Fanindra