This is a migrated thread and some comments may be shown as answers.

Change bar's color on client mouse over

3 Answers 86 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Han
Top achievements
Rank 1
Han asked on 01 Feb 2010, 05:16 PM

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

3 Answers, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 02 Feb 2010, 12:33 PM
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.
0
Ruud van der Veer
Top achievements
Rank 1
answered on 11 Aug 2010, 11:17 AM
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
0
Ves
Telerik team
answered on 13 Aug 2010, 08:31 AM
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
Tags
Chart (Obsolete)
Asked by
Han
Top achievements
Rank 1
Answers by
Ves
Telerik team
Ruud van der Veer
Top achievements
Rank 1
Share this question
or