Home › forums › Using CanvasJS › Making striplines clickable (link)
I’m using striplines according to this page.
Does anyone have any tips or tricks on how to make the actual areas clickable and send them to an another local url? In the example above, I would like to be able to click anywhere in the gray area.
Any input would be greatly appreciated!
stripLines have bounds, which you can use to detect if the click event has happened within that region. And you can redirect to some page if its within the stripLines bound. Please check this jsfiddle.
Looks like something I can work further on. Thanks!
You must be logged in to reply to this topic.