Open arnaudspotfire opened 3 years ago
Because I am using plain SVG I have to implement this with plain SVG and JavaScript.
Is there maybe some sample code from TIBCO?
You could look at the Word Cloud Mod that was just released today on the Community Exchange. Here is the GitHub repo: https://github.com/jacobsjan/WordCloud2 Another suitable example could be the Spider Chart Mod here: https://github.com/TIBCOSoftware/spotfire-mods/tree/master/examples/ts-spiderchart-d3
World Cloud example https://github.com/jacobsjan/WordCloud2/blob/master/src/rect-selection.ts
Same request for Kanban https://github.com/hski-github/spotfire-kanban/issues/6
Maybe possible to use this JavaScript library to implement the rectangle selection https://github.com/Simonwep/selection/tree/master/packages/vanilla
Should be possible to mark bars with rectangle select as well as flows.
Marking currently works great for one single flow. It would be nice to be able to mark multiple onces by drawing a rectangle.