ASP.Net LabelURL Charts

I have graphics that work with MS Asp.Net Chart controls, I noticed that labels have a tag URL property. If I put a url there, that makes that label a link.

My question is: is it possible for the label URL to be dynamic for each entry in the graph, for example, I have a graph showing how many tasks for each project are impossible. I want the URL to go to the home page for each project.

eg Http://www.mywebsite.com/projects.aspx?projectId=*InsertProjectIdHere*

I am sure this should be a fairly common occurrence, so I assume it is possible.

thanks

+3
source share
1 answer

If your x series has a project id, you can do

labelUrl = "Http://www.mywebsite.com/projects.aspx?projectId=#VALX"

+2

Source: https://habr.com/ru/post/1711490/


All Articles