Pre loader

Space major ticks 1 second apart with DateTimeAxis

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


I’m using a DateTimeAxis and by default major tick lines (and labels) are shown every 1/2 second – this is too busy/crowded for me. How do I change this to show a label every second? I set AutoTicks to false, but am not sure what to do about MajorDelta/MinorDelta when my X value is a DateTime object.

   <s:FastLineRenderableSeries x:Name="PositionSeries" StrokeThickness="2"/>

   <s:DateTimeAxis x:Name="PositionXAxis" TextFormatting="mm:ss"/>
XyDataSeries<DateTime, double> _positionSeries;
PositionSeries.DataSeries = _positionSeries;
  • You must to post comments

Hi Dan,

Thanks for your question. DateTimeAxis and TimeSpanAxis expect MajorDelta, MinorDelta to be of the TimeSpan type.

Hope this helps!

Best regards,

  • Dan Pilat
    Thanks Yuriy that did it.
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.