trying to get scatter plot to be interactive with table view


I have created a scatter plot node together with a table view node.
Trying to get the table row to show, when I click on the scatter plot.
But its not working.
I did group them to a component as well.
Anyone any experience in this ?

Hello @ivan_lee,

You can try using Interactive Value Filter Widget

You can use it like this

11

Thanks

Hey,

you are very close, but the interactivity between views will only work if you choose the same kind of views. They either need to be all (JavaScript) or even better all the ‘new’ KNIME views. Is there any particular reason you are using the Table View (JavaScript)?

Greetings,
Daniel

1 Like

Thank you. I was wondering why there are “normal” and “javascript”


Hi Daniel, this is what I did, and I did wrap both the table view and scatterplot in a component. But the points on the scatter plot was not clickable?

Do you know why ?

Hey,

very likely you need to press the checkmark icon on the top right to enter the ‘selection’-mode. Afterwards you should be able to select things in the plot.

If you are building a new workflow and don’t depend on some (JavaScript) Views I would also advice you to use the new views (without the JavaScript) as these are the once we are still continuing to maintain and improve :slight_smile:

Greetings,
Daniel

1 Like

Hi, i have done that and I able to select. but selecting on scatter plot, does not filter the table view.

Hey,

that depends on what you mean with filtering. If you put two view nodes in a component they will interact with each other. If you select points in the scatter plot they will be selected in the table view. There is an option in the table view called “show selected rows only” in the “Interactivity” tab. As soon as you have set this option it will only show the selected points. Keep in mind that this is only a visual filtering. If you want to filter the actual data, you need to either use a “Refresh Button Widget” or apply the changes in the component and use a row filter node downstream to filter for the actual selected values in the appended selected column.

Here is a little example, I hope this helps.

InteractionWorkflow.knwf (83.9 KB)

Greetings,
Daniel

3 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.