Hi,
this is my chart code.

<script type="text/javascript" src="https://www.google.com/jsapi";></script>
<script type="text/javascript"> 
   google.load('visualization', '1', {packages: ['corechart']}); 
   google.setOnLoadCallback(drawChart); 

   function drawChart() { 
      var data = new google.visualization.DataTable();
      data.addColumn('string', 'Data'); 
      data.addColumn('number', 'P.L.'); 
 
      <?php 
         $recupera_valori = $mysqli->query( "SELECT * FROM cronoprogramma 
WHERE verificato=1 LIMIT 90"); 
         while ( $row = mysqli_fetch_array($recupera_valori) ) 
         { 
            $data = $row['data']; 
            $valore = $row['valore']; 
            echo(" 
               data.addRows([ 
                  ['$data', $valore] 
               ]) 
            "); 
         }
      ?>
      
      var options = {
         pointSize: 5,
         pointShape: 'circle',
         backgroundColor: '#f8f8f8',
         width: 1400,
         height: 700,
         hAxis: {
            title: ''
         },
         vAxis: {
            title: ''
         },
      };
      
      var chart = new google.visualization.LineChart(document.getElementById
('ex0'));
      chart.draw(data, options);
   }

</script>

I want to date "2015-06-22" the point in the graph is a square.
Can you help me?


-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.

Reply via email to