diff options
Diffstat (limited to 'uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/demo/demo-barchart-c3.js')
-rw-r--r-- | uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/demo/demo-barchart-c3.js | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/demo/demo-barchart-c3.js b/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/demo/demo-barchart-c3.js deleted file mode 100644 index 6f332f1b..00000000 --- a/uiframe-iui/src/main/resources/webroot/vendor/ict/dashboard-jq/demo/demo-barchart-c3.js +++ /dev/null @@ -1,29 +0,0 @@ -var AlarmCount_BarChart_C3 = function (placeholdeC3) {
-
- var callbackList = [];
- var callback = function () {
-
- }
- callbackList.push(callback);
-
- $.ajax({
- "dataType": "json",
- "type": "GET",
- "url": "/web/rest/web/fm/count/total",
- "data": null,
- "Content-Type": "",
- "success": function (json, textStatus, jqXHR) {
- var alarmcount = json;
- var inputData = [];
- for (var i = 0; i < alarmcount.ackedCount.length; i++) {
- inputData.push(alarmcount.unAckedCount[i] + alarmcount.ackedCount[i]);
- }
- //for test
- inputData = [50, 10, 20, 40];
- ICT_Bar_Chart_C3(placeholdeC3, inputData, callbackList);
- },
- "error": function () {
- }
- });
-
-}
|