timeframeMS is not necessary at chart level

This commit is contained in:
Matthias 2020-09-14 08:03:48 +02:00
parent 00cddb4961
commit ea5fb3a72f
2 changed files with 1 additions and 11 deletions

View File

@ -44,8 +44,6 @@ const ftbot = namespace('ftbot');
export default class CandleChartContainer extends Vue {
@Prop({ required: true }) readonly timeframe!: string;
@Prop({ required: true }) readonly timeframems!: number;
@Prop({ required: false, default: [] }) readonly trades!: Array<Trade>;
@Prop({ required: true }) readonly dataset!: PairHistory;

View File

@ -18,13 +18,7 @@
</div>
<div class="row">
<CandleChartContainer
:pair="pair"
:timeframe="timeframe"
:timeframems="timeframems"
:dataset="dataset"
:trades="trades"
>
<CandleChartContainer :pair="pair" :timeframe="timeframe" :dataset="dataset" :trades="trades">
</CandleChartContainer>
</div>
</div>
@ -54,8 +48,6 @@ export default class Graphs extends Vue {
timeframe = '5m';
timeframems = 300000;
historicView = false;
strategy = '';