摘要:
series: { legend: { orient: 'vertical', // vertical 是竖向 horizontal 是横向 top: 'bottom', //在视图的底部 right: 'right', //在视图的右侧 icon: 'circle', //图例的形状 circle 阅读全文
posted @ 2022-11-25 22:11
小成-
阅读(10)
评论(0)
推荐(0)
摘要:
series: { itemStyle: { normal: { label: { show: true, //开启显示 position: 'top', //在上方显示 textStyle: { //数值样式 color: 'black', fontSize: 12 } } } } } 阅读全文
posted @ 2022-11-25 21:39
小成-
阅读(844)
评论(0)
推荐(0)
摘要:
拿到接口返回的数据 遍历几个图,就组装成遍历的数据 //比如 遍历两个图表 this.seriesData = [ { data: [ { value: 1048, name: "Search Engine" }, { value: 735, name: "Direct" }, { value: 5 阅读全文
posted @ 2022-11-25 21:25
小成-
阅读(192)
评论(0)
推荐(0)