You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2022/05/27 06:51:50 UTC

[GitHub] [echarts] tyn1998 commented on issue #17109: [Bug] Legend didn't display

tyn1998 commented on issue #17109:
URL: https://github.com/apache/echarts/issues/17109#issuecomment-1139336432

   Hi @aaa646123, items of `legend.data` should correspond to multiple `series.name`s (see [docs](https://echarts.apache.org/en/option.html#legend.data)).
   
   The demo you mentioned is [custom-profile](https://echarts.apache.org/examples/zh/editor.html?c=custom-profile), where the original code does not involve `legend` component because it won't work.
   
   If you want to add some labels to indicate which colors means which types, I suppose you may like to try [graphic](https://echarts.apache.org/zh/option.html#graphic) component.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org