Home › forums › Using CanvasJS › Making striplines clickable (link)
This topic contains 2 replies, has 2 voices, and was last updated by gregoff 11 months, 1 week ago.
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.