Prasad Wagle created ZEPPELIN-833: ------------------------------------- Summary: Javascript errors in scatter chart, doesn't respond Key: ZEPPELIN-833 URL: https://issues.apache.org/jira/browse/ZEPPELIN-833 Project: Zeppelin Issue Type: Bug Components: GUI Reporter: Prasad Wagle Priority: Minor
Tested on chrome and firefox. Copy/paste of error from dev tools: vendor.js:91 Error: Invalid value for <path> attribute transform="translate(NaN,244.77383482446376)"g @ vendor.js:91(anonymous function) @ vendor.js:93D @ vendor.js:91sg.each @ vendor.js:93sg.attr @ vendor.js:93(anonymous function) @ vendor.js:100(anonymous function) @ vendor.js:93D @ vendor.js:91sg.each @ vendor.js:93b @ vendor.js:100sg.call @ vendor.js:93(anonymous function) @ vendor.js:100(anonymous function) @ vendor.js:95D @ vendor.js:91Di.each @ vendor.js:95b @ vendor.js:100sg.call @ vendor.js:93p @ scripts.js:2q @ scripts.js:2(anonymous function) @ vendor.js:38e @ vendor.js:36(anonymous function) @ vendor.js:36 vendor.js:91 Error: Invalid value for <line> attribute x1="NaN"g @ vendor.js:91(anonymous function) @ vendor.js:93D @ vendor.js:91sg.each @ vendor.js:93sg.attr @ vendor.js:93(anonymous function) @ vendor.js:97(anonymous function) @ vendor.js:93D @ vendor.js:91sg.each @ vendor.js:93b @ vendor.js:97sg.call @ vendor.js:93(anonymous function) @ vendor.js:100(anonymous function) @ vendor.js:95D @ vendor.js:91Di.each @ vendor.js:95b @ vendor.js:100sg.call @ vendor.js:93p @ scripts.js:2q @ scripts.js:2(anonymous function) @ vendor.js:38e @ vendor.js:36(anonymous function) @ vendor.js:36 vendor.js:91 Error: Invalid value for <line> attribute x2="NaN"g @ vendor.js:91(anonymous function) @ vendor.js:93D @ vendor.js:91sg.each @ vendor.js:93sg.attr @ vendor.js:93(anonymous function) @ vendor.js:97(anonymous function) @ vendor.js:93D @ vendor.js:91sg.each @ vendor.js:93b @ vendor.js:97sg.call @ vendor.js:93(anonymous function) @ vendor.js:100(anonymous function) @ vendor.js:95D @ vendor.js:91Di.each @ vendor.js:95b @ vendor.js:100sg.call @ vendor.js:93p @ scripts.js:2q @ scripts.js:2(anonymous function) @ vendor.js:38e @ vendor.js:36(anonymous function) @ vendor.js:36 note.json: { "paragraphs": [ { "text": "%hive(presto)\nselect dim1, count(distinct metric)\nfrom t", "dateUpdated": "Apr 28, 2016 11:03:05 AM", "config": { "colWidth": 12.0, "graph": { "mode": "scatterChart", "height": 300.0, "optionOpen": false, "keys": [ { "name": "dim1", "index": 0.0, "aggr": "sum" } ], "values": [ { "name": "_col1", "index": 1.0, "aggr": "sum" } ], "groups": [], "scatter": { "xAxis": { "name": "dim1", "index": 0.0, "aggr": "sum" }, "yAxis": { "name": "_col1", "index": 1.0, "aggr": "sum" } } }, "enabled": true, "editorMode": "ace/mode/scala" }, "settings": { "params": {}, "forms": {} }, "jobName": "paragraph_1461865448669_1028176536", "id": "20160428-104408_2037245407", "result": { "code": "SUCCESS", "type": "TABLE", "msg": "dim1\t_col1\nc1\t70459721\nc2\t20440884\nc3\t15608886\nc4\t4973820\nc4\t4026670\nc4\t3772231\nc4\t3228446\n\t2521706\nru\t2196747\nid\t2138984\nde\t1344626\nit\t1217211\nko\t1158692\nen-gb\t1125220\nnl\t871600\nth\t665649\nen-GB\t521633\nnull\t398314\nsv\t322151\npl\t238499\n" }, "dateCreated": "Apr 28, 2016 10:44:08 AM", "dateStarted": "Apr 28, 2016 10:45:03 AM", "dateFinished": "Apr 28, 2016 10:46:09 AM", "status": "FINISHED", "progressUpdateIntervalMs": 500 }, { "config": {}, "settings": { "params": {}, "forms": {} }, "jobName": "paragraph_1461865503721_829523510", "id": "20160428-104503_801251760", "dateCreated": "Apr 28, 2016 10:45:03 AM", "status": "READY", "progressUpdateIntervalMs": 500 } ], "name": "js bug", "id": "2BGJD7K69", "angularObjects": { "2B6AQHG1G": [], "2B7W4BKRN": [], "2B4KHMMP7": [] }, "config": {}, "info": {} } -- This message was sent by Atlassian JIRA (v6.3.4#6332)