Pre loader

Trouble formatting milliseconds

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,
I’m evaluating SciCharts at the moment and so far it looks very promising.
However I have found I can’t get the chart to display millisecond formatting.
This is how I’m setting up the X axis, but it never shows ms values.

                <SciChart:DateTimeAxis TextFormatting="hh:mm:ss:fff" DrawMinorTicks="True"
                                       Margin="10,10,10,10" AxisTitle="Time (hh:mm:ss)"
                                        AutoRange="Always">
                    <SciChart:DateTimeAxis.GrowBy>
                        <SciChart:DoubleRange Min="0.1" Max="0.1"/>
                    </SciChart:DateTimeAxis.GrowBy>
                </SciChart:DateTimeAxis>

My data has about 100 readings per second, but needs to be able to vary that to maybe 1 reading per minute for a matter of days (therefore the X axis needs to show Hours,Minutes,Seconds and milliseconds)
Thanks in advance

  • You must to post comments
0
0

Hi there, and thanks for your enquiry!

Ok I took a look at the MSDN docs, and I think the format needs to be hh:mm:ss.fff, not hh:mm:ss:fff.

Can you try this change and let me know if it works?

Best regards,
Andrew

  • ajt
    • ajt
    • 11 years ago
    Hi, Thanks for taking time to look at this - yes it was my mistake putting in :fff and not .fff - I think I've tried both combinations I've found that the ms display works to start with but stops showing the ms numbers after some realtime data is sent to the chart and then interaction re-enabled. (I've been using RealTimePerformanceDemoView as a basis for my evaluation) Regards, Andy
  • 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