fix: import echarts-wordcloud plugin in EChartsBase

Without this import, the wordCloud series type is not registered
with echarts, causing wordcloud charts to render blank.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hailin 2026-04-05 20:29:56 -07:00
parent 3bb6dc85c0
commit b124bae83c
1 changed files with 1 additions and 0 deletions

View File

@ -2,6 +2,7 @@
import React, { useEffect, useRef } from 'react'; import React, { useEffect, useRef } from 'react';
import * as echarts from 'echarts'; import * as echarts from 'echarts';
import 'echarts-wordcloud';
import { useThemeStore } from '@/adapters/state/zustand/themeStore'; import { useThemeStore } from '@/adapters/state/zustand/themeStore';
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------