0
我想一個額外的Y軸添加到我的圖的右側。添加第二個Y軸
如this example所描述的,我增加了一個附加的價值軸和位於其右邊:
{
"id": "v2",
"position": "right"
}
但是它似乎只是被忽略。
這是我的全部代碼:
var chart = AmCharts.makeChart("mydia", {
"type": "xy",
"dataProvider": data,
"valueAxes": [{
"id": "v1",
"position": "left"
}, {
"id": "v2",
"position": "right"
}],
"graphs": [{
"balloonText": "x:[[x]] y:[[y]]",
"xField": "ax",
"yField": "ay",
}, {
"balloonText": "x:[[x]] y:[[y]]",
"xField": "bx",
"yField": "by",
}],
});
任何人的想法?