Hi,
i am using the ValueOverlay to Display a crosshair like horizontal and vertical line.
The horizontal line, is bound to the y-axis, and Setting the value of the ValueOverlay works fine.
But for the x-axis (vertical line) Setting the value as a double does not work, instead it seems that i have to set the index of the datapoint.
What do i do wrong here?
Thanks
Hello Thomas,
The CategoryDateTimeXAxis will honor the numeric values of the DateTimes you map it to via the DateTimeMemberPath. Please take a look at the attached sample to see how I configured the UltraDataChart with a CategoryDateTimeXAxis which demonstrates the gaps created between data points which reflects the sample data I provided.
Hello John,
thanks for the answer.
Yes, i am using a CategoryXAxis, and one or more LineSeries.
Calculating the index and giving it to the Overlay works fine.
By the way, when it Comes to a CategoryDateTimeXAxis, i have read the the x-Points are alway charted in the same distance.
When there are gaps in the date/time data the Chart would not reflect it. Is there a way to handle this?
This is very important to the current Project.
Thanks a lot
Thomas
Hello Thomas, Which series and x axes are you using? If you are using a CategoryXAxis, then the overlay does not read values of the categories and will treat the double you provide as the index you want it at. If this is the case, then you will have to compute the index at which you want to show the overlay. Please note that this would apply for the CategoryDateTimeXAxis. Please let me know if I can assist you further.