Changer la couleur des graphiques de tableau de bord Vtiger CRM
Ca se passe au niveau du fichier
- modules/Dashboard/vertical_bargraph.php
- Repérez les lignes suivantes dans le fichier
// Now create a bar plot
$max=0;
$xlabels = array();
$dataset = & Image_Graph::factory(‘dataset’);
if($theme == ‘woodspice’)
$fill =& Image_Graph::factory(‘gradient’, array(IMAGE_GRAPH_GRAD_HORIZONTAL_MIRRORED, ‘#804000‘, ‘white’));
elseif($theme == ‘bluelagoon’)
$fill =& Image_Graph::factory(‘gradient’, array(IMAGE_GRAPH_GRAD_HORIZONTAL_MIRRORED, ‘#555555‘, ‘white’));
elseif($theme == ‘softed’)
$fill =& Image_Graph::factory(‘gradient’, array(IMAGE_GRAPH_GRAD_HORIZONTAL_MIRRORED, ‘#777777‘, ‘white’));
else
$fill =& Image_Graph::factory(‘gradient’, array(IMAGE_GRAPH_GRAD_HORIZONTAL_MIRRORED, ‘#000000‘, ‘white’));
- Les couleurs sont identifiées par les codes hexadécimaux : #804000, #555555, #777777, #000000








Leave your response!