The jqChart...
<?php 
require_once '../../../tabs.php';
?>
<!DOCTYPE html>
<html>
  <head>
    <style type="text">
        html, body {
            margin: 0;            /* Remove body margin/padding */
            padding: 0;
            overflow: hidden;    /* Remove scroll bars on browser window */
            font-size: 62.5%;
        }
        body {
            font-family: "Trebuchet MS", "Helvetica", "Arial",  "Verdana", "sans-serif";
        }
        #tags {z-index: 900}
    </style>
    <title>jqChart PHP Demo</title>
    <link rel="stylesheet" type="text/css" media="screen" href="../../../themes/redmond/jquery-ui-1.8.2.custom.css" />
    <script src="../../../js/jquery.js" type="text/javascript"></script>
    <script src="../../../js/jquery.jqChart.min.js" type="text/javascript"></script>
     
    <script src="../../../js/jquery-ui-custom.min.js" type="text/javascript"></script>
  </head>
  <body>
      <div>
        <?php include ("chart.php");?>
      </div>
      <br/>
      <?php tabs(array("chart.php"));?>
   </body>
</html>
chart.php.
<?php
require_once '../../../jq-config.php';
require_once 
ABSPATH."php/jqUtils.php";
//require_once ABSPATH."php/jqGridPdo.php";
require_once ABSPATH."php/jqChart.php";
ini_set("display_errors","1");
//$conn = new PDO(DB_DSN,DB_USER,DB_PASSWORD);

// Tell the db that we use utf-8
//jqGridDB::query($conn,"SET NAMES utf8");

$plotbands = array(
    array(
"from"=>0.3,"to"=>1.5,"color"=>'rgba(68, 170, 213, 0.1)'"label"=>array("text"=>'Light air',"style"=>array("color"=>'#606060'))),
    array(
"from"=>1.5,"to"=>3.3,"color"=>'rgba(0, 0, 0, 0)'"label"=>array("text"=>'Light breeze',"style"=>array("color"=>'#606060'))),
    array(
"from"=>3.3,"to"=>5.5,"color"=>'rgba(68, 170, 213, 0.1)'"label"=>array("text"=>'Gentle breeze',"style"=>array("color"=>'#606060'))),
    array(
"from"=>5.5,"to"=>8,"color"=>'rgba(0, 0, 0, 0)'"label"=>array("text"=>'Moderate breeze',"style"=>array("color"=>'#606060'))),
    array(
"from"=>8,"to"=>11,"color"=>'rgba(68, 170, 213, 0.1)'"label"=>array("text"=>'Fresh breeze',"style"=>array("color"=>'#606060'))),
    array(
"from"=>11,"to"=>14,"color"=>'rgba(0, 0, 0, 0)'"label"=>array("text"=>'Strong breeze',"style"=>array("color"=>'#606060'))),
    array(
"from"=>14,"to"=>15,"color"=>'rgba(68, 170, 213, 0.1)'"label"=>array("text"=>'High wind',"style"=>array("color"=>'#606060')))
);

$chart = new jqChart();
$chart->setChartOptions(array("defaultSeriesType"=>"spline"))
->
setTitle(array('text'=>'Wind speed during two days'))
->
setSubtitle(array("text"=>"October 6th and 7th 2009 at two locations in Vik i Sogn, Norway"))
->
setxAxis(array(
    
"type"=>"datetime"
))
->
setyAxis(array(
    
"title"=>array("text"=>'Wind speed (m/s)'),
    
"min"=>0,
    
"minorGridLineWidth"=>0,
    
"gridLineWidth"=>0,
    
"alternateGridColor"=>null,
    
"plotBands"=>$plotbands
))
->
setTooltip(array(
    
"formatter"=>"function(){return ''+Highcharts.dateFormat('%e. %b %Y, %H:00', this.x) +': '+ this.y +' m/s';}"
))
->
setPlotOptions(array(
    
"spline"=>array(
        
"lineWidth"=> 4,
        
"states"=>array("hover"=>  array ("lineWidth"=>5)),
        
"marker"=>array(
            
"enabled"=> true,
            
"states"=>array("hover"=>  array ("lineWidth"=>1,"radius"=>5,"enabled"=>true"symbol"=>"circle"))
        ),
        
"pointInterval"=> 3600000//one hour
        
"pointStart"=> 'js:Date.UTC(2009, 9, 6, 0, 0, 0)'

    
)
))
->
addSeries('Hestavollane', array(
4.35.14.35.25.44.73.54.15.67.46.97.1,
7.97.97.56.77.77.77.47.07.15.85.97.4,
8.28.59.48.110.910.410.912.412.19.57.5,
7.17.58.16.83.42.11.92.82.91.34.44.2,3.03.0
))
->
addSeries('Voll', array(
0.00.00.00.00.00.00.00.00.10.00.30.0,
0.00.40.00.10.00.00.00.00.00.00.00.0,
0.00.61.21.70.72.94.12.63.73.91.72.3,
3.03.34.85.04.85.03.22.00.90.40.30.50.4
));
echo 
$chart->renderChart(''true700350);

?>