Merge branch 'ent-11574-graficas-del-network-explorer-(netflow)' into 'develop'

Ent 11574 Graficas del network explorer (netflow)

See merge request artica/pandorafms!6119
This commit is contained in:
Gorka Sanchez 2023-06-21 10:11:36 +00:00
commit 5020845aea
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">