瀏覽代碼

[Web] Remove title from Rspamd graph

André 7 年之前
父節點
當前提交
4d393d9265
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      data/web/js/debug.js

+ 2 - 1
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' },