datavisyn / visyn_core

BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

Scatter plot: Click on histogram in scatter plot matrix returns `undefined` selection #391

Closed thinkh closed 1 month ago

thinkh commented 1 month ago

Environment

Steps to reproduce the bug

  1. Open a scatter plot
  2. Add 3 numerical columns to create a scatter plot matrix
  3. Click on the histogram bar in the diagonale

Observed Behavior

ClickedId is undefined for after click on histogram bar:

grafik

Click on a point in the scatter plot returns the id:

grafik

Source code:

https://github.com/datavisyn/visyn_core/blob/f97146471a82beba0e3613fd6f7e5a4fa72aae45/src/vis/scatter/ScatterVis.tsx#L349-L356

Expected Behavior

Selecting one or multiple bars should select all underlying items.


Thanks for taking the time to fill out this bug report 🤗 Make sure there aren't any open/closed issues for this topic 😃