Organize cumProfit imports

This commit is contained in:
Matthias 2023-05-25 19:52:52 +02:00
parent 1fcf8ed125
commit 6fe56a857e

View File

@ -3,34 +3,31 @@
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
import ECharts from 'vue-echarts';
import { EChartsOption } from 'echarts'; import { EChartsOption } from 'echarts';
import ECharts from 'vue-echarts';
import { use } from 'echarts/core'; import { BarChart, LineChart } from 'echarts/charts';
import { CanvasRenderer } from 'echarts/renderers';
import { LineChart, BarChart } from 'echarts/charts';
import { import {
DatasetComponent,
DataZoomComponent, DataZoomComponent,
DatasetComponent,
LegendComponent, LegendComponent,
TitleComponent, TitleComponent,
TooltipComponent, TooltipComponent,
} from 'echarts/components'; } from 'echarts/components';
import { use } from 'echarts/core';
import { CanvasRenderer } from 'echarts/renderers';
import { dataZoomPartial } from '@/shared/charts/chartZoom';
import { useSettingsStore } from '@/stores/settings';
import { import {
ClosedTrade, ClosedTrade,
CumProfitChartData,
CumProfitData, CumProfitData,
CumProfitDataPerDate, CumProfitDataPerDate,
CumProfitChartData,
Trade, Trade,
} from '@/types'; } from '@/types';
import { computed } from 'vue';
import { useSettingsStore } from '@/stores/settings';
import { dataZoomPartial } from '@/shared/charts/chartZoom';
import { ref } from 'vue';
import { onMounted } from 'vue';
import { watch } from 'vue';
import { watchThrottled } from '@vueuse/core'; import { watchThrottled } from '@vueuse/core';
import { computed, onMounted, ref } from 'vue';
use([ use([
BarChart, BarChart,