How do I align date and values to gridlines in Google Chart?
问题 I'm using Google Chart in my application with the following code (JSFiddle): google.load('visualization', '1', {packages: ['corechart']}); google.setOnLoadCallback(drawChart); function drawChart() { var data = new google.visualization.DataTable(); data.addColumn('date', 'date'); data.addColumn('number', 'view'); data.addRows([ [new Date('2015-08-01'), 5], [new Date('2015-08-02'), 7], [new Date('2015-08-03'), 2], [new Date('2015-08-04'), 16], [new Date('2015-08-05'), 3], [new Date('2015-08-06'