Scroll

Action Event: Chart dynamic hyperlinks

This action event may be attached to a chart visualization in an Advanced Report in order so that clicking on a series in the chart launches a different web page depending on which series was clicked.

Event Type: Click

Code

// the clicked chart label is clientInfo.chartItemDataPoint.label
// the jsCode should be altered to perform the desired action depending on which label was clicked
string jsCode = "window.open('https://www.google.com/search?q='+clientInfo.chartItemDataPoint.label);";
sessionInfo.JavascriptAction.SetJsCode(jsCode);
return sessionInfo.JavascriptAction;

Hidden Article Information

Article Author
Exago Development
created 2017-10-31 17:19:19 UTC
updated 2017-10-31 17:19:19 UTC

Labels
example, code, web, link, sae, hyperlink, window,
Have more questions? Submit a request