Aligned the google chart

This commit is contained in:
Fabiano Alencar 2018-02-21 10:52:16 -03:00
parent 7788a8f57f
commit 702ae13873
3 changed files with 17 additions and 5 deletions

View File

@ -14,8 +14,10 @@ function drawChart() {
var options = {
legend: {alignment: 'end'},
pieHole: 0.4,
width: '500px',
backgroundColor: '#000'
backgroundColor: {
'fill': '#000',
'fillOpacity': 0.01
}
};
var chart = new google.visualization.PieChart(document.getElementById('collectionGraph'));

View File

@ -14,3 +14,11 @@
}
}
}
.tainacan-estatisticas{
#collectionGraph{
height: 338px;
@media only screen and (max-width: 768px){
height: 260px;
}
}
}

View File

@ -138,9 +138,11 @@
</iframe>
</div>
</div>
<div class="col-lg-6 p-5">
<h5 class="text-dark p-4">Coleções do usuário</h5>
<div id="collectionGraph" class="bg-black-opacit" style="width: 100%; height: 300px;"></div>
<div class="col-lg-6 p-0 p-lg-5">
<h5 class="text-dark pb-0 px-4 pt-4 p-md-4">Coleções do usuário</h5>
<div class="d-flex justify-content-center">
<div id="collectionGraph" class="" style="width: 600px;"></div>
</div>
</div>
<div class="col-lg-6 p-3">