Ajout modification des couleurs possible
This commit is contained in:
parent
d99c000e49
commit
5419ea45f6
@ -61,6 +61,10 @@ class GraphPie extends DolibarrGraph {
|
|||||||
$pieplot->SetFont(FF_FONT1,FS_BOLD);
|
$pieplot->SetFont(FF_FONT1,FS_BOLD);
|
||||||
$pieplot->SetFontColor("darkred");
|
$pieplot->SetFontColor("darkred");
|
||||||
|
|
||||||
|
if (is_array($this->colors))
|
||||||
|
{
|
||||||
|
$pieplot->SetSliceColors($this->colors);
|
||||||
|
}
|
||||||
|
|
||||||
// Size of pie in fraction of the width of the graph
|
// Size of pie in fraction of the width of the graph
|
||||||
$pieplot->SetSize(0.38);
|
$pieplot->SetSize(0.38);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user