visualization-tool icon indicating copy to clipboard operation
visualization-tool copied to clipboard

Implement: Y-axis scale adjustment

Open florelina opened this issue 1 year ago • 2 comments

See Design Documented here:

  • https://github.com/visualize-admin/visualization-tool/issues/1870

florelina avatar Nov 13 '24 14:11 florelina

@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 domain the 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.

sosiology avatar May 06 '25 14:05 sosiology

Thanks for testing @sosiology 🙇‍♂

bprusinowski avatar May 06 '25 15:05 bprusinowski