Currently, the yAxisWidth needs to be set manually, which can become cumbersome when dealing with dynamic data where a fixed y-axis width cannot be predetermined. Therefore, we are exploring options for automatically adjusting the y-axis width. Ideally, this adjustment should not affect chart performance, avoiding the need for complex event listeners or similar solutions.
What problem does this feature solve?
Currently, the
yAxisWidth
needs to be set manually, which can become cumbersome when dealing with dynamic data where a fixed y-axis width cannot be predetermined. Therefore, we are exploring options for automatically adjusting the y-axis width. Ideally, this adjustment should not affect chart performance, avoiding the need for complex event listeners or similar solutions.What does the proposed API look like?
yAxisWidth
prop can stay as an optional prop