mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-23 19:45:15 +00:00
Fix imports for Cumprofit
This commit is contained in:
parent
6a73c48f88
commit
30c93ac1c3
|
@ -12,11 +12,28 @@ import { EChartsOption } from 'echarts';
|
||||||
import { use } from 'echarts/core';
|
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 { TitleComponent, TooltipComponent, LegendComponent } from 'echarts/components';
|
import {
|
||||||
|
DatasetComponent,
|
||||||
|
DataZoomComponent,
|
||||||
|
LegendComponent,
|
||||||
|
TitleComponent,
|
||||||
|
TooltipComponent,
|
||||||
|
} from 'echarts/components';
|
||||||
|
|
||||||
import { ClosedTrade, CumProfitData } from '@/types';
|
import { ClosedTrade, CumProfitData } from '@/types';
|
||||||
|
|
||||||
use([BarChart, LineChart, CanvasRenderer, TitleComponent, TooltipComponent, LegendComponent]);
|
use([
|
||||||
|
BarChart,
|
||||||
|
LineChart,
|
||||||
|
|
||||||
|
CanvasRenderer,
|
||||||
|
|
||||||
|
DatasetComponent,
|
||||||
|
DataZoomComponent,
|
||||||
|
LegendComponent,
|
||||||
|
TitleComponent,
|
||||||
|
TooltipComponent,
|
||||||
|
]);
|
||||||
|
|
||||||
// Define Column labels here to avoid typos
|
// Define Column labels here to avoid typos
|
||||||
const CHART_PROFIT = 'Profit';
|
const CHART_PROFIT = 'Profit';
|
||||||
|
|
Loading…
Reference in New Issue
Block a user