
echarts
文章平均质量分 79
每天进步一点.
这个作者很懒,什么都没留下…
展开
-
echarts关系图重名知识点 导致图表无法绘制
1. links 为 id (string类型 name重复不会有问题)data.push({ "name": item.name, "symbolSize": size, "draggable": false, "id": String(item.id), "itemStyle":{ "color": color }});links.push({ "source": String(sourceid), "target": String(item.id),原创 2020-10-16 17:58:02 · 1037 阅读 · 2 评论 -
echarts lengend 换行
legend: { type: 'scroll', orient: 'vertical', icon: 'circle', formatter: function (name) { if(name && name.length > 26){ var str1 = name.substring(0, 26) var str2 = name.substring(26) na原创 2020-07-02 10:38:43 · 1331 阅读 · 0 评论