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
925
XamDataChart - Custom marker showing intersection
posted

Hi,

I have a XamDataChart with the following types of series to present results of a KPI:

  • AreaSeries showing the actual data points of the value of the KPI
  • LineSeries showing a linear trend of the KPI value
  • Second LineSeries showing a projection bases on the linear trend
  • ValueOverlay showing the target of the 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

Parents
  • 138253
    Offline posted

    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.

    XamDataChartIntersection.zip
Reply Children