¿Es posible usar ticks con el nombre de un mes? Todos los ejemplos que he visto usan años o un número, así que no estoy seguro de si es posible. Básicamente, el gráfico repite los nombres de los meses como JAN JAN JAN FEB FEB FEB donde solo quiero que muestre JAN FEB
google.charts.setOnLoadCallback(drawChart); function drawChart() { var data = google.visualization.arrayToDataTable([ ['Month', '2012', '2013', '2014'], ['JAN', 3991, 3910, 3820], ['JAN', 4316, 4335, 4104], ['JAN', 4478, 4439, 4284], ['JAN', 4518, 4385, 4213], ['FEB', 4496, 4422, 4291], ['FEB', 4525, 4503, 4311], ['FEB', 4486, 4433, 4323], ['FEB', 4441, 4449, 4304], ['MAR', 4470, 4383, 4296], ['MAR', 4453, 4463, 4413], ['MAR', 4462, 4499, 4342], ['MAR', 4353, 4491, 4278], ['MAR', 4435, 3912, 4154], // more data.... ]); var options = { legend: { position: 'bottom' }, hAxis: { textStyle: { color: 'red', } }, }; var chart = new google.visualization.LineChart(document.getElementById('chart')); chart.draw(data, options); }