Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4041

d3 in Design Studio 1.5

$
0
0

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...


Viewing all articles
Browse latest Browse all 4041

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>