From 3ab7200f698c485bcdd9f5168f6f2b90d2c514d8 Mon Sep 17 00:00:00 2001 From: codecalm Date: Sun, 15 Nov 2020 15:04:06 +0100 Subject: [PATCH] small fixes --- src/pages/_includes/cards/most-visited-pages.html | 2 +- src/pages/_includes/ui/chart-sparkline.html | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/pages/_includes/cards/most-visited-pages.html b/src/pages/_includes/cards/most-visited-pages.html index fc0366d6c..0689c207e 100644 --- a/src/pages/_includes/cards/most-visited-pages.html +++ b/src/pages/_includes/cards/most-visited-pages.html @@ -24,7 +24,7 @@ {{ page.visitors | format_number }} {{ page.unique | format_number }} {{ page.bounce-rate }} - + {% include ui/chart-sparkline.html type="line" data=data %} diff --git a/src/pages/_includes/ui/chart-sparkline.html b/src/pages/_includes/ui/chart-sparkline.html index e76d033db..efe00d826 100644 --- a/src/pages/_includes/ui/chart-sparkline.html +++ b/src/pages/_includes/ui/chart-sparkline.html @@ -30,6 +30,10 @@ enabled: true }, }, + tooltip: { + enabled: false, + }, + {% if type == 'donut' %} plotOptions: { radialBar: { hollow: { @@ -44,6 +48,7 @@ } } }, + {% endif %} {% if type == 'area' or type == 'line' %} stroke: { width: 2,