2
하이 차트에서 듀얼 엑시스를 하이 차트로 만들 수있는 방법이 있습니까? 당신이 highcharts에로 같은 방법으로 할 수처럼Highstock의 이중 축?
http://www.highcharts.com/demo/combo-dual-axes
하이 차트에서 듀얼 엑시스를 하이 차트로 만들 수있는 방법이 있습니까? 당신이 highcharts에로 같은 방법으로 할 수처럼Highstock의 이중 축?
http://www.highcharts.com/demo/combo-dual-axes
는 것 같습니다. 각 시리즈는 yAxis : n을 지정합니다. 여기서 n은 대칭하고자하는 축이고 n yAxis 항목을 정의해야합니다. 예를 들어 highstock 데모 중 하나를 수정했습니다 : http://jsfiddle.net/ykfmG/
$.getJSON('http://www.highcharts.com/samples/data/jsonp.php?filename='+ name.toLowerCase() +'-c.json&callback=?', function(data) {
seriesOptions[i] = {
name: name,
data: data,
yAxis:i
};
}
yAxis: [{
labels: {
formatter: function() {
return (this.value > 0 ? '+' : '') + this.value + '%';
}
},
plotLines: [{
value: 0,
width: 2,
color: 'silver'
}]
},{opposite:true},{opposite:true},{opposite:true}],
완벽하게, 정말 고마워요 :) – saulob