Pre loader

LabelProvider DateTime - Need hint

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

Answered
0
0

Hi

I would like to modify the DateTimeAxis to have the date shown static below the time.
Currently I can’t figure out how to code something like that.

The basic idea is to have the date label

a) on the left and right of the date axis and moving with midnight
b) as bar below the time stamp

Is it possible to modify the DateTimeAxis to achieve both use cases?

To visualize, what I’m trying to achieve find some mocks below (neglect the time, midnight just moved to 18:19:30 :-))

Version
5.4
Images
  • You must to post comments
Great Answer
0
0

Hi Martin,

Thank you for your question.
It’s not possible with DateTimeAxis but you can try using DoubleScaleDiscontinuousDateTimeAxis. Please take a look at our example at SciChart.Wpf.Examples GitHub repository:
https://github.com/ABTSoftware/SciChart.Wpf.Examples/tree/master/v5.x/Sandbox/UsefulExamples/Examples/DoubleScaleDiscontinuousDateTimeAxis

Please also see a screenshot attached below.

  • Martin Hanke
    Hi, thanks alot! this looks like exactly what I was trying to achieve. Need to adopt it to my project, but I think this is doable with your referenced example. Thanks alot
  • Oleksandr Shvets
    Hi Martin, Thanks for your reply. I’m glad this helps! If you have any further questions please feel free to ask.
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.