GitHub user dosubot[bot] added a comment to the discussion: How to configure ECharts appearance (font size, colors) in Superset charts via JSON metadata or UI
<!-- Answer --> The JSON metadata configuration you've set up should theoretically work for customizing ECharts appearance, but if it's not taking effect, there might be a few reasons to consider: 1. **Correct Placement**: Ensure that the JSON metadata is correctly placed within the Superset configuration files or the chart editor where it is expected to be read and applied. 2. **Supported Properties**: Verify that the properties you're trying to set (like `backgroundColor`, `textStyle`, `xAxis`, and `yAxis`) are supported by the version of Superset and ECharts you are using. Sometimes, certain properties might not be supported or might require specific configurations. 3. **Chart Type Compatibility**: Make sure that the chart type you are using supports these customizations. Some chart types might have limitations on what can be customized. 4. **Refresh and Cache**: After making changes, ensure that you refresh the dashboard and clear any cache that might be preventing the new settings from being applied. Regarding additional documentation for methods 3 and 4, the Superset codebase does not provide specific guidance on applying custom CSS or additional UI options for regular users. Custom CSS might require admin access or specific permissions, and the UI options are generally limited to predefined settings <sup>[[1]](https://github.com/apache/superset/blob/master/superset-frontend/plugins/plugin-chart-echarts/src/Timeseries/Regular/SmoothLine/controlPanel.tsx)</sup><sup>[[2]](https://github.com/apache/superset/blob/master/superset-frontend/plugins/plugin-chart-echarts/src/Timeseries/Regular/Scatter/controlPanel.tsx)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/a62396b4-db61-40a6-99eb-d188eb150068?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/a62396b4-db61-40a6-99eb-d188eb150068?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/a62396b4-db61-40a6-99eb-d188eb150068?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/a62396b4-db61-40a6-99eb-d188eb150068?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/a62396b4-db61-40a6-99eb-d188eb150068?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/a62396b4-db61-40a6-99eb-d188eb150068?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/a62396b4-db61-40a6-99eb-d188eb150068?feedback_type=other)</sup> GitHub link: https://github.com/apache/superset/discussions/33127#discussioncomment-12836720 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
