我有一个像这样的简单的谷歌组合图表
https://jsfiddle.net/bxd6ngd1/
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<div id="chart_div"></div>
google.charts.load('current', {
'packages': ['corechart']
});
google.charts.setOnLoadCallback(drawChart);
function drawChart() {
var data = google.visualization.arrayToDataTable([
['Year', 'Sales', 'target'],
['2013', 1000, 1100],
['2014', 1170, 1100],
['2015', 660, 1100]
]);
var options = {
seriesType: 'bars',
series: {1: {type: 'line'}}
};
var chart = new google.visualization.ColumnChart(document.getElementById('chart_div'));
chart.draw(data, options);
}
我可以将红色“目标”线格式化为从右到左遍历整个图表而不是从第一列的中间开始并在最后一列的中间结束吗?