add charts.js, remove googlecharts (#3137)

* add charts.js, remove googlecharts

* change to doughnut

* show percentage on donut
This commit is contained in:
tinect
2019-11-11 08:14:02 +01:00
committed by André Peters
parent b9aa1bf372
commit 36bd55ee5e
6 changed files with 57 additions and 265 deletions

View File

@@ -237,7 +237,9 @@ else {
</div>
</div>
<div class="panel-body">
<div id="rspamd_donut" style="height: 300px;"></div>
<div id="chart-container">
<canvas id="rspamd_donut" style="width:100%;height:400px"></canvas>
</div>
<div class="table-responsive">
<table class="table table-striped table-condensed log-table" id="rspamd_history"></table>
</div>