Loading

随笔分类 -  echarts

摘要:const gradient = new echarts.graphic.LinearGradient(0, 0, 1, 1, [ { offset: 0, color: '#1044EE' }, { offset: 1, color: '#00FFF6' } ]); option = { seri 阅读全文
posted @ 2024-12-04 15:39 请叫我王小胖 阅读(531) 评论(0) 推荐(0)
摘要:eCharts记录折线图案例option = { grid: { left: 30, right: 20, bottom: 20, top: 30, containLabel: true }, xAxis: { name: '粒径(mm)', type: 'log', nameLocation: 'middle', nameT 阅读全文
posted @ 2024-07-18 11:11 请叫我王小胖 阅读(84) 评论(0) 推荐(0)
摘要:eCharts记录一柱形图案例option = { color: '#8AE6C7', grid: { left: '50', right: '50', bottom: '50', containLabel: true }, textStyle: { color: 'rgba(0,0,0,.58)' }, xAxis: { ty 阅读全文
posted @ 2023-12-25 18:01 请叫我王小胖 阅读(28) 评论(0) 推荐(0)
摘要:根据中心点位/斜边长度/角度 生成随机裂缝坐标轴已知裂缝中心点位 /裂缝长度/角度 生成裂缝位置形状坐标图 效果图 页面代码 <el-row v-show="showChart"> <el-col :push="2" :span="20"> <div id="axis"></div> </el-col> </el-row> <el-button 阅读全文
posted @ 2022-01-06 15:43 请叫我王小胖 阅读(169) 评论(0) 推荐(0)
摘要:ECharts 样式库makeapie地址 (ECharts 样式库 图表美化) 地址已失效 https://www.makeapie.com/explore.html Make A Pie 社区停止服务 下面是找到的几个平替/备份网站 http://echarts.zhangmuchen.top/#/index htt 阅读全文
posted @ 2021-12-14 17:57 请叫我王小胖 阅读(765) 评论(0) 推荐(0)
摘要:1 import * as echarts from 'echarts'; 2 3 var chartDom = document.getElementById('main'); 4 var myChart = echarts.init(chartDom); 5 var option; 6 7 // 阅读全文
posted @ 2021-11-26 09:51 请叫我王小胖 阅读(1598) 评论(0) 推荐(0)