Skip to content
Snippets Groups Projects
Commit a4c92cee authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Fixing getPos

parent ca16d911
No related branches found
No related tags found
No related merge requests found
<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() {
var data0 = new google.visualization.DataTable();
data0.addColumn('number','iteration');
data0.addColumn('number','line0');
data0.addRows([
[0,18010.3],
[100,18010.5],
[200,16751.9],
[300,23684.3],
[400,23433.6],
[500,22997.1],
[600,24500.7],
[700,23194.2],
[800,23649.7],
[900,23663.8],
[1000,23838.5],
[1100,24004.5],
[1200,23994.6],
[1300,23702.6],
[1400,23636.1],
[1500,23877.8],
[1600,24171.7],
[1700,23985],
[1800,23507],
[1900,23308.7],
[2000,23820.8],
[2100,23417.1],
[2200,23607.6],
[2300,23670.5],
[2400,23722],
[2500,23757.4],
[2600,23914.1],
[2700,23541.1],
[2800,23037.1],
[2900,23520],
[3000,24058.2],
[3100,23087.6],
[3200,22901],
[3300,23182.9],
[3400,23352.6],
[3500,22819.6],
[3600,22970.7],
[3700,22831.1],
[3800,22506.7],
[3900,22614.4],
[4000,22716.8],
[4100,22969.7],
[4200,22976.2],
[4300,22690.9],
[4400,22382],
[4500,22731.3],
[4600,22547.5],
[4700,22194],
[4800,22350.9],
[4900,22686.1],
[5000,22328.7],
[5100,22629.4],
[5200,22597.8],
[5300,22272.9],
[5400,22649.2],
[5500,22057.9],
[5600,22137.9],
[5700,22347.8],
[5800,22465.9],
[5900,22530.8],
[6000,22393.6],
[6100,22117.9],
[6200,22008.9],
[6300,21868.5],
[6400,21330.7],
[6500,21390.1],
[6600,21782.7],
[6700,21393.1],
[6800,21718.1],
[6900,21874.9],
[7000,21867.5],
[7100,21453.3],
[7200,21734.5],
[7300,21439.8],
[7400,21454.8],
[7500,21700.6],
[7600,21638.9],
[7700,20965.1],
[7800,20846.4],
[7900,20689.3],
[8000,20758.1],
[8100,21154.9],
[8200,20726.4],
[8300,20594.4],
[8400,20460.2],
[8500,20694],
[8600,20509.1],
[8700,20492.3],
[8800,20342.2],
[8900,20397.8],
[9000,20673.6],
[9100,20500.1],
[9200,20203.3],
[9300,20221.9],
[9400,20219],
[9500,20021.4],
[9600,20164],
[9700,20237.4],
[9800,20089.2],
[9900,20061.7],
]);
var options0= {
title : 'Energy with time',
vAxis: {title: 'Energy'},
hAxis: {title: 'iteration'},
curveType: 'function',
lineWidth: 1,
intervals: { 'style':'area' },
};
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>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment