Explorar o código

donut network chart

tBKwtWS %!s(int64=7) %!d(string=hai) anos
pai
achega
ddf8cbc0eb
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      webgui/stats/templates/stats/networks.html

+ 2 - 2
webgui/stats/templates/stats/networks.html

@@ -40,8 +40,8 @@
               function drawChart() {
                 var data = google.visualization.arrayToDataTable([
                   ['Network', 'Users seen'],
-                  {% for network in networklist %}
-                    ['{{ network }}',     {{ networklist.GamerGalaxy }}],
+                  {% for network, users in networklist.items %}
+                    ['{{ network }}',     {{ users }}],
                   {% endfor %}
                   
                 ]);