echars 折线图使用
摘要:option = { legend: { data: ['安全趋势'], x: 20, y: 20, textStyle: { color: '#fff', fontSize: 14 } }, visualMap: { show: false, pieces: [{ //点在不同数值范围颜色不同 g
阅读全文
echars 饼图使用
摘要:option = { tooltip: { trigger: 'item', formatter: '{a} <br/>{b}: {c} ({d}%)' }, legend: { orient: 'vertical', x: 'right', y: 'center', align: 'left',/
阅读全文