#18 -- fix width
This commit is contained in:
parent
fa3d285d83
commit
41efe3b3f4
@ -26,6 +26,8 @@
|
||||
var options = {
|
||||
title: '% коммитов авторов',
|
||||
is3D: true,
|
||||
width:600,
|
||||
height:300,
|
||||
pieResidueSliceLabel: 'Остальные'
|
||||
};
|
||||
var chart = new google.visualization.PieChart(document.getElementById('air'));
|
||||
@ -46,15 +48,18 @@
|
||||
var options = {
|
||||
title: 'Добыча нефти',
|
||||
hAxis: {title: 'Год'},
|
||||
vAxis: {title: 'Тыс. тонн'}
|
||||
vAxis: {title: 'Тыс. тонн',
|
||||
width:600,
|
||||
height:300}
|
||||
};
|
||||
var chart = new google.visualization.ColumnChart(document.getElementById('oil'));
|
||||
chart.draw(data, options);
|
||||
}
|
||||
|
||||
</script>
|
||||
<div id="air" style="width: 500px; height: 400px;"></div>
|
||||
<div id="oil" style="width: 500px; height: 400px;"></div>
|
||||
<ul th:each="continet : ${continents}"></ul>
|
||||
<h4 th:each="continent : ${continents}" th:text="${continent}"></h4>
|
||||
<div class="row">
|
||||
<div id="air" class="col-sm-12 col-lg-6" style="width: 200px"></div>
|
||||
<div id="oil" class="col-sm-12 col-lg-6" style="width: 200px"></div>
|
||||
</div>
|
||||
</div>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user