gc_out4_test.html 1020 Bytes
Newer Older
Pietro Incardona's avatar
Pietro Incardona committed
1 2 3 4 5 6 7 8 9
<html>
  <head>
    <script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
    <script type="text/javascript">
      google.charts.load('current', {'packages':['corechart']});
      google.charts.setOnLoadCallback(drawVisualization);


      function drawVisualization() {
Pietro Incardona's avatar
Pietro Incardona committed
10 11 12 13 14 15 16 17 18 19 20 21 22
var data0 = new google.visualization.DataTable();
data0.addColumn('string','');
data0.addColumn('number','dataset1');
data0.addColumn('number','dataset2');
data0.addColumn('number','dataset3');
data0.addColumn('number','dataset4');
data0.addRows([
['colum1',2.2,1.3,4.5,0.6],
['colum2',5,6.1,1.3,2.6],
['colum3',2.1,1,6.1,9.3],
['colum4',1.1,6.1,3,2],
['colum5',3.3,0.3,0,6.2],
['colum6',2,1.1,4,6.1],
Pietro Incardona's avatar
Pietro Incardona committed
23 24 25 26 27
]);
var options0= {
title : '',
vAxis: {title: ''},
hAxis: {title: ''},
Pietro Incardona's avatar
Pietro Incardona committed
28
seriesType: ''};
Pietro Incardona's avatar
Pietro Incardona committed
29 30 31 32 33 34 35
var chart = new google.visualization.ComboChart(document.getElementById('chart_div0'));chart.draw(data0, options0);
}</script>
</head>
<body>
<div id="chart_div0" style="width: 900px; height: 500px;"></div>
</body>
</html>