Open MarcSkovMadsen opened 1 year ago
According to #3671 the Perspective
pane has a selection
parameter. But it is not working.
This is an important feature. Otherwise, I do not see ways of cross-filtering between different Perspective panes as they demonstrate on the Perspective website. Perspective panes are really powerful elements and linking several of them together for cross-filtering / selection would allow for very powerful and dynamic applications with very minimal code. They showcase many amazing examples of that on their website.
The click event isn't too bad to handle, see https://github.com/s22chan/panel/tree/feat/perspective-click-events
Hi @s22chan . The link does not work for me. Could you share again?
try this: https://github.com/holoviz/panel/compare/main...s22chan:panel:feat/perspective-click-events?expand=1
I'd finish it, but I don't have the time to test all the different plugins. Also perspective >2.1 removed UMD builds and it's not obvious how to get panel to load them as js modules.
@s22chan seems to work ... can it just be merged? I'm only weakly testing so far on xbar and datagrid.
The selection feature is indeed sorely needed. Perspective is much more powerful and useful for my purposes because I can switch between a visualisation and export the underlying data, which is a key feature that is available in Tableau but hard to find elsewhere.
Partially implemented in https://github.com/holoviz/panel/pull/5430
Click events are supported by
Perspective
and described in https://perspective.finos.org/docs/js/#click-events. It would be really valuable to add click (and row selection?) events to the PanelPerspective
pane.Selection events where added in https://github.com/finos/perspective/issues/201
If the api improvements of
Perspective
could be aligned withTabulator
it would be really valuable as then its really easy to explore which is the best for a specific use case.Thanks.