sameer Posted April 21, 2008 Report Share Posted April 21, 2008 hi i am using PIE-chart in ASP.NET. i want to write a code for hyperlinks of legend box items. How to write a code for that. Quote Link to comment Share on other sites More sharing options...
PDyer Posted April 21, 2008 Report Share Posted April 21, 2008 I have not tried a drilldown (link) for the legendbox but I know the following code works for Series, Points, Axes, Stripes, Titles, and Constant Lines. chart1.Titles.Add(new TitleDockable("My Title")); chart1.Titles[0].Link.Url = "www.SoftwareFX.com"; chart1.Titles[0].Link.Target = "_blank"; Perhaps you could try Points[0].Link.Url. Also there is a full working VS2005 sample in the resource center called Launch "File System DrillDown" Application, Do a search by "DrillDown" and you will find it. Quote Link to comment Share on other sites More sharing options...
sameer Posted April 22, 2008 Author Report Share Posted April 22, 2008 Its working on MAIN title page. But i want to work on LEGEND BOX titles. I have 10 titles in legend box. I want to attach 10 URL links in that legend box titles Quote Link to comment Share on other sites More sharing options...
Frank Posted April 22, 2008 Report Share Posted April 22, 2008 chart1.Points[sliceIndex].Link.Url = "http://www.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.