This chart has an onclick event, but when the server interprets the asp:chart control, it produces HTML that does not have an onclick event. Here is the chart control:
<asp:Chart ID="Chart1" runat="server" DataSourceID="SqlDataSource2"
Width="809px">
<series>
<asp:Series ChartArea="ChartArea2" ChartType="Point" Name="ranks"
XValueMember="stoppoint" YValueMembers="rank"
MapAreaAttributes="onclick=javascript:alert( 'Data point with index #INDEX was clicked (#VALX,#VAL)')">
</asp:Series>
</series>
<MapAreas>
<asp:MapArea Coordinates="0,0,809,300" />
</MapAreas>
<chartareas>
<asp:ChartArea Name="ChartArea2">
</asp:ChartArea>
</chartareas>
<Titles>
<asp:Title Name="Title1" Text="User rankings over time">
</asp:Title>
</Titles>
</asp:Chart>
Is there an ...
Go to the complete details ...