Update names of Daily charts

This commit is contained in:
Matthias 2023-09-03 09:11:24 +02:00
parent f43644fb3a
commit e36f6ac5b4
4 changed files with 10 additions and 6 deletions

View File

@ -20,7 +20,11 @@
></b-form-radio-group>
<div class="ps-1">
<DailyChart v-if="selectedStats" :daily-stats="selectedStatsSorted" :show-title="false" />
<TimePeriodChart
v-if="selectedStats"
:daily-stats="selectedStatsSorted"
:show-title="false"
/>
</div>
<div>
<b-table class="table-sm" :items="selectedStats.data" :fields="dailyFields"> </b-table>
@ -29,7 +33,7 @@
</template>
<script setup lang="ts">
import DailyChart from '@/components/charts/DailyChart.vue';
import TimePeriodChart from '@/components/charts/TimePeriodChart.vue';
import { formatPercent, formatPrice } from '@/shared/formatters';
import { useBotStore } from '@/stores/ftbotwrapper';
import { TableField } from 'bootstrap-vue-next';

View File

@ -28,7 +28,7 @@
drag-allow-from=".drag-header"
>
<DraggableContainer :header="`Daily Profit ${botStore.botCount > 1 ? 'combined' : ''}`">
<DailyChart
<TimePeriodChart
v-if="botStore.allDailyStatsSelectedBots"
:daily-stats="botStore.allDailyStatsSelectedBots"
:show-title="false"
@ -159,7 +159,7 @@
<script setup lang="ts">
import { ref, computed, onMounted } from 'vue';
import DailyChart from '@/components/charts/DailyChart.vue';
import TimePeriodChart from '@/components/charts/TimePeriodChart.vue';
import CumProfitChart from '@/components/charts/CumProfitChart.vue';
import TradesLogChart from '@/components/charts/TradesLog.vue';
import ProfitDistributionChart from '@/components/charts/ProfitDistributionChart.vue';

View File

@ -46,7 +46,7 @@
<Balance />
</b-tab>
<b-tab title="Daily Stats" lazy>
<DailyStats />
<PeriodBreakdown />
</b-tab>
<b-tab title="Pairlist" lazy>
@ -152,7 +152,7 @@ import Balance from '@/components/ftbot/BotBalance.vue';
import BotControls from '@/components/ftbot/BotControls.vue';
import BotStatus from '@/components/ftbot/BotStatus.vue';
import CandleChartContainer from '@/components/charts/CandleChartContainer.vue';
import DailyStats from '@/components/ftbot/DailyStats.vue';
import PeriodBreakdown from '@/components/ftbot/PeriodBreakdown.vue';
import DraggableContainer from '@/components/layout/DraggableContainer.vue';
import PairListLive from '@/components/ftbot/PairListLive.vue';
import PairLockList from '@/components/ftbot/PairLockList.vue';