You must be logged in to post your query.
Home › Forums › Chart Support › MVC action link chart to controller
Tagged: action link, canvas, Canvas js, canvasjs, chart, controller, javascript, js, MVC
I am trying to have it so when I click on a pie graph piece it will link to a controller, however the controller I am linking it to contains different parameters. I am utilizing javascript due to it being dynamic data. It works up until I try to get the value of the chart element.
Javascript: function OnClickDPAFilterComplete(e) { window.open(‘@Url.Action(“Index”, “Dashboard”, new { id = ViewBag.id, type = e.dataPoint.label, DPAStatus = “Complete” })’); }
Any ideas?
@rofori,
Can you please share the sample project along with the sample data over Google Drive/One Drive with a brief explanation of your requirement so that we can understand your use-case better and help you out.
____ Shashi Ranjan Team CanvasJS
You must be logged in to reply to this topic. Login/Register