visualize-admin / visualization-tool

The tool for visualizing Swiss Open Government Data. Project ownership: Federal Office for the Environment FOEN
https://visualize.admin.ch
BSD 3-Clause "New" or "Revised" License
29 stars 3 forks source link

✅ Adding a second chart when the current one has segmentation doesn't correctly apply the filter #1462

Closed bprusinowski closed 3 months ago

bprusinowski commented 3 months ago

To Reproduce Steps to reproduce the behavior:

  1. Go to this link.
  2. Enable segmentation by Kanton.
  3. Add a new Line chart.
  4. See that the Kanton filter is not applied.

Expected behavior Kanton filter should be automatically applied.

Screenshots or video

Screenshot 2024-04-19 at 09 42 34

Environment

sosiology commented 3 months ago

@bprusinowski not sure if they are related, but when trying to copy the chart i discovered this issue https://github.com/visualize-admin/visualization-tool/issues/1466

sosiology commented 3 months ago

Works as expected 👍