How can I make the whole chart canvas to be linked to another page? I tried to add the “a” tag to the chart canvas container, but it allows clicking and transferring to another page only when you click on the tooltip. What I need is to be able to click in any place of the chart and go to a certain page.
Use onclick to make whole canvas to be linked to another page/ url as shown below, <div id="chartContainer" onclick="redirect()"></div>
window.location = "https://canvasjs.com/" ;// loads webpage in the current tab
// window.open = "https://canvasjs.com/" ;// loads webpage in the new tab