是否可以(并且-满足什么条件)水平滚动Google折线图? 我的尝试
function drawChart(param=1) {
$.post('dactions.php',{action:'33u00',cli:<?=$cli?>,para:param},function(response){
var chart = new google.visualization.LineChart(document.getElementById("divChart"));
var options={explorer: {axis: 'horizontal'},legend:'none'};
chart.draw(new google.visualization.DataTable(response), options);
});
HTML
<div class="nxChartsContainer" id="divChart"></div>
CSS
@media (min-width: 1200px) {
.nxChartsContainer {width: 850px;}
}
ajax返回的数据很好,因此图表很好。但是我应该怎么做才能滚动图表?