<https://lh3.googleusercontent.com/-DmYRW-dIHUU/VTD09Wqte-I/AAAAAAAAAf4/Af9erXZvSi8/s1600/grafico.jpg>

I need to show on a graph the 14 last days of the week, the bars have to go 
two by two (Monday-Monday, Tuesday-Tuesday ...) but between the two days 
two weeks do not want any space

my code: google.load('visualization', '1', {packages: ['corechart', 
'bar']}); google.setOnLoadCallback(drawBasic);

function drawBasic() {

  var data = new google.visualization.DataTable();
  data.addColumn('string', 'Time of Day');
  data.addColumn('number', 'Motivation Level');

  data.addRows([
    ["6/4/2015", 10] ,
      ["13/4/2015", 10] ,
      ["7/4/2015", 20] ,
      ["14/4/2015", 10] ,
    ["8/4/2015", 10] ,
  ]);

  var chart = new google.visualization.ColumnChart(
    document.getElementById('chart_div'));

  chart.draw(data, null);
}

<https://lh3.googleusercontent.com/-DmYRW-dIHUU/VTD09Wqte-I/AAAAAAAAAf4/Af9erXZvSi8/s1600/grafico.jpg>


-- 
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