版权声明:本文为博主原创文章,未经博主允许不可转载。转载请注明出处 https://blog.csdn.net/qq_32442967/article/details/82704953
echarts 柱状图 柱顶部显示数字
series : [
{
type:'bar',
barWidth:50,
data:[10, 52, 200, 334, 390, 330, 220],
itemStyle: {
normal: {
label: {
show: true, //开启显示
position: 'top', //在上方显示
textStyle: { //数值样式
color: 'black',
fontSize: 16
}
}
}
}
}
],