Our team has a hard requirement to support graphing down to the nanosecond resolution. This is not supported by the .NET DateTime struct. We are building a wrapper around the DateTime class to fix the precision problem (PreciseDateTime). Now the only element left is how can we interface the chart with PreciseDateTime? We are currently using a CategoryDateTimeXAxis with SplineSeries'. One solution was to utilize the NumericXAxis instead, but this leads to a goofy spline result (because of the ScatterSplineSeries implementation).
The spline comparison is shown in the attached demo project. If we can get the behavior of the first chart (CategoryDateTimeXAxis) within the NumericXAxis this could simplify our implementation. If not, other ideas and suggestions are welcome.
Thanks for the time.
Hello Will and thank you for posting!
I have been looking further into this matter and tested the project you have shared. It is seen that the ScatterSplineSeries is more precise than the SplineSeries. This is the design behavior of this type of series. ScatterSeries is used to emphasis the differences between points (scientific data) and it needs numeric axes to be defined (https://help.infragistics.com/doc/WPF/2014.1/CLR4.0/?page=xamDataChart_Scatter_Series.html).
Both series join points by a spline but if you do not need to highlight the deviation of data I currently could not think of a better solution than using the SplineSeries as in your example.