function grafica_google_1() { google.charts.load("current", {packages:["corechart","bar"]}); google.charts.setOnLoadCallback(drawChart); function drawChart() { var data = google.visualization.arrayToDataTable([["letrero barra", "Aulas", { role: "style" } ],["20/03" ,186,"color:rgb(0,215,249)" ],["27/03" ,258,"color:rgb(17,215,253)" ],["03/04" ,312,"color:rgb(34,215,36)" ],["10/04" ,333,"color:rgb(51,215,173)" ],["17/04" ,358,"color:rgb(68,215,49)" ],["24/04" ,404,"color:rgb(85,215,119)" ],["01/05" ,424,"color:rgb(102,215,129)" ],["08/05" ,427,"color:rgb(119,215,228)" ],["15/05" ,440,"color:rgb(136,215,219)" ],["22/05" ,455,"color:rgb(153,215,206)" ],["29/05" ,465,"color:rgb(170,215,68)" ],["05/06" ,483,"color:rgb(187,215,233)" ],["12/06" ,496,"color:rgb(204,215,181)" ],["19/06" ,498,"color:rgb(221,215,129)" ],["26/06" ,511,"color:rgb(238,215,12)" ],]); var view = new google.visualization.DataView(data); view.setColumns([0, 1, { calc: 'stringify', sourceColumn: 1, type: 'string', role: 'annotation' }, 2]); var options = { chartArea: {width: '80%', height: '70%'}, width: 480, height: 320, legend: { position: 'none' }, titlePosition: 'top', title: 'Aulas Virtuales EDUCAFI' , titleTextStyle: { color: 'black', fontName: 'Arial', fontSize: 18 }, vAxes: { 0: { title:'Aulas', textStyle: {color: 'black', fontName: 'Arial', fontSize: 10 } } }, hAxes: { 0: { title:'Semanas', textStyle: {color: 'black', fontName: 'Arial', fontSize: 9 } } }, bar: {groupWidth: '95%'}, };var chart = new google.visualization.ColumnChart(document.getElementById('indicador1A')); chart.draw(view, options); } }function grafica_google_2() { google.charts.load("current", {packages:["corechart","bar"]}); google.charts.setOnLoadCallback(drawChart); function drawChart() { var data = google.visualization.arrayToDataTable([["letrero barra", "Grupos", { role: "style" } ],["20/03" ,265,"color:rgb(0,215,209)" ],["27/03" ,316,"color:rgb(17,215,125)" ],["03/04" ,389,"color:rgb(34,215,108)" ],["10/04" ,410,"color:rgb(51,215,141)" ],["17/04" ,435,"color:rgb(68,215,38)" ],["24/04" ,483,"color:rgb(85,215,15)" ],["01/05" ,504,"color:rgb(102,215,33)" ],["08/05" ,507,"color:rgb(119,215,172)" ],["15/05" ,519,"color:rgb(136,215,75)" ],["22/05" ,533,"color:rgb(153,215,28)" ],["29/05" ,543,"color:rgb(170,215,136)" ],["05/06" ,548,"color:rgb(187,215,33)" ],["12/06" ,551,"color:rgb(204,215,203)" ],["19/06" ,554,"color:rgb(221,215,9)" ],["26/06" ,554,"color:rgb(238,215,98)" ],]); var view = new google.visualization.DataView(data); view.setColumns([0, 1, { calc: 'stringify', sourceColumn: 1, type: 'string', role: 'annotation' }, 2]); var options = { chartArea: {width: '80%', height: '70%'}, width: 480, height: 320, legend: { position: 'none' }, titlePosition: 'top', title: 'Grupos EDUCAFI' , titleTextStyle: { color: 'black', fontName: 'Arial', fontSize: 18 }, vAxes: { 0: { title:'Grupos', textStyle: {color: 'black', fontName: 'Arial', fontSize: 10 } } }, hAxes: { 0: { title:'Semanas', textStyle: {color: 'black', fontName: 'Arial', fontSize: 9 } } }, bar: {groupWidth: '95%'}, };var chart = new google.visualization.AreaChart(document.getElementById('indicador1B')); chart.draw(view, options); } }function grafica_google_3() { google.charts.load("current", {packages:["corechart","bar"]}); google.charts.setOnLoadCallback(drawChart); function drawChart() { var data = google.visualization.arrayToDataTable([["letrero barra", "Profesores", { role: "style" } ],["20/03" ,103,"color:rgb(0,215,204)" ],["27/03" ,123,"color:rgb(17,215,3)" ],["03/04" ,174,"color:rgb(34,215,96)" ],["10/04" ,236,"color:rgb(51,215,240)" ],["17/04" ,257,"color:rgb(68,215,176)" ],["24/04" ,265,"color:rgb(85,215,145)" ],["01/05" ,281,"color:rgb(102,215,104)" ],["08/05" ,283,"color:rgb(119,215,49)" ],["15/05" ,289,"color:rgb(136,215,117)" ],["22/05" ,309,"color:rgb(153,215,67)" ],["29/05" ,311,"color:rgb(170,215,254)" ],["05/06" ,323,"color:rgb(187,215,184)" ],["12/06" ,331,"color:rgb(204,215,45)" ],["19/06" ,333,"color:rgb(221,215,179)" ],["26/06" ,344,"color:rgb(238,215,58)" ],]); var view = new google.visualization.DataView(data); view.setColumns([0, 1, { calc: 'stringify', sourceColumn: 1, type: 'string', role: 'annotation' }, 2]); var options = { chartArea: {width: '80%', height: '70%'}, width: 480, height: 320, legend: { position: 'none' }, titlePosition: 'top', title: 'Profesores EDUCAFI' , titleTextStyle: { color: 'black', fontName: 'Arial', fontSize: 18 }, vAxes: { 0: { title:'Profesores', textStyle: {color: 'black', fontName: 'Arial', fontSize: 10 } } }, hAxes: { 0: { title:'Semanas', textStyle: {color: 'black', fontName: 'Arial', fontSize: 9 } } }, bar: {groupWidth: '95%'}, };var chart = new google.visualization.AreaChart(document.getElementById('indicador1C')); chart.draw(view, options); } }function grafica_google_4() { google.charts.load("current", {packages:["corechart","bar"]}); google.charts.setOnLoadCallback(drawChart); function drawChart() { var data = google.visualization.arrayToDataTable([["letrero barra", "Alumnos", { role: "style" } ],["20/03" ,4116,"color:rgb(0,215,56)" ],["27/03" ,4627,"color:rgb(17,215,133)" ],["03/04" ,5308,"color:rgb(34,215,183)" ],["10/04" ,5619,"color:rgb(51,215,164)" ],["17/04" ,6019,"color:rgb(68,215,19)" ],["24/04" ,6756,"color:rgb(85,215,221)" ],["01/05" ,7298,"color:rgb(102,215,179)" ],["08/05" ,7508,"color:rgb(119,215,51)" ],["15/05" ,7644,"color:rgb(136,215,138)" ],["22/05" ,7881,"color:rgb(153,215,254)" ],["29/05" ,8016,"color:rgb(170,215,78)" ],["05/06" ,8095,"color:rgb(187,215,18)" ],["12/06" ,8153,"color:rgb(204,215,31)" ],["19/06" ,8230,"color:rgb(221,215,25)" ],["26/06" ,8248,"color:rgb(238,215,27)" ],]); var view = new google.visualization.DataView(data); view.setColumns([0, 1, { calc: 'stringify', sourceColumn: 1, type: 'string', role: 'annotation' }, 2]); var options = { chartArea: {width: '80%', height: '70%'}, width: 480, height: 320, legend: { position: 'none' }, titlePosition: 'top', title: 'Alumnos EDUCAFI' , titleTextStyle: { color: 'black', fontName: 'Arial', fontSize: 18 }, vAxes: { 0: { title:'Alumnos', textStyle: {color: 'black', fontName: 'Arial', fontSize: 10 } } }, hAxes: { 0: { title:'Semanas', textStyle: {color: 'black', fontName: 'Arial', fontSize: 9 } } }, bar: {groupWidth: '95%'}, };var chart = new google.visualization.ColumnChart(document.getElementById('indicador1D')); chart.draw(view, options); } }function grafica_google_5() { google.charts.load("current", {packages:["corechart","bar"]}); google.charts.setOnLoadCallback(drawChart); function drawChart() { var data = google.visualization.arrayToDataTable([["letrero barra", "Usuarios", { role: "style" } ],["20/03" ,274,"color:rgb(0,215,129)" ],["27/03" ,357,"color:rgb(17,215,229)" ],["03/04" ,564,"color:rgb(34,215,29)" ],["10/04" ,658,"color:rgb(51,215,224)" ],["17/04" ,847,"color:rgb(68,215,214)" ],["24/04" ,986,"color:rgb(85,215,204)" ],["01/05" ,1478,"color:rgb(102,215,113)" ],["08/05" ,1650,"color:rgb(119,215,62)" ],["15/05" ,1828,"color:rgb(136,215,253)" ],["22/05" ,2014,"color:rgb(153,215,229)" ],["29/05" ,2229,"color:rgb(170,215,129)" ],["05/06" ,2354,"color:rgb(187,215,251)" ],["12/06" ,2593,"color:rgb(204,215,158)" ],["19/06" ,2653,"color:rgb(221,215,173)" ],["26/06" ,2785,"color:rgb(238,215,175)" ],]); var view = new google.visualization.DataView(data); view.setColumns([0, 1, { calc: 'stringify', sourceColumn: 1, type: 'string', role: 'annotation' }, 2]); var options = { chartArea: {width: '80%', height: '70%'}, width: 480, height: 320, legend: { position: 'none' }, titlePosition: 'top', title: 'Atención vía correo electrónico' , titleTextStyle: { color: 'black', fontName: 'Arial', fontSize: 18 }, vAxes: { 0: { title:'Usuarios', textStyle: {color: 'black', fontName: 'Arial', fontSize: 10 } } }, hAxes: { 0: { title:'Semanas', textStyle: {color: 'black', fontName: 'Arial', fontSize: 9 } } }, bar: {groupWidth: '95%'}, };var chart = new google.visualization.ColumnChart(document.getElementById('indicador1E')); chart.draw(view, options); } }function grafica_google_6() { google.charts.load("current", {packages:["corechart","bar"]}); google.charts.setOnLoadCallback(drawChart); function drawChart() { var data = google.visualization.arrayToDataTable([["letrero barra", "Accesos", { role: "style" } ],["20/03" ,14842,"color:rgb(0,215,216)" ],["27/03" ,33802,"color:rgb(17,215,229)" ],["03/04" ,51234,"color:rgb(34,215,52)" ],["10/04" ,59465,"color:rgb(51,215,143)" ],["17/04" ,74358,"color:rgb(68,215,137)" ],["24/04" ,91244,"color:rgb(85,215,70)" ],["01/05" ,108435,"color:rgb(102,215,108)" ],["08/05" ,124772,"color:rgb(119,215,61)" ],["15/05" ,141741,"color:rgb(136,215,120)" ],["22/05" ,157622,"color:rgb(153,215,245)" ],["29/05" ,172178,"color:rgb(170,215,59)" ],["05/06" ,187667,"color:rgb(187,215,198)" ],["12/06" ,200930,"color:rgb(204,215,8)" ],["19/06" ,212166,"color:rgb(221,215,89)" ],["26/06" ,220286,"color:rgb(238,215,223)" ],]); var view = new google.visualization.DataView(data); view.setColumns([0, 1, { calc: 'stringify', sourceColumn: 1, type: 'string', role: 'annotation' }, 2]); var options = { chartArea: {width: '80%', height: '70%'}, width: 480, height: 320, legend: { position: 'none' }, titlePosition: 'top', title: 'Accesos EDUCAFI' , titleTextStyle: { color: 'black', fontName: 'Arial', fontSize: 18 }, vAxes: { 0: { title:'Accesos', textStyle: {color: 'black', fontName: 'Arial', fontSize: 10 } } }, hAxes: { 0: { title:'Semanas', textStyle: {color: 'black', fontName: 'Arial', fontSize: 9 } } }, bar: {groupWidth: '95%'}, };var chart = new google.visualization.AreaChart(document.getElementById('indicador1F')); chart.draw(view, options); } } function graficas_educafi(){ grafica_google_1();grafica_google_2();grafica_google_3();grafica_google_4();grafica_google_5();grafica_google_6(); }