idescat / visual

Visual is a Javascript library for data visualization developed by the Statistical Institute of Catalonia (Idescat). It is based on popular open source solutions. Visual offers a simple interface that encapsulates the complexity of these solutions for the most common chart types.
https://www.idescat.cat/dev/visual/?lang=en
Other
62 stars 14 forks source link

User interaction exposure #9

Closed badosa closed 4 years ago

badosa commented 9 years ago

Visual should expose user interaction to allow applications built on top of it to act accordingly (update the chart, synchronize the state of a companion element, etc.).

Implementation: Probably, a new property will allow developers to provide a reference to the window where the interaction data should be sent to and maybe also the events (click, hover) that should fire the message dispatch.

badosa commented 4 years ago

In v. 1.2.0 charts of type "cmap" support this functionality ("click" property).