|
Add value of clicked bar in chart |
Posted by Kevin on Apr-12-2012 16:06 |
|
Hi,
I want to put the value of the selected bar in a graph to a session variable.
The link is normally pageName.aspx?xLabel=test&datSetName=extra
But I want the following link: pageName.aspx?username=test&info=extra
Thanks in advance,
Kevin |
Re: Add value of clicked bar in chart |
Posted by Peter Kwan on Apr-12-2012 23:13 |
|
Hi Kevin,
If you are using BaseChart.getHTMLImageMap to create the image map (which contains the URL), you may use:
string imageMap = c.getHTMLImageMap("pageName.aspx", "username={xLabel}&info={dataSetName}");
Hope this can help.
Regards
Peter Kwan |
|