var d3div= "#holder_"+this.divName; var thisObj=this; $.getScript('https://my.infocaptor.com/dash/js/d3.v3.min.js', function(data, textStatus){ buildBubbles(); }); function buildBubbles() { var width = thisObj.dWidth; var height = thisObj.dHeight; var maxSize=Math.min(width,height); var diameter = maxSize, format = d3.format(",d"), color = d3.scale.category20c(); var bubble = d3.layout.pack() .sort(null) .size([diameter, diameter]) .padding(1.5); var svg = d3.select(d3div).append("svg") .attr("width", diameter) .attr("height", diameter) .attr("class", "bubble"); var col_names=glb["_json"]["legends"]; var data=glb["_odata"]; var dobj=[]; for (var di=0;di'); $('body').append(tooltipDivID); } if (!pShow) { tooltipDivID.hide(); return;} //MT.tooltipDivID.empty().append(pMessage); tooltipDivID.html(pMessage); tooltipDivID.css({top:pY,left:pX}); tooltipDivID.show(); } function getToolTipMessage(pIndex) { var tipStr=""; for (var li=0;li"; } return tipStr; } }