#11755 Fix netflow live view pie graph
This commit is contained in:
parent
f9803b3a52
commit
0c995b5dd5
|
@ -4560,6 +4560,10 @@ function graph_netflow_aggregate_pie($data, $aggregate, $ttl=1, $only_image=fals
|
|||
}
|
||||
|
||||
$labels = array_keys($values);
|
||||
foreach ($labels as $key => $label) {
|
||||
$labels[$key] = (string) $label;
|
||||
}
|
||||
|
||||
$values = array_values($values);
|
||||
|
||||
if ($config['fixed_graph'] == false) {
|
||||
|
|
Loading…
Reference in New Issue