diff --git a/src/main/webapp/scripts/directives/scatter.js b/src/main/webapp/scripts/directives/scatter.js index 7f92da72c..09f40ed5c 100644 --- a/src/main/webapp/scripts/directives/scatter.js +++ b/src/main/webapp/scripts/directives/scatter.js @@ -137,9 +137,24 @@ pinpointApp.directive('scatter', // STOP return -1; }, - htOption: cfg.options.htOption, - index: cfg.options.index, - type: cfg.options.type + htOption: { + headers: { + accept: 'application/jsonp', + contentType: 'application/jsonp' + }, + dataType: 'jsonp', + jsonp: '_callback' + }, + index: { + x: 0, + y: 1, + transactionId: 2, + type: 3 + }, + type: { + '0': 'Failed', + '1': 'Success' + } }; return htDataSource; };