hi guys,
I have chart with 3 lines that are drawn with next code
lineserie1.name="one"
lineserie1.AddXY(1, 1)
lineserie1.AddXY(1, 2)
lineserie1.AddXY(0, 3)
linseserie2.name="two"
lineserie2.AddXY(1, 4)
lineserie2.AddXY(1, 5)
lineserie2.AddXY(1, 6)
... lineserie3...
and I
'm trying to get the lineseriesindex and the datapointindex when user click over the chart
with next code i get the data point index but not the lineserieindex. how can I get the lineserieindex or the lineseriename when user click over chart?.
Protected
Sub ChartServerControl1_DataPoint(ByVal sender As Object, ByVal e As System.EventArgs) Handles ChartServerControl1.DataPoint
Dim eventArgs As ParamMapEventArgs = CType(e, ParamMapEventArgs)
Dim index As Integer = eventArgs.GetIntNamedParamAt("dataPointIndex")
Response.Write(
"<script>alert('myindex=" & index & "')</script>")
End Sub
note: i need to know what series was clicked because when i have to redirect to diferent pages depending of the value gotten.
thanks in advanced for your help.