echart
maozuai~zi
这个作者很懒,什么都没留下…
展开
-
【echart】dataset使用方法
echart dataset使用方法原创 2022-07-04 17:22:52 · 1523 阅读 · 0 评论 -
【echart】常用术语
echart常用术语原创 2022-07-04 17:22:10 · 964 阅读 · 0 评论 -
【echart】myChart.on(‘click‘, click)点击事件出发两次或多次
myChart.on('click', click)触发两次点击事件原创 2022-07-01 16:09:20 · 1474 阅读 · 0 评论 -
【echart】饼图 legend tooltip格式化比例为0不显示
echart饼图制作,格式化legend tooltip ,占比为0的数据不显示原创 2022-06-23 18:03:53 · 1612 阅读 · 0 评论 -
echart中提示Cannot read properties of undefined(reading ‘nativeElement‘)
html中写法<div class="d-flex flex-column h-100" ngIf="data"> <!-- <lib-widget-title-bar [title]="title"></lib-widget-title-bar> --> <div id="main" class="flex-fill" #chart> </div> </div>.原创 2022-04-21 18:06:58 · 1040 阅读 · 0 评论 -
echarts 折线属性设置
折线option = { xAxis: { type: 'category', data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] }, yAxis: { type: 'value' }, series: [ { data: [820, 932, 901, 934, 1290, 1330, 1320], smooth: true, name: "温度",//原创 2021-11-03 14:23:57 · 1254 阅读 · 0 评论 -
echarts 柱状图一些属性
option = { xAxis: { type: 'category', data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] }, yAxis: { type: 'value' }, series: [ { data: [120, 200, 150, 80, 70, 110, 130], type: 'bar', itemStyle: {原创 2021-11-03 08:34:37 · 410 阅读 · 0 评论 -
echarts图表紧挨y轴,调节图表和y轴之间的距离
需求描述图表紧挨y轴,现在需要调节一下图表和y轴之间的距离实现方式将xAxis中的boundaryGap:false 注释掉即可原创 2021-11-02 17:30:50 · 8325 阅读 · 2 评论 -
echart主题使用,小白教程,适合刚开始学习echart
刚开始学习echart,也是第一次使用csdn发表文章O(∩_∩)O哈哈~一、使用主题构建工具将将官网某个主题代码复制下来1、打开主题构建工具: http://echarts.baidu.com/theme-builder/2、点击左上角下载按钮3、将代码复制下来新建文件customed.js(可任意命名)3、 在html文件中引用customed.js&lt;script type...原创 2018-11-13 16:35:12 · 4581 阅读 · 0 评论