option = {
title: {
text: 'Awesome Chart'
},
xAxis: {
data: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']
},
yAxis: {},
series: [{
type: 'bar',
data: [220, 182, 191, 234, 290, 330, 310],
itemStyle: {
normal: {
label: {
show: true, //开启显示
position: 'top'
}
}
}
}]
};