apache / superset

Apache Superset is a Data Visualization and Data Exploration Platform
https://superset.apache.org/
Apache License 2.0
63k stars 13.96k forks source link

Autozoom not triggered on deck.gl Path chart #25018

Open ethanaturner opened 1 year ago

ethanaturner commented 1 year ago

Changing filters on a deck.gl Path chart does not trigger autozoom (initial viewport remains).

How to reproduce the bug

  1. Create a deck.gl Path chart with autozoom enabled (preferably provide a MAPBOX_API_KEY in the environment to better view the chart and issue)
  2. Create a filter box for the same dataset
  3. Add the filter box and chart to a dashboard
  4. View the dashboard and select a filter option that reduces the data points to a subset within close proximity of each other
  5. See that autozoom is not triggered/the viewport is not recomputed

Expected results

Reducing the number of visible data points on the chart, such that the remaining visible data points are in closer proximity, should zoom the viewport towards these data points.

Actual results

Autozoom is not triggered and the viewport remains at the initial setting.

Screenshots

Path chart settings
chart_settings
Initial view
initial_view
Filter applied
filter_applied
Where the chart should actually autozoom (approximately)
actual_autozoom

Environment

Checklist

Make sure to follow these steps before submitting your issue - thank you!

rusackas commented 9 months ago

This still seems to be a problem in 3.x. It doesn't seem to be a burning priority for anyone I know of, so PRs would be warmly welcomed.

rusackas commented 4 months ago

If nobody wants to tackle this, it'll be closed as stale. I wonder if @Mattc1221 or @kgabryje have any ideas here?