From 04cc6d11afc15254fbe13a30cc5558aedc822070 Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 30 Sep 2020 15:20:58 +0200 Subject: [PATCH] Chart styling --- src/components/charts/CandleChart.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/charts/CandleChart.vue b/src/components/charts/CandleChart.vue index 05768e5d..f25a75af 100644 --- a/src/components/charts/CandleChart.vue +++ b/src/components/charts/CandleChart.vue @@ -114,7 +114,7 @@ export default class CandleChart extends Vue { text: `${this.strategy} - ${this.pair} - ${this.timeframe}`, show: true, }, - backgroundColor: '#231202D', + backgroundColor: '#1b1b1b', useUTC: this.useUTC, dataset: { source: this.dataset.data, @@ -195,7 +195,7 @@ export default class CandleChart extends Vue { left: MARGINLEFT, right: MARGINRIGHT, // Grid Layout from bottom to top - bottom: `${subplotCount * 10}%`, + bottom: `${subplotCount * 10 + 5}%`, height: '10%', }, ], @@ -374,8 +374,8 @@ export default class CandleChart extends Vue { options.grid.push({ left: MARGINLEFT, right: MARGINRIGHT, - bottom: `${plotIndex * 50}px`, - height: '50px', + bottom: `${plotIndex * 8}%`, + height: '8%', }); } Object.entries(value).forEach(([sk, sv]) => {