Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi everybody,
does anyone know a way to read user's selections in Network Chart?
Whenever I click on one Node in a Network chart the selection is done for this Node plus all nodes which are directly connected. But I cannot get the actual node I actually clicked on.
I need the actually selected node, as I want to display additional information reg this Node in other charts.
Any ideas?
Reg the attached example (png):
I clicked on Node "F1" but in selection bar (at the top) & GetCurrentSelections() I find "C3" + "F1". How can I find out, that user clicked on "F1"?
Best Regards & thanks already
Serjoscha
Unfortunately this chart is not selection friendly. Perhaps you can tweak this adding a self reference node to each node.
That's a limitation of the Network Chart's native selection behavior in Qlik Sense, it's designed to automatically extend the selection to related nodes based on the relationship data model.
Network Chart immediately converts your click into a compound selection (F1 + connected nodes like C3), the standard GetCurrentSelections() or the selection bar will only show the result of that action, not the specific node you originally clicked.
Hi @pablolabbe
thanks for your reply and happy for every tweak to make my visualization rolling.
Can you elaborate further on the suggested tweak?
How can I make use of self-referencing nodes?
Made some testing and my idea doesn´t solve this behavior. Tried other things without success so this is the default behavior of the selection in the extension.