<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
        {page:Section1;}
/* List Definitions */
@list l0
        {mso-list-id:1454404263;
        mso-list-type:hybrid;
        mso-list-template-ids:1886060470 67895311 67895321 67895323 67895311 67895321 67895323 67895311 67895321 67895323;}
@list l0:level1
        {mso-level-tab-stop:18.0pt;
        mso-level-number-position:left;
        margin-left:18.0pt;
        text-indent:-18.0pt;}
@list l1
        {mso-list-id:1476602128;
        mso-list-type:hybrid;
        mso-list-template-ids:-434202370 67895311 67895321 67895323 67895311 67895321 67895323 67895311 67895321 67895323;}
@list l1:level1
        {mso-level-tab-stop:36.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l2
        {mso-list-id:1955360981;
        mso-list-type:hybrid;
        mso-list-template-ids:-157373314 67895311 67895321 67895323 67895311 67895321 67895323 67895311 67895321 67895323;}
@list l2:level1
        {mso-level-tab-stop:36.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l2:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:72.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l3
        {mso-list-id:2003385561;
        mso-list-type:hybrid;
        mso-list-template-ids:33472942 67895311 67895321 67895323 67895311 67895321 67895323 67895311 67895321 67895323;}
@list l3:level1
        {mso-level-tab-stop:36.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l3:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:72.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
-->
</style>
</head>
<body lang=FR link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>As announced the files needed to test Vtigercrm-4.2.4.rc2
– Image_Graph implementation.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Installation :<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<ol style='margin-top:0cm' start=1 type=1>
<li class=MsoNormal style='mso-list:l3 level1 lfo1'><font size=2 face=Arial><span
lang=EN-GB style='font-size:10.0pt;font-family:Arial'>Install Pear package
if it is not already done<o:p></o:p></span></font></li>
<li class=MsoNormal style='mso-list:l3 level1 lfo1'><font size=2 face=Arial><span
lang=EN-GB style='font-size:10.0pt;font-family:Arial'>Install Image_Graph
package with all its dependencies :<o:p></o:p></span></font></li>
</ol>
<p class=MsoNormal style='margin-left:54.0pt'><font size=2 face=Arial><span
lang=EN-GB style='font-size:10.0pt;font-family:Arial'>Pear install –a Image_Graph-0.7.2<o:p></o:p></span></font></p>
<ol style='margin-top:0cm' start=3 type=1>
<li class=MsoNormal style='mso-list:l3 level1 lfo1'><font size=2 face=Arial><span
lang=EN-GB style='font-size:10.0pt;font-family:Arial'>Override Charts.php
in your vtigercrm/potentials folder (be sure to have a backup copy)<o:p></o:p></span></font></li>
<li class=MsoNormal style='mso-list:l3 level1 lfo1'><font size=2 face=Arial><span
lang=EN-GB style='font-size:10.0pt;font-family:Arial'>Apply the patches on
Dashboard module files to suppress the test on php version.<o:p></o:p></span></font></li>
</ol>
<p class=MsoNormal style='margin-left:18.0pt'><font size=2 face=Arial><span
lang=EN-GB style='font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-left:18.0pt'><font size=2 face=Arial><span
lang=EN-GB style='font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Things to do :<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<ol style='margin-top:0cm' start=1 type=1>
<li class=MsoNormal style='mso-list:l1 level1 lfo3'><font size=2 face=Arial><span
lang=EN-GB style='font-size:10.0pt;font-family:Arial'>Compute the ticks
interval according to the maximum axis value.<o:p></o:p></span></font></li>
<li class=MsoNormal style='mso-list:l1 level1 lfo3'><font size=2 face=Arial><span
lang=EN-GB style='font-size:10.0pt;font-family:Arial'>Try to dispose ticks
on category axis as they where with jpgraph (if really needed).<o:p></o:p></span></font></li>
<li class=MsoNormal style='mso-list:l1 level1 lfo3'><font size=2 face=Arial><span
lang=EN-GB style='font-size:10.0pt;font-family:Arial'>Implement and beautify
the colour generator algorithm (very basic actually).<o:p></o:p></span></font></li>
<li class=MsoNormal style='mso-list:l1 level1 lfo3'><font size=2 face=Arial><span
lang=EN-GB style='font-size:10.0pt;font-family:Arial'>Make it dependent on
current theme (if everybody agree).<o:p></o:p></span></font></li>
<li class=MsoNormal style='mso-list:l1 level1 lfo3'><font size=2 face=Arial><span
lang=EN-GB style='font-size:10.0pt;font-family:Arial'>Test font-language
implementation (I do not try it for Chinese or Czech).<o:p></o:p></span></font></li>
</ol>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Comments :<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<ol style='margin-top:0cm' start=1 type=1>
<li class=MsoNormal style='mso-list:l2 level1 lfo4'><font size=2 face=Arial><span
lang=EN-GB style='font-size:10.0pt;font-family:Arial'>In Charts.php I have
only commented the replaced line. I know it is not “beautiful”
(ref. Allan hobby) but it is for others to understand the changes. The
lines will have to be suppressed in the official version.<o:p></o:p></span></font></li>
<li class=MsoNormal style='mso-list:l2 level1 lfo4'><font size=2 face=Arial><span
lang=EN-GB style='font-size:10.0pt;font-family:Arial'>If somebody looks at
Image Graph examples, he will probably notice that graph layout uses the
following syntax :<br>
<br>
$graph->add(<br>
Image_Graph::vertical(<br>
$title
= Image_Graph::factory('title', array('Test',11)),<br>
Image_Graph::vertical(<br>
$plotarea
= Image_Graph::factory('plotarea'),<br>
$footer
= Image_Graph::factory('title', array('Footer',8)),<br>
90<br>
),<br>
5<br>
)<br>
or<br>
$graph->add(<br>
Image_Graph::vertical(<br>
$title
=& Image_Graph::factory('title', array('Test',11)),<br>
Image_Graph::vertical(<br>
$plotarea
=& Image_Graph::factory('plotarea'),<br>
$footer
=& Image_Graph::factory('title', array('Footer',8)),<br>
90<br>
),<br>
5<br>
)<br>
<br>
It works nice in a test program called directly but it doesn’t in
Charts.php. I have not found the explanation. The correct one is :<br>
<br>
$title =& Image_Graph::factory('title', array('Test',10));<br>
$plotarea =& Image_Graph::factory('plotarea');<br>
$footer =& Image_Graph::factory('title', array('Footer',8));<br>
$graph->add(<br>
Image_Graph::vertical(<br>
$title,<br>
Image_Graph::vertical(<br>
$plotarea,<br>
$footer,<br>
90<br>
),<br>
5<br>
)<br>
<br>
<br>
<o:p></o:p></span></font></li>
<li class=MsoNormal style='mso-list:l2 level1 lfo4'><font size=2 face=Arial><span
lang=EN-GB style='font-size:10.0pt;font-family:Arial'>When using a
shortcut on graph, you get an error message :<br>
</span></font><b><font size=1 color=black face=Verdana><span lang=EN-GB
style='font-size:8.0pt;font-family:Verdana;color:black;font-weight:bold'>Fatal
error</span></font></b><font size=1 color=black face=Verdana><span
lang=EN-GB style='font-size:8.0pt;font-family:Verdana;color:black'>: Using
$this when not in object context in <b><span style='font-weight:bold'>c:\Inetpub\wwwroot\vtigercrm-graph\adodb\adodb.inc.php</span></b>
on line <b><span style='font-weight:bold'>2380<br>
</span></b>I think it is probably a bug of 4.2.4rc2 with PHP 5 but I did
not take time to investigate (help is welcome!).</span></font><font
size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:
Arial'><o:p></o:p></span></font></li>
<li class=MsoNormal style='mso-list:l2 level1 lfo4'><font size=1 color=black
face=Verdana><span lang=EN-GB style='font-size:8.0pt;font-family:Verdana;
color:black'>I have also notice a refresh problem with IE6, due to png
file in IE cache. If it is an IE problem I will at last migrate to Firefox
(but it is not a solution).</span></font><font size=2 face=Arial><span
lang=EN-GB style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></li>
</ol>
<p class=MsoNormal><font size=1 color=black face=Verdana><span lang=EN-GB
style='font-size:8.0pt;font-family:Verdana;color:black'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=1 color=black face=Verdana><span lang=EN-GB
style='font-size:8.0pt;font-family:Verdana;color:black'>The program has been
tested with PHP 5.1.2<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=black face=Verdana><span lang=EN-GB
style='font-size:8.0pt;font-family:Verdana;color:black'>If some volunteers want
to test they are of course welcome.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=black face=Verdana><span lang=EN-GB
style='font-size:8.0pt;font-family:Verdana;color:black'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=1 color=black face=Verdana><span lang=EN-GB
style='font-size:8.0pt;font-family:Verdana;color:black'>Michel</span></font><font
size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p>
</div>
</body>
</html>