legend的data与series的name 两者必须同时存在,且数量和文字内容必须一致。
echart的legend不显示问题
原文:https://www.cnblogs.com/longlonglongago/p/12071842.html