echarts-bot[bot] commented on issue #19159: URL: https://github.com/apache/echarts/issues/19159#issuecomment-1736817936
@zmcode It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗 <details><summary><b>TRANSLATED</b></summary><br> **TITLE** [Feature] Can the registerTheme API provide complete parameters? **BODY** ### What problem does this feature solve? api address: https://echarts.apache.org/zh/api.html#echarts.registerTheme The theme parameter in the api is just an object. I looked at the source code and it is an ordinary key and value object type. https://github1s.com/apache/echarts/blob/HEAD/src/core/echarts.ts#L2764 But I don’t know which configuration items in echart it ultimately supports (I really can’t understand the logic of the final merge of the source code), [theme configuration provided by the official website](https://echarts.apache.org/zh/theme-builder. html) seems to support only partial configuration, I want to know the complete configuration In the source code, in [this method](https://github1s.com/apache/echarts/blob/HEAD/src/model/Global.ts#L1006), the configuration in the setOption method is merged with the configuration defined by the theme. ? ### What does the proposed API look like? My registerTheme API method can explain the specific configuration items supported, allowing more developers to get used to setting themes and reducing the amount of code. </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
