fix(chart): align ECharts components with theme tokens and load the full ECharts ESM bundle
This commit is contained in:
@@ -334,7 +334,9 @@ body > div[style*="top: -50000px"][style*="width: 50000px"] {
|
||||
}
|
||||
|
||||
this.echartsLoadingPromise = (async () => {
|
||||
const url = `${CDN_BASE}/echarts@${CDN_VERSIONS.echarts}/+esm`;
|
||||
// Use the pre-built ESM bundle which includes all chart types and components.
|
||||
// The +esm wrapper only exports the core without auto-registered chart types.
|
||||
const url = `${CDN_BASE}/echarts@${CDN_VERSIONS.echarts}/dist/echarts.esm.min.js`;
|
||||
const module = await import(/* @vite-ignore */ url);
|
||||
|
||||
this.echartsLib = {
|
||||
|
||||
Reference in New Issue
Block a user