mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-23 11:35:14 +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 { LineChart, BarChart } from 'echarts/charts';
|
||||
import {
|
||||
DatasetComponent,
|
||||
LegendComponent,
|
||||
TitleComponent,
|
||||
TooltipComponent,
|
||||
LegendComponent,
|
||||
VisualMapComponent,
|
||||
VisualMapPiecewiseComponent,
|
||||
} from 'echarts/components';
|
||||
|
@ -32,9 +33,11 @@ use([
|
|||
BarChart,
|
||||
LineChart,
|
||||
CanvasRenderer,
|
||||
|
||||
DatasetComponent,
|
||||
LegendComponent,
|
||||
TitleComponent,
|
||||
TooltipComponent,
|
||||
LegendComponent,
|
||||
VisualMapComponent,
|
||||
VisualMapPiecewiseComponent,
|
||||
]);
|
||||
|
|
|
@ -13,9 +13,11 @@ import { use } from 'echarts/core';
|
|||
import { CanvasRenderer } from 'echarts/renderers';
|
||||
import { LineChart, BarChart } from 'echarts/charts';
|
||||
import {
|
||||
DatasetComponent,
|
||||
DataZoomComponent,
|
||||
LegendComponent,
|
||||
TitleComponent,
|
||||
TooltipComponent,
|
||||
LegendComponent,
|
||||
VisualMapComponent,
|
||||
VisualMapPiecewiseComponent,
|
||||
} from 'echarts/components';
|
||||
|
@ -25,10 +27,14 @@ import { ClosedTrade } from '@/types';
|
|||
use([
|
||||
BarChart,
|
||||
LineChart,
|
||||
|
||||
CanvasRenderer,
|
||||
|
||||
DatasetComponent,
|
||||
DataZoomComponent,
|
||||
LegendComponent,
|
||||
TitleComponent,
|
||||
TooltipComponent,
|
||||
LegendComponent,
|
||||
VisualMapComponent,
|
||||
VisualMapPiecewiseComponent,
|
||||
]);
|
||||
|
|
Loading…
Reference in New Issue
Block a user