From 69253d9a7f06dc4ca580ced9bd0874f28dc2ad5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Wed, 24 Oct 2018 12:51:14 -0400 Subject: [PATCH] use chart.js legend --- public/src/admin/general/dashboard.js | 2 +- src/views/admin/general/dashboard.tpl | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/public/src/admin/general/dashboard.js b/public/src/admin/general/dashboard.js index 7a66a69920..0d1de17e4c 100644 --- a/public/src/admin/general/dashboard.js +++ b/public/src/admin/general/dashboard.js @@ -227,7 +227,7 @@ define('admin/general/dashboard', ['semver', 'Chart', 'translator', 'benchpress' options: { responsive: true, legend: { - display: false, + display: true, }, scales: { yAxes: [{ diff --git a/src/views/admin/general/dashboard.tpl b/src/views/admin/general/dashboard.tpl index b4eb886c90..20609fb6a5 100644 --- a/src/views/admin/general/dashboard.tpl +++ b/src/views/admin/general/dashboard.tpl @@ -5,10 +5,6 @@
-
    -
  • [[admin/general/dashboard:page-views]]
  • -
  • [[admin/general/dashboard:unique-visitors]]
  • -