Exporting plotmodel to xml file

Nov 5, 2012 at 9:45 AM


I would like to know how can I export details of the plotmodel (like axis collection, lineseries collection with its configuration like color gridlines etc and the data/datapoint collection)  to a xml file.

I tried using xml serialization but since plotmodel uses generics and dictionaries thus unable to do so.

Could you please help ?




Nov 6, 2012 at 7:44 PM
Edited Nov 6, 2012 at 7:44 PM

I think this should be covered by http://oxyplot.codeplex.com/workitem/9986

But I don't recommend serializing the PlotModel directly - I will not guarantee backwards compatibility in the future...