Pre loader

Annotation X as DateTime value

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

Hi;

Hi use stock chart and my X axis type is an DateTime.
Then when I draw some annotation, I would like to they annotaions have a DateTime x axis Value.
How can I make it by default please?

regards

Version
4
  • You must to post comments
1
0

Hi there,

Please take a look at these examples from our examples suite that demonstrate annotations with DateTimeAxis:
https://www.scichart.com/wpf-export-screenshot-options-chart/
https://www.scichart.com/wpf-chart-example-trade-markers/

Both examples set X coordinates (DateTime) in code, but you can do the same in XAML.

Hope this helps! Please let us know if you have any troubles with this,

  • Denis Denis
    Can I only use ticks format (636541660481100668) ? Human date format I can’t write?
  • You must to post comments
0
0

In fact, I already use DateTime axis in XAML code.
The problème is, when I draw manualy some annotation, X value are considered as number value.
Then if I change the main series value, annotations don’t stay on datetime value, but moved :/

  • 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