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
605
Color of Tooltip in DataChart
posted

Hi,

when change color of series using brush, Tooltip keep with default color of series

please, find the following image:

  • 9190
    Verified Answer
    Offline posted

    Hi,

    Thank you for posting on our forums.

    I recommend using a TooltipTemplate to create a custom tooltip which can be used to set its text and style, including the color. I have attached a sample which demonstrated how you can achieve this.

    Please review the sample and let me know if you have further questions.

    igLineChartBrush.zip
    • 605
      Offline posted in reply to Jose Acevedo

      Thank you it is working fine

      • 9190
        Offline posted in reply to Omar Mantawy

        Hi,

        The sample I attached in my last update demonstrates the tooltip templates working as expected. If this isn't working for you, please update this forum thread with a sample which demonstrates the undesired behavior your getting and I will be happy to review it.

        I am looking forward to your update.

        • 605
          Offline posted in reply to Omar Mantawy

          Hi, 

          when i am using tooltip template, but displaying empty

          i am using ${item.Year} inside jsp page