Profile Picture

Exception while saving chart into stream

Posted By Naveen Anne 11 Years Ago
Author
Message
Naveen Anne
Posted 11 Years Ago
View Quick Profile
Junior Member

Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)

Group: Forum Members
Last Active: 8 Years Ago
Posts: 13, Visits: 10
Hi There,

I'm getting the following exception while converting my graph into stream.

"The Chart document is not connected to a view."

Below is the code I've used to do that
MemoryStream memStream = new MemoryStream();
NChartControl1.ImageExporter.SaveToStream(memStream,new NJpegImageFormat());

Please let me know how to resolve this issue.

Thanks,
Naveen Anne.




Similar Topics


Reading This Topic