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
265
Custom legend as tooltip
posted

I would like to create a custom legend for the XamChart.I need the legend to appear as an icon and the legend data will be shown as tool-tip(see attachment) when the mouse is above the icon. Does any one have an example of a similar solution?

Thanks,

Yevgeni

Parents
No Data
Reply
  • 30945
    Offline posted

    Hello Yegeni,

     

    I have created a sample application using the code snippet that you have sent. I have changed the handler for Loaded event for the ContentPresenter in the template for the Legend. The Legend in the sample application that I have send you earlier in our discussion has its UseDataTemplate property set to true and in your code snippet this property is not set and it seems that is causing the issue that you are having.

     

    If you need any further assistance please do not hesitate to ask.

     

    Sincerely,

    Krasimir

    Developer Support Engineer

    Infragistics

    www.infragistics.com/support

    ChartTest.zip
Children