0
我在图表上有一个高图矩形。是否有可能只设置右边的边界以便左边有半径和尖角?Highchart矩形边框半径
我已经尝试设置.CSS的borderRadius(复姓)为好,但没有工作过。
renderer.rect(100, 100, 100, 100, 0)
.attr({
'stroke-width': 2,
stroke: 'red',
fill: 'yellow',
zIndex: 3
})
.css({
borderRadius:'10px'
})
.add();
谢谢!
Highcharts正在使用SVG元素。它不直接支持,请参阅[那个问题](http://stackoverflow.com/questions/8976791/how-to-set-a-stroke-width1-on-only-certain-sides-of-svg-shapes)。 –