• 2023-06-12react echats封装
    import*asechartsfrom"echarts";import{EChartsOption}from'echarts'functionIndex(props:EChartsOption){constechartsRef:any=useRef<HTMLElement>();useEffect(()=>{constmyChart=echarts.init(echartsRef.cur
  • 2022-12-08echart 图表
    折线图option={xAxis:{type:'category',data:['Mon','Tue','Wed','Thu','Fri','Sat','Sun']},yAxis:{type:'value'},series:
  • 2022-10-18vue3引入echarts
    安装npminstallecharts--savemain.tsimport{createApp}from'vue'import'./style.css'import*asechartsfrom'echarts'importAppfrom'./App.vue