Most basic interaction example

This issue has been tracked since 2022-02-20.

Is there an example of user interaction, i.e. I click a button, chart gets updated (for example with a different filter value)? I assume this could be achieved by registering a handler via chart.on() but the tutorial does not seem to have an example of this.

simzer wrote this answer on 2022-02-20

You can find an example how to attach a handler to the click event here: https://lib.vizzuhq.com/0.4/#chapter-0.16
The event.data contains info about the marker clicked, what you can use to filter the data.

simzer wrote this answer on 2022-02-20

Here is an example for filtering the data based on the clicked marker:
https://jsfiddle.net/msayp7zd/

More Details About Repo
Owner Name vizzuhq
Repo Name vizzu-lib
Full Name vizzuhq/vizzu-lib
Language JavaScript
Created Date 2021-06-07
Updated Date 2022-11-22
Star Count 1630
Watcher Count 19
Fork Count 65
Issue Count 17

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date