visualization-tool
visualization-tool copied to clipboard
Implement: Y-axis scale adjustment
See Design Documented here:
- https://github.com/visualize-admin/visualization-tool/issues/1870
@bprusinowski a couple of remarks from testing on INT with the flag.
Test with BLW Cube: Marktzahlen Milch und Milchprodukte - Monatliche Konsumentenpreise
- When i select the check box
Adjust scale domainthe bar chart shifts down, covering the x-axis label. This doesn't seem to happen with other cubes e.g. Photovoltaik - When i change the min from 0 to 1000 the bars in the chart shift down also see example here: https://int.visualize.admin.ch/v/qhlUbpxWI3e7?dataSource=Prod - the same applies to horizontal bar charts and area charts - line chats seem fine
Photovoltaik https://github.com/user-attachments/assets/7daa55aa-cb76-49d6-b034-92a98be970f0
Milk Cube
https://github.com/user-attachments/assets/e49beaa6-0947-48b3-ad5a-eedd4b61fadb
if we could resolve the issue with the bars shifting below the x-axis I think we could deliver it to the client to test.
Thanks for testing @sosiology 🙇♂