1
내 문제는 Google Charts API가있는 누적 세로 막 대형 차트에 관한 것입니다.Google Charts - 누적 세로 막 대형 차트의 트렌드
나는 글로벌 추세선을 얻으려고 노력하고있다.
<script type="text/javascript">
google.charts.load("current", {"packages":["corechart"]});
google.charts.setOnLoadCallback(drawVisualization);
function drawVisualization() {
var data = google.visualization.arrayToDataTable([['Month', 'OK', 'KO', 'Estimation'],[ '2016/08', 1990, 49, null ],[ '2016/09', 6892, 97, null ],[ '2016/10', 6018, 0, null ],[ '2016/11', 7329, 146, null ],[ '2016/12', 3059, 97, 1827 ]]);
var options = {
isStacked: true,
seriesType: "bars",
legend: "none",
hAxis:{ textPosition: "none" },
vAxis: { viewWindow: { min: 0, max: 8000 } },
trendlines: { 0: {} }
};
var chart = new google.visualization.ComboChart(document.getElementById("bar"));
chart.draw(data, options);
}
</script>
trendlines: { 0: {} },
을 추가하면 결과가 없습니다.
참조 가이드에서 아무 것도 발견되지 않았습니다. 어쩌면 구현되지 않았거나 잘못 되었습니까? 문서에서 언급하지 않았지만