Heuristic ranking analysis
[contractdashboard.git] / lib / pChart2.1.0 / examples / sandbox / index.php
blob:a/lib/pChart2.1.0/examples/sandbox/index.php -> blob:b/lib/pChart2.1.0/examples/sandbox/index.php
--- a/lib/pChart2.1.0/examples/sandbox/index.php
+++ b/lib/pChart2.1.0/examples/sandbox/index.php
@@ -1,1 +1,707 @@
-
+<?php

+ /*

+     index.php - Sandbox web frontend

+

+     Version     : 1.1.0

+     Made by     : Jean-Damien POGOLOTTI

+     Last Update : 18/01/11

+

+     This file can be distributed under the license you can find at :

+

+                       http://www.pchart.net/license

+

+     You can find the whole class documentation on the pChart web site.

+ */

+?>

+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

+<head>

+ <title>Sandbox system</title>

+ <meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>

+ <meta name='description' content='pChart is an object oriented php charting library'/>

+ <meta name='keywords' content='pchart, php chart, charting library, php charting'/>

+ <link rel='stylesheet' type='text/css' href='style.css'/>

+ <link rel='shortcut icon' href='images/favicon.ico'/>

+ <script type='text/javascript' src='includes/rounded_corners_lite.inc.js'></script>

+ <script type='text/javascript' src='includes/jscolor.js'></script>

+ <script type='text/javascript' src='includes/functions.js'></script>

+</head>

+<body>

+ <table style=''><tr><td>

+  <table style='padding: 2px; background-color: #E0E0E0; border: 1px solid #D0D0D0;'><tr>

+   <td class='topMenu'>

+    <div class='topMenu' id='menu1' onmouseover='highlightDIV(1);' onmouseout='clearDIV(1);' onclick='toggleDIV(1);'>

+     <table style='padding: 2px; border: 1px solid #D0D0D0;'><tr>

+      <td class='topMenu'><img src='graphix/tab.png' width='16' height='16' alt=''/></td>

+      <td class='topMenu'>&nbsp;General settings&nbsp;</td>

+     </tr></table>

+    </div>

+   </td>

+   <td class='topMenu' width='5'></td>

+   <td class='topMenu'>

+    <div class='topMenu' id='menu2' onmouseover='highlightDIV(2);' onmouseout='clearDIV(2);' onclick='toggleDIV(2);'>

+     <table style='padding: 2px; border: 1px solid #D0D0D0;'><tr>

+      <td class='topMenu'><img src='graphix/tab.png' width='16' height='16' alt=''/></td>

+      <td class='topMenu'>&nbsp;Data&nbsp;</td>

+     </tr></table>

+    </div>

+   </td>

+   <td class='topMenu' width='5'></td>

+   <td class='topMenu'>

+    <div class='topMenu' id='menu3' onmouseover='highlightDIV(3);' onmouseout='clearDIV(3);' onclick='toggleDIV(3);'>

+     <table style='padding: 2px; border: 1px solid #D0D0D0;'><tr>

+      <td class='topMenu'><img src='graphix/tab.png' width='16' height='16' alt=''/></td>

+      <td class='topMenu'>&nbsp;Scale&nbsp;</td>

+     </tr></table>

+    </div>

+   </td>

+   <td class='topMenu' width='5'></td>

+   <td class='topMenu'>

+    <div class='topMenu' id='menu4' onmouseover='highlightDIV(4);' onmouseout='clearDIV(4);' onclick='toggleDIV(4);'>

+     <table style='padding: 2px; border: 1px solid #D0D0D0;'><tr>

+      <td class='topMenu'><img src='graphix/tab.png' width='16' height='16' alt=''/></td>

+      <td class='topMenu'>&nbsp;Chart&nbsp;</td>

+     </tr></table>

+    </div>

+   </td>

+   <td class='topMenu' width='5'></td>

+   <td class='topMenu'>

+    <div class='topMenu' id='menu5' onmouseover='highlightDIV(5);' onmouseout='clearDIV(5);' onclick='toggleDIV(5);'>

+     <table style='padding: 2px; border: 1px solid #D0D0D0;'><tr>

+      <td class='topMenu'><img src='graphix/tab.png' width='16' height='16' alt=''/></td>

+      <td class='topMenu'>&nbsp;Legend, thresholds &amp; Misc&nbsp;</td>

+     </tr></table>

+    </div>

+   </td>

+  </tr></table>

+ </td>

+ <td width='5'></td>

+ <td>

+  <table style='padding: 2px; background-color: #D0D0D0; border: 1px solid #D0D0D0;'><tr>

+   <td class='topMenu'>

+    <div class='topMenu' id='menu6' onmouseover='highlightDIV(6);' onmouseout='clearDIV(6);' onclick='code();'>

+     <table style='padding: 2px; border: 1px solid #D0D0D0;'><tr>

+      <td class='topMenu'><img src='graphix/cog.png' width='16' height='16' alt=''/></td>

+      <td class='topMenu'>&nbsp;Show code&nbsp;</td>

+     </tr></table>

+    </div>

+   </td>

+   <td class='topMenu' width='5'></td>

+   <td class='topMenu'>

+    <div class='topMenu' id='menu7' onmouseover='highlightDIV(7);' onmouseout='clearDIV(7);' onclick='render();'>

+     <table style='padding: 2px; border: 1px solid #D0D0D0;'><tr>

+      <td class='topMenu'><img src='graphix/accept.png' width='16' height='16' alt=''/></td>

+      <td class='topMenu'>&nbsp;Render picture&nbsp;</td>

+     </tr></table>

+    </div>

+   </td>

+  </tr></table>

+ </td></tr></table>

+

+ <table><tr><td valign='top'>

+

+ <div class="roundedCorner" id='tab1' style='margin-top: 30px; margin-left: 20px; width: 350px; height: 420px; background: #F0F0F0; padding: 10px; color: #667309; border: 1px solid #E0E0E0'>

+  <table style='background-color: #E8E8E8; padding: 1px; border-top: 1px solid #F5F5F5; border-bottom: 1px solid #E0E0E0'><tr>

+   <td width='20'><img src='graphix/wrench.png' width='16' height='16' alt=''/></td>

+   <td width='300'><b>General settings</b></td>

+  </tr></table>

+  <br/>

+  <table><tr>

+   <td>Width &nbsp;</td>

+   <td><input type='text' id='g_width' value='700' style='width: 30px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' onkeyup='doLayout();' /></td>

+   <td>&nbsp;&nbsp; Height &nbsp;</td>

+   <td><input type='text' id='g_height' value='230' style='width: 30px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' onkeyup='doLayout();' /></td>

+   <td>&nbsp;&nbsp;<input type='checkbox' id='g_transparent' /></td>

+   <td>Transparent background</td>

+  </tr></table>

+  <table><tr>

+   <td><input type='checkbox' id='g_aa' checked='checked' /></td>

+   <td>Turn on antialiasing</td>

+   <td>&nbsp;&nbsp;<input type='checkbox' id='g_shadow' checked='checked' /></td>

+   <td>Enable shadow</td>

+   <td>&nbsp;&nbsp; <input type='checkbox' id='g_border' checked='checked' /></td>

+   <td>with a border</td>

+  </tr></table>

+  <table><tr>

+   <td><input type='checkbox' id='g_autopos' checked='checked' onclick='toggleAuto();' /></td>

+   <td>Automatic positioning of the elements</td>

+  </tr></table>

+

+  <br/>

+

+  <table style='background-color: #E8E8E8; padding: 1px; border-top: 1px solid #F5F5F5; border-bottom: 1px solid #E0E0E0'><tr>

+   <td width='20'><img src='graphix/comment.png' width='16' height='16' alt=''/></td>

+   <td width='240'><b>Chart title</b></td>

+   <td width='20'><input type='checkbox' id='g_title_enabled' checked='checked' /></td>

+   <td width='38'>Enabled</td>

+  </tr></table>

+  <br/>

+  <table><tr>

+   <td width='55'>Chart Title</td>

+   <td><input type='text' id='g_title' value='My first pChart project' style='width: 260px;' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td>

+  </tr></table>

+  <table><tr>

+   <td width='147'>Alignement method (<a class='smallLinkBlack' target='_new' href='http://wiki.pchart.net/doc.draw.text.html'>help</a>)</td>

+   <td><select id='g_title_align'><?php listalign(); ?></select></td>

+  </tr></table>

+  <table><tr>

+   <td width='55'>X position &nbsp;</td>

+   <td><input type='text' id='g_title_x' value='350' style='width: 30px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td>

+   <td>&nbsp;&nbsp; Y position &nbsp;</td>

+   <td><input type='text' id='g_title_y' value='25' style='width: 30px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td>

+   <td>&nbsp;&nbsp; Color &nbsp;</td>

+   <td><input type='text' class='color' id='g_title_color' value='#FFFFFF' style='text-align: center; width: 60px;' onchange='applyColor("g_title_color","g_title_color_show");' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td>

+   <td><div id='g_title_color_show' style='margin-left: 4px; width: 10px; height: 10px; border: 1px solid #808080;'></div></td>

+  </tr></table>

+  <table><tr>

+   <td width='55'>Font name &nbsp;</td>

+   <td><select id='g_title_font'><?php listfonts(); ?></select></td>

+   <td>&nbsp;&nbsp; Size &nbsp;</td>

+   <td><input type='text' id='g_title_font_size' value='14' style='width: 20px; text-align: center;' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td>

+   <td>&nbsp;&nbsp; <input type='checkbox' id='g_title_box' /></td>

+   <td>in a box</td>

+  </tr></table>

+

+  <br/>

+

+  <table style='background-color: #E8E8E8; padding:1px; border-top: 1px solid #F5F5F5; border-bottom: 1px solid #E0E0E0'><tr>

+   <td width='20'><img src='graphix/paintcan.png' width='16' height='16' alt=''/></td>

+   <td width='240'><b>Solid background</b></td>

+   <td width='20'><input type='checkbox' id='g_solid_enabled' checked='checked' /></td>

+   <td width='38'>Enabled</td>

+  </tr></table>

+  <br/>

+  <table><tr>

+   <td width='55'>Color</td>

+   <td><input type='text' class='color' id='g_solid_color' value='#AAB757' style='text-align: center; width: 60px;' onchange='applyColor("g_solid_color","g_solid_color_show");' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td>

+   <td width='40'><div id='g_solid_color_show' style='margin-left: 4px; width: 10px; height: 10px; border: 1px solid #808080;'></div></td>

+   <td width='20'><input type='checkbox' id='g_solid_dashed' checked='checked' /></td>

+   <td width='38'>Dashed</td>

+  </tr></table>

+

+  <br/>

+

+  <table style='background-color: #E8E8E8; padding:1px; border-top: 1px solid #F5F5F5; border-bottom: 1px solid #E0E0E0'><tr>

+   <td width='20'><img src='graphix/paintcan.png' width='16' height='16' alt=''/></td>

+   <td width='240'><b>Gradient background</b></td>

+   <td width='20'><input type='checkbox' id='g_gradient_enabled' checked='checked' /></td>

+   <td width='38'>Enabled</td>

+  </tr></table>

+  <br/>

+  <table><tr>

+   <td width='55'>Start color</td>

+   <td><input type='text' class='color' id='g_gradient_start' value='#DBE78B' style='text-align: center; width: 60px;' onchange='applyColor("g_gradient_start","g_gradient_start_show");' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td>

+   <td width='55'><div id='g_gradient_start_show' style='margin-left: 4px; width: 10px; height: 10px; border: 1px solid #808080;'></div></td>

+   <td width='54'>End color &nbsp;</td>

+   <td><input type='text' class='color' id='g_gradient_end' value='#018A44' style='text-align: center; width: 60px;' onchange='applyColor("g_gradient_end","g_gradient_end_show");' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td>

+   <td><div id='g_gradient_end_show' style='margin-left: 4px; width: 10px; height: 10px; border: 1px solid #808080;'></div></td>

+  </tr></table>

+  <table><tr>

+   <td width='55'>Direction</td>

+   <td width='75'><select id='g_gradient_direction'><option value='vertical'>Vertical</option><option value='horizontal'>Horizontal</option></select></td>

+   <td width='100'>&nbsp; Alpha transparency</td>

+   <td><input type='text' id='g_gradient_alpha' value='50' style='width: 20px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td>

+   <td>%</td>

+  </tr></table>

+ </div>

+

+ <div class="roundedCorner" id='tab2' style='display: none; margin-top: 30px; margin-left: 20px; width: 350px; height: 455px; background: #F0F0F0; padding: 10px; color: #667309; border: 1px solid #E0E0E0'>

+  <table style='background-color: #E8E8E8; padding: 1px; border-top: 1px solid #F5F5F5; border-bottom: 1px solid #E0E0E0'><tr>

+   <td width='20'><img src='graphix/database_table.png' width='16' height='16' alt=''/></td>

+   <td width='300'><b>Dataset definition</b></td>

+  </tr></table>

+  <br/>

+  <table>

+   <tr>

+    <td width='46'></td>

+    <td width='65'><center>Serie 1</center></td>

+    <td width='65'><center>Serie 2</center></td>

+    <td width='65'><center>Serie 3</center></td>

+    <td width='65'><center>Absissa</center></td>

+   </tr>

+   <tr>

+    <td>Enabled</td>

+    <td><center><input type='checkbox' id='d_serie1_enabled' checked='checked' onclick='checkEnabledAxis();' /></center></td>

+    <td><center><input type='checkbox' id='d_serie2_enabled' checked='checked' onclick='checkEnabledAxis();' /></center></td>

+    <td><center><input type='checkbox' id='d_serie3_enabled' checked='checked' onclick='checkEnabledAxis();' /></center></td>

+    <td><center><input type='checkbox' id='d_absissa_enabled' checked='checked' /></center></td>

+   </tr>

+  </table>

+  <table>

+   <tr>

+    <td width='46'>Name</td>

+    <td width='65'><center><input type='text' id='d_serie1_name' value='Serie 1' style='width: 50px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></center></td>

+    <td width='65'><center><input type='text' id='d_serie2_name' value='Serie 2' style='width: 50px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></center></td>

+    <td width='65'><center><input type='text' id='d_serie3_name' value='Serie 3' style='width: 50px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></center></td>

+    <td width='65'><center>-</center></td>

+   </tr>

+   <tr>

+    <td width='46'>Binding</td>

+    <td width='65'><center><select id='d_serie1_axis' style='width: 54px;' onchange='checkEnabledAxis();'><?php listaxis(); ?></select></center></td>

+    <td width='65'><center><select id='d_serie2_axis' style='width: 54px;' onchange='checkEnabledAxis();'><?php listaxis(); ?></select></center></td>

+    <td width='65'><center><select id='d_serie3_axis' style='width: 54px;' onchange='checkEnabledAxis();'><?php listaxis(); ?></select></center></td>

+    <td width='65'><center>-</center></td>

+   </tr>

+<?php

+ for($i=0; $i<8;$i++)

+  {

+?>

+   <tr>

+<?php if ( $i == 0 ) { ?>

+    <td>Data</td>

+<?php } else { ?>

+    <td></td>

+<?php } ?>

+    <td><center><input type='text' id='d_serie1_data<?php echo $i; ?>' style='width: 50px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></center></td>

+    <td><center><input type='text' id='d_serie2_data<?php echo $i; ?>' style='width: 50px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></center></td>

+    <td><center><input type='text' id='d_serie3_data<?php echo $i; ?>' style='width: 50px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></center></td>

+    <td><center><input type='text' id='d_absissa_data<?php echo $i; ?>' style='width: 60px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></center></td>

+   </tr>

+<?php

+  }

+?>

+  </table>

+  <table>

+   <tr>

+    <td width='50'></td>

+    <td><input type='checkbox' id='d_normalize_enabled' /></td>

+    <td>normalize the datasets.</td>

+    <td width='10'></td>

+    <td>[ <a class='smallLinkBlack' href='javascript:randomize();'>randomize</a> ]</td>

+   </tr>

+  </table>

+  <br/>

+  <table style='background-color: #E8E8E8; padding: 1px; border-top: 1px solid #F5F5F5; border-bottom: 1px solid #E0E0E0'><tr>

+   <td width='20'><img src='graphix/chart_bar_edit.png' width='16' height='16' alt=''/></td>

+   <td width='300'><b>Axis position and units</b></td>

+  </tr></table>

+  <br/>

+  <table>

+   <tr>

+    <td width='40'></td>

+    <td width='90'><center><b>Axis 0</b></center></td>

+    <td width='90'><center><b>Axis 1</b></center></td>

+    <td width='90'><center><b>Axis 2</b></center></td>

+   </tr>

+   <tr>

+    <td>Name</td>

+    <td><center><input type='text' id='d_axis0_name' value='1st axis' style='width: 76px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></center></td>

+    <td><center><input type='text' id='d_axis1_name' value='2nd axis' style='width: 76px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></center></td>

+    <td><center><input type='text' id='d_axis2_name' value='3rd axis' style='width: 76px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></center></td>

+   </tr>

+   <tr>

+    <td>Unit</td>

+    <td><center><input type='text' id='d_axis0_unit' style='width: 76px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></center></td>

+    <td><center><input type='text' id='d_axis1_unit' style='width: 76px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></center></td>

+    <td><center><input type='text' id='d_axis2_unit' style='width: 76px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></center></td>

+   </tr>

+   <tr>

+    <td>Position</td>

+    <td><center><select id='d_axis0_position' style='width: 80px;' onchange='checkEnabledAxis();'><?php listaxispos(); ?></select></center></td>

+    <td><center><select id='d_axis1_position' style='width: 80px;' onchange='checkEnabledAxis();'><?php listaxispos(); ?></select></center></td>

+    <td><center><select id='d_axis2_position' style='width: 80px;' onchange='checkEnabledAxis();'><?php listaxispos(); ?></select></center></td>

+   </tr>

+   <tr>

+    <td>Format</td>

+    <td><center><select id='d_axis0_format' style='width: 80px;' onchange='checkEnabledAxis();'><?php listaxisformat(); ?></select></center></td>

+    <td><center><select id='d_axis1_format' style='width: 80px;' onchange='checkEnabledAxis();'><?php listaxisformat(); ?></select></center></td>

+    <td><center><select id='d_axis2_format' style='width: 80px;' onchange='checkEnabledAxis();'><?php listaxisformat(); ?></select></center></td>

+   </tr>

+  </table>

+ </div>

+

+ <div class="roundedCorner" id='tab3' style='display: none; margin-top: 30px; margin-left: 20px; width: 350px; height: 435px; background: #F0F0F0; padding: 10px; color: #667309; border: 1px solid #E0E0E0'>

+  <table style='background-color: #E8E8E8; padding: 1px; border-top: 1px solid #F5F5F5; border-bottom: 1px solid #E0E0E0'><tr>

+   <td width='20'><img src='graphix/layout_edit.png' width='16' height='16' alt=''/></td>

+   <td width='300'><b>Charting area definition</b></td>

+  </tr></table>

+  <br/>

+  <table><tr>

+   <td width='50'>X &nbsp;</td>

+   <td><input type='text' id='s_x' value='70' style='width: 30px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td>

+   <td>&nbsp;&nbsp; Y &nbsp;</td>

+   <td><input type='text' id='s_y' value='50' style='width: 30px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td>

+   <td>&nbsp;&nbsp; Width &nbsp;</td>

+   <td><input type='text' id='s_width' value='590' style='width: 30px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td>

+   <td>&nbsp;&nbsp; Height &nbsp;</td>

+   <td><input type='text' id='s_height' value='140' style='width: 30px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td>

+  </tr></table>

+  <table><tr>

+   <td width='50'>Direction</td>

+   <td width='160'><select id='s_direction' onchange='checkEnabledAxis();'><option value='SCALE_POS_LEFTRIGHT'>SCALE_POS_LEFTRIGHT</option><option value='SCALE_POS_TOPBOTTOM'>SCALE_POS_TOPBOTTOM</option></select></td>

+   <td>&nbsp;<input type='checkbox' id='s_arrows_enabled' /></td>

+   <td>&nbsp;with arrows</td>

+  </tr></table>

+  <table><tr>

+   <td width='50'>Mode</td>

+   <td width='160'><select id='s_mode'><option value='SCALE_MODE_FLOATING'>SCALE_MODE_FLOATING</option><option value='SCALE_MODE_START0'>SCALE_MODE_START0</option><option value='SCALE_MODE_ADDALL'>SCALE_MODE_ADDALL</option><option value='SCALE_MODE_ADDALL_START0'>SCALE_MODE_ADDALL_START0</option></select></td>

+   <td>&nbsp;<input type='checkbox' id='s_cycle_enabled' checked='checked' /></td>

+   <td>&nbsp;Background</td>

+  </tr></table>

+  <table><tr>

+   <td width='50'>X Margin</td>

+   <td width='35'><input type='text' id='s_x_margin' value='0' style='width: 30px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td>

+   <td width='50'>&nbsp; Y Margin</td>

+   <td width='68'><input type='text' id='s_y_margin' value='0' style='width: 30px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td>

+   <td>&nbsp;&nbsp;<input type='checkbox' id='s_automargin_enabled' checked='checked' onclick='toggleAutoMargins();' /></td>

+   <td>&nbsp;automatic</td>

+  </tr></table>

+  <table><tr>

+   <td width='50'>Font</td>

+   <td><select id='s_font'><?php listfonts("pf_arma_five"); ?></select></td>

+   <td>&nbsp; Size &nbsp;</td>

+   <td><input type='text' id='s_font_size' value='6' style='width: 20px; text-align: center;' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td>

+   <td>&nbsp; Color &nbsp;</td>

+   <td><input type='text' id='s_font_color' class='color' value='#000000' style='text-align: center; width: 50px;' onchange='applyColor("s_font_color","s_font_color_show");' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td>

+   <td><div id='s_font_color_show' style='margin-left: 4px; width: 10px; height: 10px; border: 1px solid #808080;'></div></td>

+  </tr></table>

+  <br/>

+  <table style='background-color: #E8E8E8; padding: 1px; border-top: 1px solid #F5F5F5; border-bottom: 1px solid #E0E0E0'><tr>

+   <td width='20'><img src='graphix/page_edit.png' width='16' height='16' alt=''/></td>

+   <td width='300'><b>X Axis configuration</b></td>

+  </tr></table>

+  <br/>

+  <table><tr>

+   <td width='50'>Mode</td>

+   <td><select id='s_x_labeling'><option value='LABELING_ALL'>LABELING_ALL</option><option value='LABELING_DIFFERENT'>LABELING_DIFFERENT</option></select></td>

+   <td>&nbsp;&nbsp; Skip each</td>

+   <td>&nbsp;<input type='text' id='s_x_skip' value='0' style='width: 20px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td>

+   <td>&nbsp;labels</td>

+  </tr></table>

+  <table><tr>

+   <td width='50'>Rotation</td>

+   <td><input type='text' id='s_x_label_rotation' value='0' style='width: 30px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td>

+  </tr></table>

+  <br/>

+  <table style='background-color: #E8E8E8; padding: 1px; border-top: 1px solid #F5F5F5; border-bottom: 1px solid #E0E0E0'><tr>

+   <td width='20'><img src='graphix/page_edit.png' width='16' height='16' alt=''/></td>

+   <td width='300'><b>Grid</b></td>

+  </tr></table>

+  <br/>

+  <table><tr>

+   <td width='70'>Grid color</td>

+   <td><input type='text' id='s_grid_color' class='color' value='#FFFFFF' style='text-align: center; width: 60px; text-align: center' onchange='applyColor("s_grid_color","s_grid_color_show");' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td>

+   <td><div id='s_grid_color_show' style='margin-left: 4px; width: 10px; height: 10px; border: 1px solid #808080;'></div></td>

+   <td>&nbsp; Alpha</td>

+   <td>&nbsp; <input type='text' id='s_grid_alpha' value='50' style='width: 30px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td>

+  </tr></table>

+  <table><tr>

+   <td width='70'>Display</td>

+   <td>&nbsp;<input type='checkbox' id='s_grid_x_enabled' checked='checked' /></td>

+   <td>&nbsp;X Lines</td>

+   <td>&nbsp;&nbsp;&nbsp;<input type='checkbox' id='s_grid_y_enabled' checked='checked' /></td>

+   <td>&nbsp;Y Lines</td>

+  </tr></table>

+

+  <br/>

+  <table style='background-color: #E8E8E8; padding: 1px; border-top: 1px solid #F5F5F5; border-bottom: 1px solid #E0E0E0'><tr>

+   <td width='20'><img src='graphix/page_edit.png' width='16' height='16' alt=''/></td>

+   <td width='300'><b>Ticks</b></td>

+  </tr></table>

+  <br/>

+  <table><tr>

+   <td width='70'>Ticks color</td>

+   <td><input type='text' id='s_ticks_color' class='color' value='#000000' style='text-align: center; width: 60px; text-align: center' onchange='applyColor("s_ticks_color","s_ticks_color_show");' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td>

+   <td><div id='s_ticks_color_show' style='margin-left: 4px; width: 10px; height: 10px; border: 1px solid #808080;'></div></td>

+   <td>&nbsp; Alpha</td>

+   <td>&nbsp; <input type='text' id='s_ticks_alpha' value='50' style='width: 30px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td>

+  </tr></table>

+  <table><tr>

+   <td width='70'>Sub ticks color</td>

+   <td><input type='text' id='s_subticks_color' class='color' value='#FF0000' style='text-align: center; width: 60px; text-align: center' onchange='applyColor("s_subticks_color","s_subticks_color_show");' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td>

+   <td><div id='s_subticks_color_show' style='margin-left: 4px; width: 10px; height: 10px; border: 1px solid #808080;'></div></td>

+   <td>&nbsp; Alpha</td>

+   <td>&nbsp; <input type='text' id='s_subticks_alpha' value='50' style='width: 30px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td>

+   <td>&nbsp;<input type='checkbox' id='s_subticks_enabled' checked='checked' onclick='toggleSubTicks();' /></td>

+   <td>&nbsp;enabled</td>

+  </tr></table>

+ </div>

+

+ <div class="roundedCorner" id='tab4' style='display: none; margin-top: 30px; margin-left: 20px; width: 350px; height: 420px; background: #F0F0F0; padding: 10px; color: #667309; border: 1px solid #E0E0E0'>

+  <table style='background-color: #E8E8E8; padding: 1px; border-top: 1px solid #F5F5F5; border-bottom: 1px solid #E0E0E0'><tr>

+   <td width='20'><img src='graphix/wrench.png' width='16' height='16' alt=''/></td>

+   <td width='300'><b>Chart</b></td>

+  </tr></table>

+  <br/>

+  <table><tr>

+   <td width='60'>Chart family</td>

+   <td><select id='c_family' onchange='checkChartSettings();'><?php echo listCharts(); ?></select></td>

+   <td>&nbsp;Break color</td>

+   <td>&nbsp;<input type='text' id='c_break_color' class='color' value='#EA371A' style='text-align: center; width: 60px; text-align: center' onchange='applyColor("c_break_color","c_break_color_show");' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td>

+   <td><div id='c_break_color_show' style='margin-left: 4px; width: 10px; height: 10px; border: 1px solid #808080;'></div></td>

+  </tr></table>

+  <table><tr>

+   <td width='60'>Settings : </td>

+   <td><input type='checkbox' id='c_display_values' /></td>

+   <td>&nbsp;Display values</td>

+   <td>&nbsp;<input type='checkbox' id='c_break' /></td>

+   <td>&nbsp;Don't break on VOID</td>

+  </tr></table>

+  <div style='background: #D2F5C1; padding: 4px; color: #667309; margin-top: 10px;'>

+   <table><tr>

+    <td width='20'><img src='graphix/comment.png' width='16' height='16' alt=''/></td>

+    <td>Selecting a chart layout will enable/disable chart specifics options.</td>

+   </tr></table>

+  </div>

+  <br/>

+  <table style='background-color: #E8E8E8; padding: 1px; border-top: 1px solid #F5F5F5; border-bottom: 1px solid #E0E0E0'><tr>

+   <td width='20'><img src='graphix/chart_line.png' width='16' height='16' alt=''/></td>

+   <td width='300'><b>Plot specifics</b></td>

+  </tr></table>

+  <br/>

+  <table><tr>

+   <td width='60'>Plot size</td>

+   <td><input type='text' id='c_plot_size' value='3' style='width: 20px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td>

+   <td width='60'>&nbsp;&nbsp; Border size</td>

+   <td>&nbsp;<input type='text' id='c_border_size' value='2' style='width: 20px; text-align: center' onmouseover='setFocus(this,true);' onmouseout='setFocus(this,false);' /></td>

+   <td>&nbsp;<input type='checkbox' id='c_border_enabled' checked='checked' onclick='checkPlotBorder();' /></td>

+   <td>&nbsp;border enabled</td>

+  </tr></table>

+  <br/>

+  <table style='background-color: #E8E8E8; padding: 1px; border-top: 1px solid #F5F5F5; border-bottom: 1px solid #E0E0E0'><tr>

+   <td width='20'><img src='graphix/chart_bar.png' width='16' height='16' alt=''/></td>

+   <td width='300'><b>Bar charts specifics</b></td>

+  </tr></table>

+  <br/>

+  <table><tr>

+   <td>&nbsp;<input type='radio' id='c_bar_classic' name='c_bar_design' value='0' checked='checked' /></td>

+   <td>&nbsp;Classic</td>

+   <td>&nbsp;<input type='radio' id='c_bar_rounded' name='c_bar_design' value='1' /></td>

+   <td>&nbsp;Rounded</td>

+   <td>&nbsp;<input type='radio' id='c_bar_gradient' name='c_bar_design' value='2' /></td>

+   <td>&nbsp;Gradient filling</td>

+   <td>&