jfarrin1 edited a comment on issue #9518: Legend Values Must be Series Names
URL: 
https://github.com/apache/incubator-echarts/issues/9518#issuecomment-444479840
 
 
   > You can try `legend.formatter` to display any text you want. But the data 
in legend must be same with `series.name` so they can be connected properly
   
   First, thank you for the quick response! Much appreciated :).
   
   Using the formatter still only passes the `series.name` value, there is no 
way to access the `data[i].name` values. There must also only be 1 legend label 
per series - of course that makes sense for the default functionality, but then 
there is no way to have more labels than series. I don't need the legend labels 
to be connected toggle a series on/off or have any functionality on click. I 
just need a custom legend that can be whatever array of names I want. As I 
understand, this is not possible at the moment.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to