From 2681f37063de7073070f386c0915555f1d94287e Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 13 Nov 2021 08:26:37 +0100 Subject: [PATCH] Align charts, remove unneeded 2nd axis on cumprofitchart --- src/components/charts/CumProfitChart.vue | 7 ------- src/components/charts/DailyChart.vue | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/src/components/charts/CumProfitChart.vue b/src/components/charts/CumProfitChart.vue index 5b57846e..72757c6b 100644 --- a/src/components/charts/CumProfitChart.vue +++ b/src/components/charts/CumProfitChart.vue @@ -139,13 +139,6 @@ export default class CumProfitChart extends Vue { nameLocation: 'middle', nameGap: 40, }, - { - type: 'value', - name: CHART_TRADE_COUNT, - nameRotate: 90, - nameLocation: 'middle', - nameGap: 30, - }, ], grid: { bottom: 80, diff --git a/src/components/charts/DailyChart.vue b/src/components/charts/DailyChart.vue index 605fb2d7..0b39194f 100644 --- a/src/components/charts/DailyChart.vue +++ b/src/components/charts/DailyChart.vue @@ -124,7 +124,7 @@ export default class DailyChart extends Vue { }, nameRotate: 90, nameLocation: 'middle', - nameGap: 50, + nameGap: 40, }, { type: 'value',