diff --git a/app/templates/net_worth/net_worth.html b/app/templates/net_worth/net_worth.html index 19630da..d89c3b2 100644 --- a/app/templates/net_worth/net_worth.html +++ b/app/templates/net_worth/net_worth.html @@ -141,9 +141,13 @@ -
- - +
+
+ +
+
+ +
@@ -157,6 +161,7 @@ type: 'line', data: chartData, options: { + maintainAspectRatio: false, responsive: true, interaction: { mode: 'index', @@ -210,6 +215,7 @@ type: 'line', data: chartData, options: { + maintainAspectRatio: false, responsive: true, interaction: { mode: 'index', @@ -265,7 +271,7 @@ end call chart.update() end - + def showOnlyCurrencyDataset(datasetName) set chart to Chart.getChart('currencyBalanceChart') for dataset in chart.data.datasets @@ -274,7 +280,7 @@ end call chart.update() end - + def showAllDatasetsAccount() set chart to Chart.getChart('accountBalanceChart') for dataset in chart.data.datasets @@ -282,7 +288,7 @@ end call chart.update() end - + def showAllDatasetsCurrency() set chart to Chart.getChart('currencyBalanceChart') for dataset in chart.data.datasets