Pre loader

How to customise a graph and save it in order to reuse as custom template

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

0
0

Dear all,

I just try to evaluate your tool for a customer project which will start soon and need to see if SciChart is allowing customer request.

One of the request is as below :

The idea is to offer the user of our app to see a list of graph that can be used.
From this list of graph the user can select a default graph to see his data
Then an other possibility is that starting from a default graph template, user could change parameter setting of the selected graph and save it to a new custom graph name he can reuse afterwards.

Is this something possible ?
If yes how to save that new graph settings and recall it ?

Thanks for your help and advise on this

regards

Version
4
  • You must to post comments
0
0

We have something like this called Serialization. It is possible to save the graph state (not data but the state such as RenderableSeries, Axis, Properties, Themes, whether Tooltip is enabled etc etc).

To do this, simply XML Serialize the chart.

Then, with your XML you can deserialize onto another chart.

Best regards,
Andrew

  • You must to post comments
0
0

Thanks andrew.
I understand the point of serialization but do not understand what do you mean by deserialize into an other chart..

let say that I am using the Scatter chart default setting.
Then user manipulate the chart by zooming in, changing some colors etc…

Then I serialize this chart into an XML file named myScatter.xml. So by this I understood that all chart properties and current settings gets capture and saved ( kind of chart state)

Now what i do not understand is that, if my customer would like to use the scatter chart with its previous settings, how does it work ?

Do I need to load the chart Scatter as normal and then overwrite the chart object by setting in XML file ?

Any sample would help

regards

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies