Untitled
2 years ago in Plain Text
<html>
<head>
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<script type="text/javascript">
google.charts.load('current', {language: 'uk-UA'});
google.charts.setOnLoadCallback(drawVisualization);
function drawVisualization() {
var wrapper = new google.visualization.ChartWrapper({
chartType: 'Timeline',
dataSourceUrl: 'http://spreadsheets.google.com/tq?key=1L6NMBcoKrHN22Nwz9xsPXG6D_8VqWw_O2O0PSAL94ww&pub=1',
query: 'SELECT A, B, C where C is not null AND A is not null AND B is not null',
options: {
backgroundColor: '#ccccff',
colors: ['red'],
timeline: {
showRowLabels: true
}
},
containerId: 'vis_div'
});
wrapper.draw()
}
</script>
</head>
<body style="font-family: Arial;border: 0 none;">
<div id="vis_div" style="width: 8000px; height: 300px;"></div>
</body>
</html>