Hi
How to link a label or a tooltip
I tried to solve the problem with the help of the following code that I found in the forum, but the problem was not solved
<ej-chart id="container" axis-label-click="axisLabelClick"> </ej-chart>
function axisLabelClick(args) {
var label = document.getElementById('container_svg_PrimaryAxis_XLabel_' + args.data.index);
var aEl = document.createElement('a');
aEl.rel='nofollow' rel='nofollow' href = 'https://abc.com/users/' + label.innerHTML;
alert(aEl.rel='nofollow' rel='nofollow' href);
aEl.target = '_blank';
aEl.innerHTML = label.innerHTML;
aEl.click();
}
I'm using version 19.1.0.5