From 5160e476ca856d55f476682d624761a52eda740c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Radek=20Pu=C5=A1?= <pusradek@fit.cvut.cz>
Date: Thu, 16 Jan 2020 03:32:42 +0100
Subject: [PATCH] change: chart - transaction size labels legend under the
 graphs

---
 .../home/home-chart-definitions.service.ts    | 26 ++++++++++++++++++-
 1 file changed, 25 insertions(+), 1 deletion(-)

diff --git a/Core/Core/ClientApp/src/app/home/home-chart-definitions.service.ts b/Core/Core/ClientApp/src/app/home/home-chart-definitions.service.ts
index e9953da..7681bf3 100644
--- a/Core/Core/ClientApp/src/app/home/home-chart-definitions.service.ts
+++ b/Core/Core/ClientApp/src/app/home/home-chart-definitions.service.ts
@@ -115,7 +115,7 @@ export class HomeChartDefinitionsService {
         type: 'pie'
       },
       title: {
-        text: 'celková velikost transakcí'
+        text: 'Celková velikost transakcí'
       },
       credits: {
         enabled: false
@@ -129,6 +129,14 @@ export class HomeChartDefinitionsService {
       lang: {
         noData: "Žádná data k zobrazení"
       },
+      plotOptions: {
+        pie: {
+          dataLabels: {
+            enabled: false
+          },
+          showInLegend: true
+        }
+      },
       series: [
         {
           name: 'Výdaje',
@@ -224,6 +232,14 @@ export class HomeChartDefinitionsService {
       lang: {
         noData: "Žádná data k zobrazení"
       },
+      plotOptions: {
+        pie: {
+          dataLabels: {
+            enabled: false
+          },
+          showInLegend: true
+        }
+      },
       series: [
         {
           name: 'Line 1',
@@ -341,6 +357,14 @@ export class HomeChartDefinitionsService {
       title: {
         text: 'celková velikost výdajů na následující týden'
       },
+      plotOptions: {
+        pie: {
+          dataLabels: {
+            enabled: false
+          },
+          showInLegend: true
+        }
+      },
       credits: {
         enabled: false
       },
-- 
GitLab