<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <title>Simple Test</title>
  <!--[if IE]><script language="javascript" type="text/javascript" src="/js/jqplot/excanvas.js"></script><![endif]-->
  
  <link rel="stylesheet" type="text/css" href="/js/jqplot/css/jquery.jqplot.css" />
  
  <!-- BEGIN: load jquery -->
  <script language="javascript" type="text/javascript" src="/js/jqplot/jquery-1.3.2.min.js"></script>
  <!-- END: load jquery -->
  
  <!-- BEGIN: load jqplot -->
  <script language="javascript" type="text/javascript" src="/js/jqplot/jquery.jqplot.min.js"></script>
  <script language="javascript" type="text/javascript" src="/js/jqplot/plugins/jqplot.barRenderer.js"></script>
  <script language="javascript" type="text/javascript" src="/js/jqplot/plugins/jqplot.categoryAxisRenderer.js"></script>
  <!-- END: load jqplot -->
  <script type="text/javascript" language="javascript">
  
  $(document).ready(function(){

var graph = {"title":"Ovens Departement","series":["Ovens-1","Ovens-2","Trend-1","Trend-2"],"ticks":["09/01","09/02","09/03","09/04","09/08","09/09","09/10","09/11","09/14","09/15","09/16","09/17","09/21","09/22","09/23","09/24","09/25","09/28","09/29","09/30","10/01","10/02","10/05"],"data":[[21.6283,31.3794,57.6309,0,40.0247,43.9238,27.5587,0,23.9727,23.7793,49.4032,38.3079,46.1029,797.0744,191.7541,44.3324,73.2631,45.7581,55.1903,56.3363,27.5104,58.6948,53.072],[40.9967,88.2248,38.5611,0,49.0184,51.9849,31.7774,0,27.938,43.7991,42.703,43.5023,48.076,66.5638,52.6492,63.0378,81.7936,49.8566,56.2796,37.602,73.5923,67.1122,0],[302.476460714286,119.323660714285,48.8174678571426,38.2207214285712,38.2832821428569,40.0310857142854,38.5410035714282,0,26.0625499999996,23.4421821428568,33.6771785714282,39.2061535714281,43.0597392857138,232.936907142857,220.819953571428,156.597349999999,101.028271428571,66.4137392857137,58.2726392857137,56.4833642857137,44.1438178571423,52.7548499999995,56.2889964285709],[211.046935714285,43.3466392857141,48.4560499999997,0,39.9372535714283,41.6921785714282,37.5185107142854,28.7939428571425,24.8957678571425,27.7129928571425,37.1861535714281,41.1566142857138,44.8073928571424,211.536082142857,190.004346428571,127.837057142857,75.4525714285709,59.1425928571423,57.5842571428566,50.9382357142852,50.8085607142852,56.4898392857137,0]]};

var optionsObj = {
    legend: {
        show: true,
        location: 'ne',
        xoffset: 55
    },
    title: graph.title,
    seriesDefaults: {
        renderer: $.jqplot.BarRenderer,
        rendererOptions: {
            barPadding: 0,
            barMargin: 8
        }
    },
    series: [{
        label: graph.series[0]
    },
    {
        label: graph.series[1]
    },
    {
        label: graph.series[2],
        renderer: $.jqplot.LineRenderer
    },
    {
        label: graph.series[3],
        renderer: $.jqplot.LineRenderer
    }],
    axes: {
        xaxis: {
            renderer: $.jqplot.CategoryAxisRenderer,
            ticks: graph.ticks
        },
        yaxis: {min:0,max:150}
    }
};

plot3 = $.jqplot('chart3', graph.data, optionsObj);
});

  </script>
  <style type="text/css" media="screen">
    .jqplot-axis {
      font-size: 0.75em;
    }
    .jqplot-legend {
      font-size: 1.0em;
    }
    #chart3 { float: left; }
    #chartbuttons {border: 1px solid blue; margin: 20px 0 0 20px; width: 100px}

  </style>
  </head>
  <body>
    <div id="chart3" style="margin-top:20px; margin-left:20px; width:1000px; height:800px;"></div>
    <div id="chartbuttons">buttons</div>
  </body>
</html>