<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi all,<br>
<br>
I have two questions about the dashboard-images generated by the
ImageGraph on the first page as default .<br>
Two things bother me there as you can see here
<a class="moz-txt-link-freetext" href="http://www.open-consult.net/vtiger_graph_error.png">http://www.open-consult.net/vtiger_graph_error.png</a><br>
1. the square everywhere before the numbers. I don´t have any idea
where to get rid of these. Does anyone have a clue?<br>
2. the date below. Where is that generated, i need to change it to
european format 04-2008 instead of 2008-04. Where do i have to search?<br>
<br>
Thanks in advance<br>
Torsten Zenk<br>
<br>
Minnie schrieb:
<blockquote
 cite="mid:11371646698.2753085964067173159.8633905062536464143@vtiger.com"
 type="cite">
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
Dear Tzenk,<br>
  <br>
          To change the bar color in horizontal bargraph, kindly try to
change the following line in <span style="font-weight: bold;">modules/Dashboard/horizontal_bargraph.php</span>(line
no : 111)<br>
  <br>
$fill =&amp; Image_Graph::factory('gradient',
array(IMAGE_GRAPH_GRAD_VERTICAL_MIRRORED, '<b>blue</b>', 'white'));<br>
Eg : $fill =&amp; Image_Graph::factory('gradient',
array(IMAGE_GRAPH_GRAD_VERTICAL_MIRRORED, '<b>green</b>', 'white'));<br>
  <br>
For vertical graph, do the same changes in <span
 style="font-weight: bold;">modules/Dashboard/vertical_bargraph.php</span>(line
no : 114)<br>
  <br>
I hope this is the fix for your problem. <br>
  <br>
Thanks &amp; Regards,<br>
Minnie.<br>
  <br>
  <br>
  <br>
  <br>
  <br>
----tzenk@gmx.net wrote ---- <br>
  <br>
  <blockquote
 style="border-left: 2px solid rgb(0, 0, 255); padding: 6px;">
    <div>Hi all,<br>
i don´t get any answer from the forum on this, so maybe someone from
the <br>
list can help me with this question:<br>
    <br>
Hi all,<br>
i have gone through <a moz-do-not-send="true" target="_blank"
 href="http://pear.veggerby.dk/forum">http://pear.veggerby.dk/forum</a>
and <br>
    <a moz-do-not-send="true" target="_blank"
 href="http://wiki.vtiger.com/index.php/ImageGraph_-_General">http://wiki.vtiger.com/index.php/ImageGraph_-_General</a>
and all the files <br>
in my vtiger install vtigerCRM/Image to get an answer on this. I have <br>
studied here <br>
    <a moz-do-not-send="true" target="_blank"
 href="http://pear.php.net/package/Image_Graph/docs/latest/li_Image_Graph.html">http://pear.php.net/package/Image_Graph/docs/latest/li_Image_Graph.html</a><br>
but i just can´t find the place in the code where to do a simple(?) <br>
change of the blue bars on the startpage.<br>
    <br>
In include/utils/GraphUtils.php line 65 -72 it says<br>
    <br>
/**This function is used to generate the n colors.<br>
* Param $count - number of colors to generate<br>
* Param $start - value of first color<br>
* Param $step - color increment to apply<br>
* Return type array - array of n colors values<br>
*/<br>
    <br>
But when i change the colors within<br>
    <br>
function color_generator($count = 1, $start = '33CCFF', $step =
'221133')<br>
    <br>
which is a light blue (33CCFF) and almost black (221133)<br>
    <br>
nothing changes.<br>
    <br>
When i change the color in /Image/Canvas/GD/PNG.php on line 64<br>
    <br>
$transparent = '#123ABD';<br>
    <br>
nothing changes.<br>
    <br>
Trying changes within all files that have entries related to colors <br>
NOTHING CHANGES.<br>
    <br>
Doing almost 50 changes within over 20 files in the IMAGE folder in <br>
vtiger root just one thing really made a change and changed the <br>
backgroundcolor of the Cockpit in /Image/Canvas/GD/PNG.php on line 88<br>
    <br>
'fill' =&gt; 'white',<br>
    <br>
if i change the 'white' to anything listed within /ImageColor.php on <br>
line 502<br>
this is really changing the color. BUT THAT IS NOT WHAT I NEED!!!<br>
    <br>
I just want to change the "blue bars" to "green bars". That´s all.
There <br>
are a lot of descriptions on the above sites and even a lot of comments
    <br>
within the vtiger files, but when i make changes , save the file i <br>
changed, empty the browser cache and reload still absolutely nothing <br>
changes.<br>
    <br>
So i am really at the end of my research and still couldn´t find any <br>
solution. I am doing something wrong, i am sure, but i don´t know what.<br>
Did someone of you ever managed to change the color of the Cockpit
bars???<br>
    <br>
TIA<br>
_______________________________________________<br>
Reach hundreds of potential candidates - <a moz-do-not-send="true"
 target="_blank" href="http://jobs.vtiger.com">http://jobs.vtiger.com</a>
    <br>
    </div>
  </blockquote>
</blockquote>
</body>
</html>