mirror of https://github.com/MISP/misp-dashboard
2 pie in div
parent
c3344cb804
commit
dd9fd918dc
|
@ -164,7 +164,8 @@ $(document).ready(function () {
|
|||
{ label: "Series3", data: 60}
|
||||
];
|
||||
var plotLineChart = $.plot("#feedDiv3", sources.getEmptyData(), optionsLineChart);
|
||||
var plotPieChart = $.plot("#feedDiv1", rData, optionsPieChart);
|
||||
var plotPieChartA = $.plot("#feedDiv1A", rData, optionsPieChart);
|
||||
var plotPieChartB = $.plot("#feedDiv1B", rData, optionsPieChart);
|
||||
updateChart()
|
||||
|
||||
function updateChart() {
|
||||
|
|
|
@ -49,8 +49,9 @@ table {
|
|||
<div class="panel-heading">
|
||||
<i class="fa fa-bar-chart-o fa-fw"></i> Statistics
|
||||
</div>
|
||||
<div id="panelbody" class="panel-body" style="height: 37vh;">
|
||||
<div id="feedDiv1" style="width:100%; height: calc(100% - 30px); position: relative;"></div>
|
||||
<div id="panelbody" class="panel-body" style="height: 37vh; width:100%;">
|
||||
<div id="feedDiv1A" style="width:50%; height: calc(100% - 30px); position: relative; float: left;"></div>
|
||||
<div id="feedDiv1B" style="width:50%; height: calc(100% - 30px); position: relative; float: left;"></div>
|
||||
</div>
|
||||
<!-- /.panel-body -->
|
||||
|
||||
|
|
Loading…
Reference in New Issue