options: {
backgroundColor: '#28467c',
tooltip: {
trigger: 'axis',
formatter: '{b} : {c}',
axisPointer: {
// 坐标轴指示器,坐标轴触发有效
type: 'shadow' // 默认为直线,可选为:'line' | 'shadow'
}
},
xAxis: {
data: ['发放提成', '收取提成'],
// 坐标轴
axisLine: {
lineStyle: {
color: '#fff'
}
},
// 坐标值标注
axisLabel: {
show: true,
textStyle: {
color: '#fff'
}
}
},
yAxis: {
// 坐标轴
echarts 柱状立体图
最新推荐文章于 2024-07-02 10:45:19 发布
本文详细介绍了如何使用ECharts库创建具有立体效果的柱状图,包括数据配置、图表样式调整和交互功能设置,旨在帮助开发者打造更加生动、直观的数据展示效果。
摘要由CSDN通过智能技术生成