From 115fbc85dba2d02f3ed3fcdc7ff752514e897747 Mon Sep 17 00:00:00 2001 From: Denny Lim Date: Mon, 21 Apr 2014 02:12:28 +0000 Subject: [PATCH] =?UTF-8?q?[=EC=9E=84=EB=8C=80=ED=98=84]=20#99=20getScatte?= =?UTF-8?q?r.pinpoint=20=ED=98=B8=EC=B6=9C=20=EC=A1=B0=ED=9A=8C=EC=8B=9C?= =?UTF-8?q?=20mime=20=ED=83=80=EC=9E=85=EC=9D=84=20json,=20jsonp=EB=A1=9C?= =?UTF-8?q?=20=EA=B5=AC=EB=B6=84=ED=95=B4=EC=A3=BC=EC=84=B8=EC=9A=94.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-web/trunk@3702 84d0f5b1-2673-498c-a247-62c4ff18d310 --- src/main/webapp/scripts/directives/scatter.js | 21 ++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) 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; };