Home » CRM

Changer la couleur des graphiques de tableau de bord Vtiger CRM

7 septembre 2011 No Comment

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!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.

*