Browse Source

[Web] Remove title from Rspamd graph

André 7 năm trước cách đây
mục cha
commit
4d393d9265
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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 data = google.visualization.arrayToDataTable(graphdata);
 
 
           var options = {
           var options = {
-            title: 'Rspamd Visualization Chart',
             is3D: true,
             is3D: true,
+            sliceVisibilityThreshold: 0,
             pieSliceText: 'percentage',
             pieSliceText: 'percentage',
             chartArea: {
             chartArea: {
               left: 0,
               left: 0,
@@ -312,6 +312,7 @@ jQuery(function($){
               width: '100%',
               width: '100%',
               height: '100%'
               height: '100%'
             },
             },
+      
             slices: {
             slices: {
               0: { color: '#DC3023' },
               0: { color: '#DC3023' },
               1: { color: '#59ABE3' },
               1: { color: '#59ABE3' },