![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
echarts
文章平均质量分 69
zhangyouxiu66
这个作者很懒,什么都没留下…
展开
-
Echarts地图
var provinceNameList = [ "韩国", "山东省", "江苏省", "上海市", "浙江省", "福建省", "广东省" ]; var provinceValueList = [ { name: "韩国", gdp: "11亿元", rk: "654万人", mj: "105万平方公里" }, { na...原创 2022-03-21 16:08:14 · 1626 阅读 · 0 评论 -
实现echarts折线图末端虚线
option = { backgroundColor: '#1b1b1b', colors:['#5470C6', '#5470C6'], title: { textStyle: { fontWeight: 'bold', color: '#319DF5' }, x: 'center', ...原创 2021-09-06 09:36:25 · 1095 阅读 · 0 评论 -
利用富文本标签实现echarts坐标轴红绿灯
option = { backgroundColor: '#1b1b1b', title: { textStyle: { fontWeight: 'bold', color: '#319DF5' }, x: 'center', text: '实现坐标轴红绿灯' }, tooltip: {...原创 2021-09-06 09:31:43 · 279 阅读 · 0 评论 -
控制echarts坐标轴标签文字个数换行
添加这个配置项就可以了axisLabel:{formatter:function(value){varret="";//拼接加\n返回的类目项varmaxLength=1;//每项显示文字个数varvalLength=value.length;//X轴类目项的文字个数varrowN=Math.ceil(valLength/maxLength);//...原创 2021-09-06 09:25:51 · 443 阅读 · 0 评论