#11574 changed netflow graph

This commit is contained in:
Daniel Cebrian 2023-06-15 14:46:31 +02:00
parent 7d550de82d
commit 6ef2173632
2 changed files with 8 additions and 2 deletions

View File

@ -4410,8 +4410,8 @@ function graph_netflow_aggregate_area($data, $period, $width, $height, $ttl=1, $
foreach ($data['sources'] as $key => $value) {
$i = 0;
foreach ($data['data'] as $k => $v) {
$chart['netflow_'.$key]['data'][$i][0] = ($k * 1000);
$chart['netflow_'.$key]['data'][$i][1] = $v[$key];
$chart[$key]['data'][$i][0] = ($k * 1000);
$chart[$key]['data'][$i][1] = $v[$key];
$i++;
}
}

View File

@ -727,6 +727,12 @@ ui_include_time_picker();
.parent_graph {
margin: 0 auto !important;
}
.menu_graph{
display: none;
}
.parent_graph{
width: 97% !important;
}
</style>
<script type="text/javascript">