Change bar's color on client mouse over

Thread is closed for posting
4 posts, 0 answers
  1. Han
    Han avatar
    15 posts
    Member since:
    Mar 2009

    Posted 01 Feb 2010 Link to this post

    Hi,

    I couldn't find any help on this. I was wondering if there's a client-side event I can use that will change the bar's color in a Bar chart on client mouse over. Thanks.

    Han

  2. Ves
    Admin
    Ves avatar
    2926 posts

    Posted 02 Feb 2010 Link to this post

    Hi Zhe,

    RadChart is a static image (unless zoom/scroll is enabled), which is generated on the server and then sent to the client, so I am afraid, updating bar colors on hover is not supported.

    Kind regards,
    Ves
    the Telerik team

    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
    Follow the status of features or bugs in PITS and vote for them to affect their priority.
  3. Ruud van der Veer
    Ruud van der Veer avatar
    4 posts
    Member since:
    Sep 2006

    Posted 11 Aug 2010 Link to this post

    Hi,

    I found out that it is possible to set the tooltip of a bar with the e.SeriesItem object in the ItemDataBound function of the chart.
    Is there a clientevent that i can use to trigger a javascript such as an onmouseover. I want to display more detailed information about the bar with some htmlmarkup. I don't want to use the url property because it needs a click event from the user.

    Kind regards,
    Ruud
  4. Ves
    Admin
    Ves avatar
    2926 posts

    Posted 13 Aug 2010 Link to this post

    Hi Ruud van der Veer,

    You can use the ActiveRegion.Attributes property. Please, find an example, which shows how to configure it to execute javascript on hover in this KB article.

    Kind regards,
    Ves
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top