<https://lh3.googleusercontent.com/-xzJ2Lvng4y0/VaUP9IsBRbI/AAAAAAAAC-o/7XIwjSMmWP4/s1600/charts.png>
 google.load("visualization", "1", { packages: ["corechart"] });
 google.setOnLoadCallback(GetTodosDiaria);


 function GetTodosDiaria() {

    var div = "chart_div1";
    var data = google.visualization.arrayToDataTable([
       ['Dia', 'Pick', { role: 'annotation' }, 'Alto giro', { role: 
'annotation' }, 'Completo', { role: 'annotation' }, 'Média 140'],
       ['1', 50, 50, 80, 80, 90, 90, 140],
       ['2', 15, 15, 10, 10, 65, 65, 140],
       ['3', 85, 85, 165, 165, 165, 165, 140],
       ['4', 90, 90, 87, 87, 50, 50, 140],
       ['5', 50, 50, 80, 80, 90, 90, 140],
       ['6', 15, 15, 10, 10, 65, 65, 140],
       ['7', 85, 85, 165, 165, 165, 165, 140],
       ['8', 90, 90, 87, 87, 50, 50, 140],
       ['9', 50, 50, 80, 80, 90, 90, 140],
       ['10', 15, 15, 10, 10, 65, 65, 140],
       ['11', 50, 50, 80, 80, 90, 90, 140],
       ['12', 15, 15, 10, 10, 65, 65, 140],
       ['13', 85, 85, 165, 165, 165, 165, 140],
       ['14', 90, 90, 87, 87, 50, 50, 140],
       ['15', 50, 50, 80, 80, 90, 90, 140],
       ['16', 15, 15, 10, 10, 65, 65, 140],
       ['17', 85, 85, 165, 165, 165, 165, 140],
       ['18', 90, 90, 87, 87, 50, 50, 140],
       ['19', 50, 50, 80, 80, 90, 90, 140],
       ['20', 15, 15, 10, 10, 65, 65, 140],
       ['21', 50, 50, 80, 80, 90, 90, 140],
       ['22', 15, 15, 10, 10, 65, 65, 140],
       ['23', 85, 85, 165, 165, 165, 165, 140],
       ['24', 90, 90, 87, 87, 50, 50, 140],
       ['25', 50, 50, 80, 80, 90, 90, 140],
       ['26', 15, 15, 10, 10, 65, 65, 140],
       ['27', 85, 85, 165, 165, 165, 165, 140],
       ['28', 90, 90, 87, 87, 50, 50, 140],
       ['29', 50, 50, 80, 80, 90, 90, 140],
       ['30', 50, 50, 10, 10, 65, 65, 140]
    ]);

    var options = {
      title: 'Quantidade de retirada diária',
      seriesType: "bars",
      tooltip: { trigger: 'selection' },
      vAxis: { title: 'Qtd.' },
      hAxis: { title: 'Dia' },
      'width': 1700,
      'height': 600,
      'chartArea': { 'width': '90%', 'height': '80%' },
      legend: {
        position: 'bottom'
      },
     isStacked: true,
      series: { 3: { type: "line" } }
    };

    var chart_div = document.getElementById(div);
    chart_div.style.display = 'block';
    var chart = new google.visualization.ComboChart(chart_div);
    chart.draw(data, options);

  }

<https://lh3.googleusercontent.com/-xzJ2Lvng4y0/VaUP9IsBRbI/AAAAAAAAC-o/7XIwjSMmWP4/s1600/charts.png>

-- 
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.
  • [visualization-api] annota... Jéssica Neves Machado

Reply via email to