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
478
Mark today on chart with CategoryDateTimeXAxis
posted

I have several charts which use a CategoryDateTimeXAxis to display historical and forecast sales data. I would like to place a marker (such as a red vertical line) on these charts to indicate the current date (and hence the boundary between historical data and forecast data). I think I should be able to do this using a CrosshairLayer with a fixed CursorPosition - however, I can't see how to calculate the cursor position that is equivalent to a particular date. Any suggestions?