Exporting plotmodel to xml file

Oystein Bjorke vor 5 Jahren 0
This discussion was imported from CodePlex

meenakshi07 wrote at 2012-11-05 09:45:


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 ?




objo wrote at 2012-11-06 19:44:

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...