Hello all; I am trying to embed google bubble chart in my OBIEE analysis. I have listed my code below. Could you please advise whats missing? because my chart is not showing up..
Thanks in Advance In my narrative view: Prefix: <script type="text/javascript" src="https://www.google.com/jsapi"></script> <script type="text/javascript"> if(document.URL.indexOf("saw.dll?Answers") == -1) { google.load("visualization", "1", {packages:["corechart"]}); google.setOnLoadCallback(drawChart); function drawChart() { // Create and populate the data table. var data = new google.visualization.DataTable(); data.addColumn('string', 'Departments'); data.addColumn('number', 'Actual Sales'); data.addColumn('number', 'Average Performance'); data.addColumn('number', '% Benchmark Achieved'); Var myArray=[]; } Narrative: myArray.push([@1,@5,@9,@12]); Post Fix data.addRows(myArray); var chart = new google.visualization.BubbleChart(document.getElementById('chart_div')); chart.draw(data, options); } </script> <div id="chart_div" style="width: 900px; height: 500px;"></div> -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout.
