spotfiresoftware / spotfire-mods

Spotfire® Mods
https://spotfiresoftware.github.io/spotfire-mods/
Other
56 stars 41 forks source link

Example code for marking #31

Closed hski-github closed 3 years ago

hski-github commented 3 years ago

There is some nice example code for how to implement onclick events to support marking as part of https://github.com/TIBCOSoftware/spotfire-mods/blob/master/examples/js-dev-barchart/src/main.js

But there is to my knowledge no example to implement onclick and drag and mark data in the dragged area.

Would we great to get some example code how to implement this.

objerke commented 3 years ago

The Area chart example has drag marking implemented: https://github.com/TIBCOSoftware/spotfire-mods/blob/9b6f19b547eca483d8b3e3fc74e8292a3f81ea56/examples/js-areachart-d3/src/render.js#L284

dhategan commented 3 years ago

Closed issue since an answer was provided.