GitHub user VasilijeBursac created a discussion: ECharts options overrides in themes: How to target specific chart instance
Hello everyone! I’m looking into using ECharts options overrides in Superset via Theme system and I’d like to clarify the scope at which these overrides can be applied. >From the documentation and code, I see that Superset supports these two >tokens, which allow customizing ECharts configuration via global or >dashboard-specific themes: - `echartsOptionsOverrides` - globally for all ECharts visualizations - `echartsOptionsOverridesByChartType` - per chart type (e.g. `TimeSeriesChart`) **However, a single dashboard can contain multiple instances of the same chart type (for example, several `TimeSeries` charts with different datasets).** ### My question is: **Is it possible to target a specific chart instance with ECharts option overrides, or are overrides limited to global and per-chart-type scope only?** Can overrides be applied based on a chart’s slice ID, chart ID, or dashboard-specific context or is the intended design that ECharts overrides apply uniformly to all charts of a given type? ### If per-instance overrides are not currently supported: Is there a recommended workaround? Has there been any discussion or roadmap consideration for adding instance-level overrides? Thanks in advance! GitHub link: https://github.com/apache/superset/discussions/36851 ---- 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]
