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

[Solved] Pie Chart hover

1 Answer 9 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Chris
Top achievements
Rank 1
Chris asked on 31 May 2013, 04:20 PM
Hi,

I have added a client event (OnSeriesClick) to my pie chart.

I am now looking to change the cursor to hand/pointer when I mouseover the segments. Is this possible?

I have added the style cursor: hand; cursor: pointer; to the HtmlAttributes of the chart but of course this changes the cursor for the whole chart area (div) rather than just the series.

Thanks

1 Answer, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 04 Jun 2013, 10:03 AM
Hello Chris,

I am afraid your scenario is not supported out-of-the-box and unfortunately there is no a perfect solution for it. As another workaround (except using the OnSeriesClick event and HtmlAttributes) you could use the following CSS rule: 
<style type="text/css">
   svg > path:last-child {
      cursor:pointer;
   }
</style>
However keep in mind the aforementioned suggestion will not work for IE > 9 versions. 
 
Regards,
Iliana Nikolova
Telerik
Check out the successor of Telerik MVC Extensions - Kendo UI for ASP.NET MVC - and deem it for new ASP.NET MVC development.
Tags
Chart
Asked by
Chris
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Share this question
or