Showing
1 changed file
with
1 additions
and
2 deletions
@@ -108,7 +108,6 @@ | @@ -108,7 +108,6 @@ | ||
108 | type: "aws" | 108 | type: "aws" |
109 | }, | 109 | }, |
110 | success: function (response) { | 110 | success: function (response) { |
111 | - alert(response) | ||
112 | updatePieApi(response.data) | 111 | updatePieApi(response.data) |
113 | }, | 112 | }, |
114 | error: function (e) { | 113 | error: function (e) { |
@@ -168,7 +167,7 @@ | @@ -168,7 +167,7 @@ | ||
168 | var pieData = []; | 167 | var pieData = []; |
169 | 168 | ||
170 | var pieLend = []; | 169 | var pieLend = []; |
171 | - alert(data) | 170 | + |
172 | for (var i = 0; i < data.length; i++) { | 171 | for (var i = 0; i < data.length; i++) { |
173 | pieData.push({name: data[i].name, value: data[i].count}); | 172 | pieData.push({name: data[i].name, value: data[i].count}); |
174 | 173 |
-
Please register or login to post a comment