data.push(
{
type: "bar",
itemStyle: {
color: "transparent",
},
label: {
normal: {
show: true,
position: "top",
fontSize: 12,
color: "rgba(255, 255, 255, 0.9)",
offset: [-5, -15],
},
},
data: seriesData[0].data,
},
{
type: "bar",
itemStyle: {
color: "transparent",
},
// showBackground: true,
label: {
normal: {
show: true,
position: "top",
fontSize: 12,
color: "rgba(255, 255, 255, 0.9)",
offset: [-7, -15],
},
},
data: seriesData[1].data,
}
);
echarts柱状图标签
最新推荐文章于 2023-10-20 17:28:00 发布