#13453 Fixed the size of the type graph as a parameter so as not to affect the function

This commit is contained in:
Jorge Rincon 2024-04-23 12:00:49 +02:00
parent e3c842b36c
commit 0c2209713a
2 changed files with 4 additions and 4 deletions

View File

@ -1658,8 +1658,8 @@ function netflow_draw_item(
netflow_aggregate_is_ip($aggregate)
);
$data_circular['width'] = 390;
$data_circular['height'] = 390;
$data_circular['width'] = $width_content;
$data_circular['height'] = $height_content;
$html = '<div class="center">';
$html .= graph_netflow_circular_mesh($data_circular);

View File

@ -366,8 +366,8 @@ class Netflow extends Widget
'',
'HTML',
0,
($size['width'] - 50),
($size['height'] - 20),
($size['width'] + 120),
($size['height'] + 120),
),
],
true