mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
#11574 changed netflow graph
This commit is contained in:
parent
7d550de82d
commit
6ef2173632
@ -4410,8 +4410,8 @@ function graph_netflow_aggregate_area($data, $period, $width, $height, $ttl=1, $
|
|||||||
foreach ($data['sources'] as $key => $value) {
|
foreach ($data['sources'] as $key => $value) {
|
||||||
$i = 0;
|
$i = 0;
|
||||||
foreach ($data['data'] as $k => $v) {
|
foreach ($data['data'] as $k => $v) {
|
||||||
$chart['netflow_'.$key]['data'][$i][0] = ($k * 1000);
|
$chart[$key]['data'][$i][0] = ($k * 1000);
|
||||||
$chart['netflow_'.$key]['data'][$i][1] = $v[$key];
|
$chart[$key]['data'][$i][1] = $v[$key];
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -727,6 +727,12 @@ ui_include_time_picker();
|
|||||||
.parent_graph {
|
.parent_graph {
|
||||||
margin: 0 auto !important;
|
margin: 0 auto !important;
|
||||||
}
|
}
|
||||||
|
.menu_graph{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.parent_graph{
|
||||||
|
width: 97% !important;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user