dayiku Posted July 15, 2009 Report Share Posted July 15, 2009 I have a bar chart and i would like to make the individual bars clickable. The x-axis has the months and the y-axis is the count. The information displayed in the chart is a summary, so i would like users to be able to click on a particular bar representing a month and a quantity to go to another page with the details. How can i insert dynamic links into a bar chart to do this? Quote Link to comment Share on other sites More sharing options...
Frank Posted July 21, 2009 Report Share Posted July 21, 2009 You can either process the click event which will generate a postback (or callback) to your form or you can set the Link property to point to a different Url, for example: chart1.AllSeries.Link.Url = "http://www.softwarefx.com" You can use macros in this URL using the '%' sign. See API reference on Link.Url for details. You can also assign different Url for each series: chart1.Series[0].Link.Url = "http://www.softwarefx.com"; chart1.Series[1].Link.Url = "http://support.softwarefx.com"; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.