Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
335
Overcoming DateTime Precision Issues in the XamDataChart (splines turned on).
posted

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. 

InfragisticsXamDataChartSplineIssue.zip