arundeep78 opened a new issue, #18189: URL: https://github.com/apache/echarts/issues/18189
### What problem does this feature solve? Add a possibility to configure theme settings for graphic elements e.g. text or rectangle etc. We use graphic elements to [add our Logo and website URL](https://arcticrisk.org/latest-data/global-risks/). Along with extra information e.g. Data source, last updated etc. They are standardized across all plots. We always had dark theme and it worked. We now implemented light theme as well, but we can change the text color for these elements or borders etc. in the theme json. Other texts e.g. title:text, title:subtext and so on works fine. At the moment, we would have to go with a trade-off as in[ the example](https://echarts.apache.org/examples/en/editor.html?c=line-graphic). But, this takes away the color scheme from the plot. if this is not possible and an alternative method must be used or is better than configuring themes, then your suggestion would be helpful. ### What does the proposed API look like? Frankly, I do not know how it can be implemented, but would like to configure below settings in theme e.g. to switch colors with theme switch. ``` dark theme: { graphic: { text: { style: { fill: "white" } } } } light theme: { graphic: { text: { style: { fill: "black" } } } } ``` -- 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]
