#13453 Fixed the size of the type graph as a parameter so as not to affect the function
This commit is contained in:
parent
e3c842b36c
commit
0c2209713a
|
@ -1658,8 +1658,8 @@ function netflow_draw_item(
|
||||||
netflow_aggregate_is_ip($aggregate)
|
netflow_aggregate_is_ip($aggregate)
|
||||||
);
|
);
|
||||||
|
|
||||||
$data_circular['width'] = 390;
|
$data_circular['width'] = $width_content;
|
||||||
$data_circular['height'] = 390;
|
$data_circular['height'] = $height_content;
|
||||||
|
|
||||||
$html = '<div class="center">';
|
$html = '<div class="center">';
|
||||||
$html .= graph_netflow_circular_mesh($data_circular);
|
$html .= graph_netflow_circular_mesh($data_circular);
|
||||||
|
|
|
@ -366,8 +366,8 @@ class Netflow extends Widget
|
||||||
'',
|
'',
|
||||||
'HTML',
|
'HTML',
|
||||||
0,
|
0,
|
||||||
($size['width'] - 50),
|
($size['width'] + 120),
|
||||||
($size['height'] - 20),
|
($size['height'] + 120),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
true
|
true
|
||||||
|
|
Loading…
Reference in New Issue