Hi,
I am trying to create a SDK control using d3.
I have the following code in my script:
var projection = d3.geo.mercator()
.scale(150)
.translate([width / 2, height / 1.5]);
and I get the following error:
!ENTRY com.sap.ip.bi.zen 4 0 2015-05-27 21:34:45.369
!MESSAGE Error message: 'd3' is undefined Line Number: 20 Pos: 3 Function: function() {
I tried to include the d3 in the contribution.xml (found on another post), but it didn't work for me.
<jsInclude>res/js/component.js</jsInclude>
<cssInclude>res/css/component.css</cssInclude>
<stdInclude kind="d3"/>
Thanks in advance...