From 4d393d9265bbfc60de92cf9084dd324d48502c6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9?= Date: Wed, 25 Jul 2018 01:09:19 +0200 Subject: [PATCH] [Web] Remove title from Rspamd graph --- data/web/js/debug.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/data/web/js/debug.js b/data/web/js/debug.js index 3128b409..23cf826e 100644 --- a/data/web/js/debug.js +++ b/data/web/js/debug.js @@ -302,8 +302,8 @@ jQuery(function($){ var data = google.visualization.arrayToDataTable(graphdata); var options = { - title: 'Rspamd Visualization Chart', is3D: true, + sliceVisibilityThreshold: 0, pieSliceText: 'percentage', chartArea: { left: 0, @@ -312,6 +312,7 @@ jQuery(function($){ width: '100%', height: '100%' }, + slices: { 0: { color: '#DC3023' }, 1: { color: '#59ABE3' },