diff --git a/js/app/charts.js b/js/app/charts.js index 626dabd08..b0428772a 100644 --- a/js/app/charts.js +++ b/js/app/charts.js @@ -85,6 +85,7 @@ if (window.Apex) { plotOptions: { pie: { + customScale: 1, expandOnClick: false, dataLabels: { offset: -8, @@ -96,6 +97,7 @@ if (window.Apex) { stroke: { width: 2, curve: 'smooth', + lineCap: "round", }, fill: { @@ -126,11 +128,16 @@ if (window.Apex) { }, title: { + margin: 0, style: { fontSize: '14px', } }, + subtitle: { + margin: 0, + }, + tooltip: { fillSeriesColor: false }, diff --git a/pages/_data/charts.yml b/pages/_data/charts.yml index 480ef7401..adba95c84 100644 --- a/pages/_data/charts.yml +++ b/pages/_data/charts.yml @@ -235,6 +235,7 @@ pie: type: pie hide-legend: true show-data-labels: true + sparkline: true series: - name: A color: blue-darker diff --git a/pages/_includes/js/charts.html b/pages/_includes/js/charts.html index 05937a4a4..796068eb3 100644 --- a/pages/_includes/js/charts.html +++ b/pages/_includes/js/charts.html @@ -5,11 +5,12 @@