摘要:
效果图 代码 const barWidth = 30; //柱子宽度 const barData = [ 476, 13, 235, 2, 402, 258, 387, 306, 8, 31, 734, 39, 762, 225, 31, 18 ]; //柱子数据 const lineData = 阅读全文
posted @ 2024-12-30 17:48
火炬冬天
阅读(138)
评论(0)
推荐(0)
摘要:
版本:5.2.10 一、引入@antv/g2 import { Chart } from "@antv/g2"; 二、初始化 # container里类似echarts,可以用id也可以用refs let chart = new Chart({ container: "pie-chart", aut 阅读全文
posted @ 2024-12-30 16:25
火炬冬天
阅读(318)
评论(0)
推荐(0)
浙公网安备 33010602011771号