trendchart-elements icon indicating copy to clipboard operation
trendchart-elements copied to clipboard

Capturing click event

Open RicardoViteriR opened this issue 2 years ago • 1 comments

Hello! Great library :)

Is it possible to capture a click event? I am trying to execute a function when I click on part of a graph (for example a bar from a bar graph).

Cheers.

RicardoViteriR avatar Apr 26 '24 05:04 RicardoViteriR

Hi and thanks for the compliment ;-)

Right now there is no custom event emited by the component but it's plan on the future version. We are quite busy at the time but we're working on it ASAP.

Mushr0000m avatar Apr 26 '24 07:04 Mushr0000m

Hi ! The V2 is available with new events support, have a look at the readme and the new demo page 😉. Be aware that the markup has changed a little bit..

Mushr0000m avatar Jun 28 '24 15:06 Mushr0000m