apache / echarts

Apache ECharts is a powerful, interactive charting and data visualization library for browser
https://echarts.apache.org
Apache License 2.0
59.94k stars 19.59k forks source link

Remove the default background color in dark theme. #14586

Closed y0nd0 closed 3 years ago

y0nd0 commented 3 years ago

What problem does this feature solve?

The default light theme background is transparent. But in dark mode the color is fixed dark blue (#100C2A (rgb: 16,12,42)) I cannot find any option to replace the color. I don't want to create a complete custom color.

What does the proposed API look like?

Just remove the background color or / and provide an option to set the color (to transparent) without creating a custom theme. (I use ngx-charts, all latest versions.)

image

echarts-bot[bot] commented 3 years ago

Hi! We've received your issue and please be patient to get responded. 🎉 The average response time is expected to be within one day for weekdays.

In the meanwhile, please make sure that you have posted enough image to demo your request. You may also check out the API and chart option to get the answer.

If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical question.

If you are interested in the project, you may also subscribe our mailing list.

Have a nice day! 🍵

coader commented 2 years ago

any solution? why close it?

pissang commented 2 years ago

Just set option.backgroundColor to 'none'

coader commented 2 years ago

should set it in global, so I have to download the dark.js and change it, then registertheme