From 051f64d5f015ff9c0532b18f3668b481c02a8b02 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 10 Oct 2021 15:16:27 +0200 Subject: [PATCH] Move Strategy name to above candlechart --- src/components/charts/CandleChart.vue | 4 +-- .../charts/CandleChartContainer.vue | 26 ++++++++++++------- 2 files changed, 19 insertions(+), 11 deletions(-) diff --git a/src/components/charts/CandleChart.vue b/src/components/charts/CandleChart.vue index 35f6a522..ac0aaf65 100644 --- a/src/components/charts/CandleChart.vue +++ b/src/components/charts/CandleChart.vue @@ -140,8 +140,8 @@ export default class CandleChart extends Vue { this.chartOptions = { title: [ { - text: this.chartTitle, - show: true, + // text: this.chartTitle, + show: false, }, ], backgroundColor: 'rgba(0, 0, 0, 0)', diff --git a/src/components/charts/CandleChartContainer.vue b/src/components/charts/CandleChartContainer.vue index 818fd1dc..a6598c14 100644 --- a/src/components/charts/CandleChartContainer.vue +++ b/src/components/charts/CandleChartContainer.vue @@ -13,16 +13,20 @@
-
- +
+ {{ strategyName }} | {{ timeframe || '' }} + -
-
- -
-
- Buysignals: {{ dataset.buy_signals }} - SellSignals: {{ dataset.sell_signals }} + + + Buysignals: {{ dataset.buy_signals }} + SellSignals: {{ dataset.sell_signals }}