idescat/visual

User interaction exposure

badosa opened this issue · 1 comments

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.

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