1
が渡されていない場合vAxisラインは、私が持っている途中でコードされて現れて、Googleの折れ線グラフは - データがここ
var data = new google.visualization.DataTable(
{
cols: [{ label: 'week', type: 'number' },
{ label: 'Completion', type: 'number' },
{ type: 'string', role: 'tooltip' }],
rows: progressList
}
);
var options = {
width: 400,
height: 265,
hAxis: {
title: 'Week',
titleTextStyle: { fontSize: 12 },
'margin-top': '20'
},
chartArea: { 'width': '82%', 'height': '75%' },
pointSize: 5,
legend: 'none',
tooltip: { showColorCode: true },
vAxis: {
title: 'Completion %',
titleTextStyle: { fontSize: 12 },
ticks: [0, 20, 40, 60, 80, 100]
}
};
chart.draw(data, options);
これは私のチャートがどのように見えるかであるとき、空の配列[]それに渡されます。
左にVaxisラインを移動する方法はありますか?
希望... – WhiteHat