Hi,
I have a XamDataChart with the following types of series to present results of a KPI:
As you can see in the below screen shot the projection crosses the red target line (highlighted with the green circle in paint). I want to highlight this point with a custom marker and provide a tooltip of the details. I am not sure how best to do this as the intersection will not be directly over one of the categorical values from the CategoryXAxis:
Any advice would be greatly appreciated.
Regards,
Chris
Hello Chris,
Thank you for your post. I have been looking into and I created a sample project for you with the functionality you want. Basically I added a fake nullable integer Property to my Data, which is not null only where the real data values are the same as the ValueOverlay. I used this property to display another LineSerie which is on top of the others. You can set a ToolTip to the whole Series. Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.
I have modified the sample I sent you before, so now there is marker only where the series intersect. Basically I calculated the points, where the two series intersect and create a List with all these point and set it as data source to a ScatterSeries. Please let me know if this helps you or you need further assistance on this matter.
Hi Stefan,
Thank you for coming back to me on this. The solution provided does not fully solve the problem, as what I need is a single marker that intersects the X-axis exactly where the projection (line series) crosses the overlay, which will not be exactly over one of the categorical axis labels. I do not believe this can be achieved simply by adding an additional line series due to the issue of where along the X-axis the intersection happens.
It may be that this is simply not possible, but if you could provide an alternative solution that would be much appreciated.
Kind regards,