mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-23 19:45:15 +00:00
Fix echarts Imports to have dashboard load right away
This commit is contained in:
parent
30c93ac1c3
commit
1eaa7e0151
|
@ -21,9 +21,10 @@ import { use } from 'echarts/core';
|
||||||
import { CanvasRenderer } from 'echarts/renderers';
|
import { CanvasRenderer } from 'echarts/renderers';
|
||||||
import { LineChart, BarChart } from 'echarts/charts';
|
import { LineChart, BarChart } from 'echarts/charts';
|
||||||
import {
|
import {
|
||||||
|
DatasetComponent,
|
||||||
|
LegendComponent,
|
||||||
TitleComponent,
|
TitleComponent,
|
||||||
TooltipComponent,
|
TooltipComponent,
|
||||||
LegendComponent,
|
|
||||||
VisualMapComponent,
|
VisualMapComponent,
|
||||||
VisualMapPiecewiseComponent,
|
VisualMapPiecewiseComponent,
|
||||||
} from 'echarts/components';
|
} from 'echarts/components';
|
||||||
|
@ -32,9 +33,11 @@ use([
|
||||||
BarChart,
|
BarChart,
|
||||||
LineChart,
|
LineChart,
|
||||||
CanvasRenderer,
|
CanvasRenderer,
|
||||||
|
|
||||||
|
DatasetComponent,
|
||||||
|
LegendComponent,
|
||||||
TitleComponent,
|
TitleComponent,
|
||||||
TooltipComponent,
|
TooltipComponent,
|
||||||
LegendComponent,
|
|
||||||
VisualMapComponent,
|
VisualMapComponent,
|
||||||
VisualMapPiecewiseComponent,
|
VisualMapPiecewiseComponent,
|
||||||
]);
|
]);
|
||||||
|
|
|
@ -13,9 +13,11 @@ import { use } from 'echarts/core';
|
||||||
import { CanvasRenderer } from 'echarts/renderers';
|
import { CanvasRenderer } from 'echarts/renderers';
|
||||||
import { LineChart, BarChart } from 'echarts/charts';
|
import { LineChart, BarChart } from 'echarts/charts';
|
||||||
import {
|
import {
|
||||||
|
DatasetComponent,
|
||||||
|
DataZoomComponent,
|
||||||
|
LegendComponent,
|
||||||
TitleComponent,
|
TitleComponent,
|
||||||
TooltipComponent,
|
TooltipComponent,
|
||||||
LegendComponent,
|
|
||||||
VisualMapComponent,
|
VisualMapComponent,
|
||||||
VisualMapPiecewiseComponent,
|
VisualMapPiecewiseComponent,
|
||||||
} from 'echarts/components';
|
} from 'echarts/components';
|
||||||
|
@ -25,10 +27,14 @@ import { ClosedTrade } from '@/types';
|
||||||
use([
|
use([
|
||||||
BarChart,
|
BarChart,
|
||||||
LineChart,
|
LineChart,
|
||||||
|
|
||||||
CanvasRenderer,
|
CanvasRenderer,
|
||||||
|
|
||||||
|
DatasetComponent,
|
||||||
|
DataZoomComponent,
|
||||||
|
LegendComponent,
|
||||||
TitleComponent,
|
TitleComponent,
|
||||||
TooltipComponent,
|
TooltipComponent,
|
||||||
LegendComponent,
|
|
||||||
VisualMapComponent,
|
VisualMapComponent,
|
||||||
VisualMapPiecewiseComponent,
|
VisualMapPiecewiseComponent,
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user