Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • in reply to: Whole canvas as a hyperlink #9491

    Use onclick to make whole canvas to be linked to another page/ url as shown below,
    <div id="chartContainer" onclick="redirect()"></div>
    then add a function “redirect” to your javascript code, which will contain a link to another page/ url

    function redirect()
    {
        window.location = "https://canvasjs.com/" ;// loads webpage in the current tab
        // window.open = "https://canvasjs.com/" ;// loads webpage in the new tab
    }
    in reply to: Mouse over with dataPoint(s) under actual X-coordinate #9489

    Thanks for your feedback. We will consider this in our future version.

    • This reply was modified 5 years, 6 months ago by ashishraaj.
Viewing 2 posts - 1 through 2 (of 2 total)