Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Charts are not being scaled down on data change #2448

Open
fibinger opened this issue Nov 23, 2023 · 0 comments
Open

Charts are not being scaled down on data change #2448

fibinger opened this issue Nov 23, 2023 · 0 comments
Labels
bug Concrete, reproducible bugs plugins

Comments

@fibinger
Copy link

Feature Request

Description of Problem:

When chart requires more space to display its content, it gets re-scaled.
When data changes, so that additional space is not needed anymore, chart is not re-scaled back.

Steps to reproduce:

  1. table.update([{name: 'aa', val: 2}, {name: 'bb', val: 4}, {name: 'cc', val: 3}]);
    Original chart is being shown:
    image
  2. table.update([{name: 'aa', val: 2}, {name: 'bb', val: 100}, {name: 'cc', val: 3}]);
    Chart is re-scaled:
    image
  3. table.update([{name: 'aa', val: 2}, {name: 'bb', val: 4}, {name: 'cc', val: 3}]);
    Chart is not re-scaled this time:
    image

Expectation, the chart in image (3) should look exactly like in image (1).

Potential Solutions:

I would imagine an additional setting which would allow developers to choose whether scaling down should be enabled or not.

@timkpaine timkpaine added bug Concrete, reproducible bugs plugins labels Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Concrete, reproducible bugs plugins
Projects
None yet
Development

No branches or pull requests

2 participants