Vertical Annotations with DateTimeAxis

Oystein Bjorke 5 years ago 0
This discussion was imported from CodePlex

luisfrossi wrote at 2013-06-08 00:47:

Hello,

I would like to add a few like annotations on a Plot with DateTimeAxis... the X value input at an LineAnnotation is a double value. How should i format my DateTime value to the X one?

Regards,

LR

luisfrossi wrote at 2013-06-08 01:03:

Sorry, just realized how.

Just have to use OxyPlot Double conversion.

Thank you!

Great Work here.

objo wrote at 2013-06-08 10:51:

Yes, use DateTimeAxis.ToDouble or DateTimeAxis.CreateDataPoint
CodePlex