04 2022 档案

摘要:效果图: html: <ChartDom :chart-option="option" :chart-style="chartStyle" /> js: option: { tooltip: { trigger: 'axis', // show: false, formatter() { // le 阅读全文
posted @ 2022-04-19 18:06 haha-uu 阅读(299) 评论(0) 推荐(0) 编辑
摘要:npm i svg-sprite-loader vue.config.js:黑体字部分 const path = require('path') function resolve(dir) { return path.join(__dirname, '.', dir) } module.export 阅读全文
posted @ 2022-04-15 14:05 haha-uu 阅读(1376) 评论(1) 推荐(0) 编辑
摘要:chartStyle: { type: Object, default: () => ({ width: '100%', height: `calc(100vh - 400px)`, }), required: true, } 阅读全文
posted @ 2022-04-14 16:58 haha-uu 阅读(2665) 评论(0) 推荐(0) 编辑
摘要:参考:https://github.com/apache/echarts/issues/13943 <div id="card" ref="chartDom" :style="chartStyle"></div> import { shallowRef } from 'vue'; import * 阅读全文
posted @ 2022-04-14 14:58 haha-uu 阅读(701) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示