Echarts 图例 legend formatter 如何返回 html

答案是不支持html 。

参考链接:https://github.com/apache/incubator-echarts/issues/10524

如果有这种需求建议换一种思路,自己写一段类似于legend的html,然后绝对定位到echarts图表上,就酱。

 

posted @ 2019-05-31 11:00  xianxiaobo  阅读(10675)  评论(0编辑  收藏  举报