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:SciChartSurface.RenderableSeries>
<s:FastLineRenderableSeries x:Name="PositionSeries" StrokeThickness="2"/>
</s:SciChartSurface.RenderableSeries>
<s:SciChartSurface.XAxis>
<s:DateTimeAxis x:Name="PositionXAxis" TextFormatting="mm:ss"/>
</s:SciChartSurface.XAxis>
.
.
XyDataSeries<DateTime, double> _positionSeries;
PositionSeries.DataSeries = _positionSeries;
.
.
- Dan Pilat asked 8 years ago
- You must login 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,
Yuriy
- Yuriy Zadereckii answered 8 years ago
- Thanks Yuriy that did it.
- You must login to post comments
Please login first to submit.