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

feat: support default theme for all chart instances #420

Merged
merged 2 commits into from May 16, 2024

Conversation

wheeljs
Copy link
Contributor

@wheeljs wheeljs commented Apr 30, 2024

Add theme in NgxEchartsConfig. Can use provideEcharts({ theme: 'your-theme' }) or provideEchartsCore({ echarts, theme: 'your-theme' }) to specify the default theme, when using ngx-echarts but leave [theme] empty, echarts will get theme from config.

wheeljs and others added 2 commits April 30, 2024 23:51
Add `theme` in `NgxEchartsConfig`. Can use `provideEcharts({ theme: 'your-theme' })` or `provideEchartsCore({ echarts, theme: 'your-theme' })` to specify the default theme, when using ngx-echarts but leave `[theme]` empty, echarts will get theme from config.
@xieziyu
Copy link
Owner

xieziyu commented May 16, 2024

Well done! Thanks for your contribution.

@xieziyu xieziyu merged commit d113ee4 into xieziyu:master May 16, 2024
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

Successfully merging this pull request may close these issues.

None yet

2 participants