Browse Source

remove NaN

Michael Mead 8 năm trước cách đây
mục cha
commit
bf40124122
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/api/static/js/dashboard.js

+ 1 - 1
src/api/static/js/dashboard.js

@@ -165,7 +165,7 @@ dashboard = {
         }
 
         Chartist.Pie('#chartPreferences', {
-          labels: percentage,
+          labels: [1,1,1],
           series: [1,2,3]
         });
     })