0
xAxisの次のplotLineオブジェクトが両方のペインにラインを追加しています このコードで最初のペインに行を追加するにはどうすればよいですか?ここplotBandsへのペイン とも同じこと おかげ2つのハイストックペインのいずれかにプロットラインを追加する
の残りの部分に影響を与えることなく、コード
xAxis: {
plotLines: [{
value: 1180656000000,
color: 'green',
dashStyle: 'shortdash',
width: 2,
label: {
text: 'prerinse'
}
}, {
value: 1256227606000,
color: 'red',
dashStyle: 'shortdash',
width: 2,
label: {
text: 'postrinse'
}
}]
},
yAxis: [{
title: {
text: 'OHLC',
},
height: 200,
lineWidth: 2
}, {
title: {
text: 'Volume'
},
top: 300,
height: 100,
plotLines: [{value:500}],
offset: 0,
lineWidth: 2
}],
series: [{
type: 'candlestick',
name: 'AAPL',
data: ohlc,
dataGrouping: {
units: groupingUnits
}
}, {
type: 'column',
name: 'Volume',
data: volume,
yAxis: 1,
dataGrouping: {
units: groupingUnits
}
あなたの質問は...ですか? – dgw
xAxis上のplotLineは、1つのペインノットだけに影響を与える必要があります –