Change pointer on mouseover to Hand in Asp.net Chart

Yajuvendra Vant picture Yajuvendra Vant · Aug 23, 2010 · Viewed 15.2k times · Source

i am using Asp.net Chart and showing bar chart. i used dataPoint.MapAreaAttributes to call a JS func(which retrieves the ID) to show next chart on click of a particular bar in the existing chart. but i am unable show hand pointer on mouse over the particular bar on the chart. And when i use Datapoint.Url which is changing the mouse pointer to hand on mouseover the bar but i am unable to call the JS func. So how to show Hand pointer on mouseover of a particular bar?

Answer

Rajesh picture Rajesh · Apr 21, 2011

<asp:Image ID="Image1" runat="server" onmouseover="this.style.cursor='hand'" onmouseout="this.style.cursor='default'" />