From 41efe3b3f4596fdbbfb574a2690705534d31388c Mon Sep 17 00:00:00 2001 From: Anton Romanov Date: Mon, 5 Apr 2021 13:13:53 +0400 Subject: [PATCH] #18 -- fix width --- src/main/resources/templates/statistic.html | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/main/resources/templates/statistic.html b/src/main/resources/templates/statistic.html index 7a42dc4..7d69ac3 100644 --- a/src/main/resources/templates/statistic.html +++ b/src/main/resources/templates/statistic.html @@ -26,6 +26,8 @@ var options = { title: '% коммитов авторов', is3D: true, + width:600, + height:300, pieResidueSliceLabel: 'Остальные' }; var chart = new google.visualization.PieChart(document.getElementById('air')); @@ -46,15 +48,18 @@ var options = { title: 'Добыча нефти', hAxis: {title: 'Год'}, - vAxis: {title: 'Тыс. тонн'} + vAxis: {title: 'Тыс. тонн', + width:600, + height:300} }; var chart = new google.visualization.ColumnChart(document.getElementById('oil')); chart.draw(data, options); } + -
-
- -

+
+
+
+