We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2df7014 commit 4253a84Copy full SHA for 4253a84
packages/sveltecharts/src/lib/SVECharts.svelte
@@ -15,7 +15,6 @@
15
import { LabelLayout } from 'echarts/features';
16
import { CanvasRenderer } from 'echarts/renderers';
17
import type { ECharts, EChartsOption } from './types';
18
- import 'echarts/theme/dark.js';
19
20
// Register the required components
21
use([
@@ -101,7 +100,7 @@
101
100
};
102
103
function chartAction(element: HTMLElement) {
104
- instance = init(element, isDark ? 'dark' : undefined, { renderer });
+ instance = init(element, undefined, { renderer });
105
106
const handleResize = () => {
107
instance.resize();
0 commit comments