echarts 柱状图条柱顶部或者右侧 显示数字
series: [
{
type: 'bar',
barWidth: 30,
data: [193, 234, 310, 121, 1341, 68180],
itemStyle: {
normal: {
label: {
show: true, // 开启显示
distance: 20, // 条柱之间的距离
position: 'right', // 在上方top在右侧right显示
textStyle: { // 数值样式
color: 'black',
fontSize: 12
}
}
}
}
}
]
还没有评论,来说两句吧...