mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
parent
e381b1e439
commit
4f706d9423
@ -274,6 +274,11 @@ class Donut
|
|||||||
$offset -= $slice[0];
|
$offset -= $slice[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$result = array(
|
||||||
|
'tag' => 'div',
|
||||||
|
'content' => array($svg)
|
||||||
|
);
|
||||||
|
|
||||||
if ($this->getLabelBig() || $this->getLabelSmall()) {
|
if ($this->getLabelBig() || $this->getLabelSmall()) {
|
||||||
$labels = array(
|
$labels = array(
|
||||||
'tag' => 'div',
|
'tag' => 'div',
|
||||||
@ -307,10 +312,10 @@ class Donut
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
$svg['content'][] = $labels;
|
$result['content'][] = $labels;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $svg;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user