antvis/G2

The issue has been closed
how to dynamic set chart padding or another attributes? #3742
JobinJia posted onGitHub
- I have searched the issues of this repository and believe that this is not a duplicate.
What problem does this feature solve?
if create a chart, sometimes need to change the chart padding or another config attributes.
maybe refactor changeSize(width, height)
function to changeConfig(ChartCfg)
then the initial config can be changed with runtime ?
What does the proposed API look like?
changeConfig(config: ChartCfg)
<!-- generated by antv-issue-helper. DO NOT REMOVE -->