From cfe8dfd864de80a65ed891fedd3133e742c21458 Mon Sep 17 00:00:00 2001 From: Lukas Winkler Date: Mon, 18 Jun 2018 15:36:21 +0200 Subject: replace sparkline library with modern equivalent (#12066) * replace sparkline library with modern equivalent * test setting $enableSparklineImages to true for UI tests * update LEGALNOTICE * add minimum and maximum dots * further improve sparklines - no minimum/maximum if they are the same - add offset to the top so that maximum isn't stuck at the border - doubled resolution of image as it was a bit blurry and it's still <1.5KB * fix display size of sparklines * make Sparklines red * fix sparkline size in rowEvoluton * change line colors to black * lastPoint and padding * update Sparkline to new version * remove possibility to disable sparklines ($enableSparklineImages) * handle formatted numbers * Updates UI files --- composer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'composer.json') diff --git a/composer.json b/composer.json index dfef0d84fe..80decdbecb 100644 --- a/composer.json +++ b/composer.json @@ -47,7 +47,8 @@ "piwik/piwik-php-tracker": "^1.0", "composer/semver": "~1.3.0", "szymach/c-pchart": "^2.0", - "geoip2/geoip2": "^2.8" + "geoip2/geoip2": "^2.8", + "davaxi/sparkline": "^1.1" }, "require-dev": { "aws/aws-sdk-php": "2.7.1", -- cgit v1.2.3