on 05-02-2016 8:03 PM
Hi all,
The extension is one that I built in SAP Web IDE and is a calendar heat map. It looks like I am not able to attach the zip file for the extension or the .xls file so please message me and I can send that to you personally if you are able to help. It works in visualize however when I click on compose it just loops.
I am not sure why it loops, any guidance would be greatly appreciated!
Thanks!
Mandy
Hi,
Can you say what type of error its coming. Just use debugger and check where the error comes.
Thanks,
Pradeep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pradeep,
This is the error I get:
"TypeError: Cannot read property 'length' of undefined
at d3_time_parse (http://127.0.0.1:49245/h5v2/resources/libs/d3.js:2456:58)
at format.parse (http://127.0.0.1:49245/h5v2/resources/libs/d3.js:2439:16)
at Array.<anonymous> (http://127.0.0.1:49245/sap/bi/bundles/suncor/viz/ext/calendarheatmap/suncor_viz_ext_calendarheatmap-...)
at Object.d3.extent (http://127.0.0.1:49245/h5v2/resources/libs/d3.js:73:38)
at render (http://127.0.0.1:49245/sap/bi/bundles/suncor/viz/ext/calendarheatmap/suncor_viz_ext_calendarheatmap-...)
at Object._util.toTable (http://127.0.0.1:49245/sap/bi/bundles/suncor/viz/ext/calendarheatmap/suncor_viz_ext_calendarheatmap-...)
at processData (http://127.0.0.1:49245/sap/bi/bundles/suncor/viz/ext/calendarheatmap/suncor_viz_ext_calendarheatmap-...)
at SVGGElement.<anonymous> (http://127.0.0.1:49245/sap/bi/bundles/suncor/viz/ext/calendarheatmap/suncor_viz_ext_calendarheatmap-...)"
What is your e-mail so I can send you the source code?
Thanks!
Mandy
What might be happening here is if some of your fields have null values in some of the records, then you are not checking for that.
Specifically - does your code have any kind of check to see if the value being used is null?
e.g.
Field 1 Field 2 Field 3
DateVal1 DateVal2 DateVal3
DateVal4 <Null value> DateVal5
DateVal6 DateVal7 DateVal8
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.