renderer.labelを前面に配置して、プロットラインラベルで覆われないようにする方法はありますか? レンダラー前のハイチャートに移動
plotbandLabel = this.renderer.label(
(66).toFixed(2),
chart.plotLeft + chart.plotWidth,
yAxis.toPixels(66) - labelOffset,
'rect'
)
.css({
'color': '#FFFFFF',
'z-index':'999'
}).attr({
align: 'right',
fill: 'rgba(0, 0, 0, 0.75)',
padding: 8,
zIndex: 999
})
.add();
yAxis.addPlotLine({
value: 55,
color: 'blue',
width: 3,
dashStyle: 'Solid',
zIndex: 1,
id: 'ahLine',
label: {
text: 'testing',
verticalAlign: 'middle',
align: 'right',
rotation: 0,
useHTML: true,
zIndex: 1,
style: {
"padding": "0 10px 0 0",
"background-color": "#ffa500",//#CF2323",
"color": "white",
"height": "25px",
"text-align": "center",
"padding-top": "5px",
"border-radius": "5px",
"z-index":"1"
}
}
});
下の画像を参照してくださいすることはここに私のサンプルコードhttp://jsfiddle.net/eb9mjc2j/ これであなたの助けに感謝です。ありがとうございます