echarts的一些配置
echarts的一些配置和使用1、共有方法2、饼图显示注释,配置legend3、弧形折线图,配置smooth4、折线图阴影,配置areaStyle5、自定义Y轴,配置axisLabel6、柱状图根据不同的值显示不同颜色,配置itemStyle
1、共有方法
//柱状图
showColumCategory: (that, el, xAxis, data, section) => {
const myChart = echarts.init(document.getElementById(
原创
2020-11-27 14:44:28 ·
232 阅读 ·
0 评论