随笔分类 -  折线图

关于echarts折线图的部分
摘要:先看效果图: 代码如下: chart.setOption({ tooltip: { trigger: "axis", show: true, backgroundColor: "rgba(0, 0, 0, 0.4)", borderColor: "transparent", padding: [5] 阅读全文
posted @ 2023-07-20 16:18 大云之下 阅读(18) 评论(0) 推荐(0) 编辑
摘要:先看效果图: 代码如下: chart.setOption({ tooltip: { trigger: 'axis', show: true, backgroundColor: 'rgba(6,19,40,0.8)', borderColor: 'transparent', padding: [8, 阅读全文
posted @ 2023-07-20 16:16 大云之下 阅读(31) 评论(0) 推荐(0) 编辑
摘要:先看效果图: 代码如下: chart.setOption({ tooltip: { trigger: 'axis', show: true, backgroundColor: 'rgba(6,19,40,0.8)', borderColor: 'transparent', padding: [8, 阅读全文
posted @ 2023-07-20 16:14 大云之下 阅读(42) 评论(0) 推荐(0) 编辑
摘要:效果图: 代码如下:(直接放整个vue文件了,省事) <template> <div> <div style="width: 406px; height:220px" id="zz_r_two1"></div> <div class="xsTitle"> <div class="fang"></di 阅读全文
posted @ 2023-05-18 18:25 大云之下 阅读(260) 评论(0) 推荐(0) 编辑
摘要:效果如下 代码: <template> <div style="width: 406px; height: 190px" id="it_r_two"></div> </template> <script> export default { name: "it_r_two", data() { ret 阅读全文
posted @ 2023-05-17 15:29 大云之下 阅读(81) 评论(0) 推荐(0) 编辑
摘要:<template> <div id="energyEcharts" style="width: 100%; height: 100%;"></div> </template> <script> export default { data() { return { } }, mounted() { 阅读全文
posted @ 2022-03-28 16:21 大云之下 阅读(78) 评论(0) 推荐(0) 编辑
摘要:先看效果图: <div id="weatherForecast" style="width:100%;height:100%"></div> //自适应字体大小变化 WidthAdaptive(res) { var windth = window.innerWidth; let fontSize = 阅读全文
posted @ 2021-11-12 17:08 大云之下 阅读(1601) 评论(0) 推荐(0) 编辑
摘要:先看效果图: 代码如下: <div id="lineChart" style="width:100%;height:100%"></div> //自适应字体大小变化 WidthAdaptive(res) { var windth = window.innerWidth; let fontSize = 阅读全文
posted @ 2021-11-12 15:24 大云之下 阅读(202) 评论(0) 推荐(0) 编辑
摘要:效果图: <div style="width: 462px; height: 220px" id="zhexiantu"></div> // 自适应字体大小变化 WidthAdaptive(res) { var windth = window.innerWidth; let fontSize = w 阅读全文
posted @ 2021-10-09 11:09 大云之下 阅读(1805) 评论(0) 推荐(1) 编辑
摘要:效果图: <div style="width: 462px; height: 180px" id="indexLeftbottom"></div> // 自适应字体大小变化 WidthAdaptive(res) { var windth = window.innerWidth; let fontSi 阅读全文
posted @ 2021-10-09 10:57 大云之下 阅读(1531) 评论(0) 推荐(0) 编辑
摘要:效果图: <div style="width: 462px; height: 180px" id="energyLeftTop"></div> // 自适应字体大小变化 WidthAdaptive(res) { var windth = window.innerWidth; let fontSize 阅读全文
posted @ 2021-10-09 10:47 大云之下 阅读(59) 评论(0) 推荐(0) 编辑

大云之下
欢迎阅读『折线图』
点击右上角即可分享
微信分享提示