From 3a93c0b50c7711b2855da261af0c32f6e62d58c6 Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 19 Aug 2020 19:27:59 +0200 Subject: [PATCH] Legend should be shown on the right in dashboard --- src/components/charts/DailyChart.vue | 1 + src/components/charts/HourlyChart.vue | 1 + 2 files changed, 2 insertions(+) diff --git a/src/components/charts/DailyChart.vue b/src/components/charts/DailyChart.vue index f3e25eee..36f51a89 100644 --- a/src/components/charts/DailyChart.vue +++ b/src/components/charts/DailyChart.vue @@ -65,6 +65,7 @@ export default class DailyChart extends Vue { }, legend: { data: [CHART_ABS_PROFIT, CHART_TRADE_COUNT], + right: '5%', }, xAxis: { type: 'category', diff --git a/src/components/charts/HourlyChart.vue b/src/components/charts/HourlyChart.vue index 818ffe0b..eafe0943 100644 --- a/src/components/charts/HourlyChart.vue +++ b/src/components/charts/HourlyChart.vue @@ -69,6 +69,7 @@ export default class HourlyChart extends Vue { }, legend: { data: [CHART_PROFIT, CHART_TRADE_COUNT], + right: '5%', }, xAxis: { type: 'category',