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

how to dynamic set chart padding or another attributes? #3742

Closed
1 task
JobinJia opened this issue Dec 14, 2021 · 1 comment
Closed
1 task

how to dynamic set chart padding or another attributes? #3742

JobinJia opened this issue Dec 14, 2021 · 1 comment

Comments

@JobinJia
Copy link

  • 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)

@hustcc
Copy link
Member

hustcc commented Dec 7, 2022

chart.padding = [/*...*/];

@hustcc hustcc closed this as completed Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants