Profile Picture

Save chart

Posted By Ignacio Mendiguren 11 Years Ago
Author
Message
Ignacio Mendiguren
Posted 11 Years Ago
View Quick Profile
Junior Member

Junior Member (20 reputation)Junior Member (20 reputation)Junior Member (20 reputation)Junior Member (20 reputation)Junior Member (20 reputation)Junior Member (20 reputation)Junior Member (20 reputation)Junior Member (20 reputation)Junior Member (20 reputation)

Group: Forum Members
Last Active: 11 Years Ago
Posts: 20, Visits: 1
Hi,

Is there a way to save a chart to a stream or file?

Thanks,

IM

Nevron Support
Posted 11 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009

Hi Ignacio,

Yes you can save the control to a file or stream - the following code snippets show how to achieve this:

nChartControl1.Serializer.SaveControlStateToFile("C:\\SOMEFILE.TMP", Serialization.PersistencyFormat.Binary, null);

MemoryStream stream = new MemoryStream();
nChartControl1.Serializer.SaveControlStateToStream(stream, Serialization.
PersistencyFormat.Binary, null);

You can also take a look at All Examples\Serialization as well as in the documentation:

http://helpdotnetvision.nevron.com/UsersGuide_Serialization_Serializing_the_Control_State.html

That describes the serialization support in detail. Let us know if you have any questions.



Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic