Pre loader

How to save annotations?

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

Greetings, I wonder if is it any way to save the annotations that I do in the charts?
Because when I leave the chart the annotations gone.

Version
2.1.0.2210
  • You must to post comments
0
0

Hi Kevin,

Unfortunately we don’t support serialization of chart in SciChart Android for now.

So you’ll need to save and restore chart state on your own. For example you can save which is required for recreation of chart into Bundle. Or if you use MVVM you can save annotation collection into ViewModel and don’t destroy it when you close activity/fragment which contains chart.

Hope this will help you!

Best regards,
Yura

  • You must to post comments
Showing 1 result
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