perspective
perspective copied to clipboard
Charts are not being scaled down on data change
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:
-
table.update([{name: 'aa', val: 2}, {name: 'bb', val: 4}, {name: 'cc', val: 3}]);
Original chart is being shown: -
table.update([{name: 'aa', val: 2}, {name: 'bb', val: 100}, {name: 'cc', val: 3}]);
Chart is re-scaled: -
table.update([{name: 'aa', val: 2}, {name: 'bb', val: 4}, {name: 'cc', val: 3}]);
Chart is not re-scaled this time:
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.