Hi,
I am working in asp.net 4.5 and i created asp.net bar chart and binding the graph which working good. I need to change the cursor type to hand instead of pointer. is it possble to do?
<asp:Chart ID="chartSample" runat="server" Width="320" Height="270" BorderSkin-SkinStyle="None" BorderDashStyle="Solid"
BackGradientStyle="TopBottom" OnDataBound="chrtsampleDataBound">
<Series>
<asp:Series Name="sampleuser" ChartArea="User" YValueType="Int32" Palette="Berry"
ChartType="Column" IsValueShownAsLabel="true">
<EmptyPointStyle IsValueShownAsLabel="false" IsVisibleInLegend="false" />
</asp:Series>
</Series>
<ChartAreas>
</ChartAreas>
</asp:Chart>
I tried to do this by looping through chart series count after i created the graph. But it's not working. even i tried to assign thin when i create the datapoint and still it's not working.
Chart.Series[0].Points[i].MapAreaAttributes = "OnMouseOver=\"this.style.cursor='hand';\"";
Chart.Series[0].Points[i].MapAreaAttributes = Chart.Series[0].Points[i].MapAreaAttributes + "OnMouseOut=\"this.style.cursor='';\"";
Any suggestion or sample please