我需要隐藏系列中的最后一点,但必须保留标签。似乎只能设置pointWidth
而不是pointHeight
。如何强制显示标签并隐藏最后一点的栏栏?
series: [
{
type: 'column',
data: [1, 2, 1, 2, 3, { pointWidth: 0, y: 5 }]
}
]
Here's a demo of the current/expected behavior
谢谢
您可以将最后一列的颜色设置为透明:
series: [{
data: [3,5,7,4,{y:5,color: 'transparent'}]
}]