You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "msmcgillis (via GitHub)" <gi...@apache.org> on 2024/03/07 03:15:30 UTC
[I] [Bug] Single chart multiple graphs legend for each graph is not what is expected [echarts]
msmcgillis opened a new issue, #19687:
URL: https://github.com/apache/echarts/issues/19687
### Version
5.5.0
### Link to Minimal Reproduction
https://echarts.apache.org/examples/en/editor.html?code=PYBwLglsB2AEC8sDeAoW6OwOYCcIBMAuWAbTUw1QooCNgwxgBbQgcgHYAGAUlfOoC-AGn4Uq1DIxBsALD1YiJGOg2az5ozMM2UdmKWy69FEgToC6JzABsApllvQipPcleTQxVhqXal4pVgDWFYAZgBWXlc_CQCJYNYANki-XwsrD2BrSGlkGMx8AEMwQoBnWzBiOOp8CCZHUqhoUuISViKwWwVWAEFugCFugGFugBFugFFWS3dYUuAAVxwAY1tW8hIAIgAmTm2ZAFpOAEYj482hY8vOS6uATiEZGfQt3f2zo-2L7evboQAOR7PUg7PaHE5HUIXUK_Y5XdhAkyvMEfTgyC4yWFXRKIjag94QzjhC7hLFCUlPJH48GnTiJC44443OGPXEvamo9gXBFMv4wyl4t40o7_C6A3ksn4C9lC1F3C4PCVXK7SkGyiFMi4S5lXG6q5EE05wrXKnVCPXmFCWwQZdAADx6dogLRc_iCAE8QGsQpB6gpsHh8ABJJy2O3ETiwfJiD1ery-rpCAMEEP4MPEY5R22UWPe1gJ_24FOh8OwbZR9I6d2O53rN1gT15gBuhWsC0TyeDJYjWdcSFzXhbbY7Ra7adLmejmH7DbjISH7cLgdT6bLFeowMwhWgdWKTWIADNW-Vs-U8LZSrA67FZtBCvUvH1s_pG15rBBoInZssssAcF4aGHBRZkcH80yqWZ7S8Dov0CDB3UfVJAjMXxnzcOC7wfEJBjQ9BZzzd9P2AuCf2sP8vFwWxHGIwIHSdUoVwnXDYGrejGIzZjQOAcD0Lg2BS3aYpYL4hDsKQtJUL7W97zzEZmPwt8P2EpRSPIkI_23BwaKUOjnXY2ArlmVi9O7AzOOgMDvWqCQBJg7TAlE1gRlmFDTDQ6zMEwvNxnk18QkI5SJFU_8QndWxrDIgB3ezqF0hjTMMuDjPi
8cOJAizuKsyD-OgoSYokRzxhc6J3OkrDWCmXy51YAL8swYKvBwWx8DqjA4v0n4jJrFLV06uCuJ4jyKFsvLmPQRypmKiSKHMAQAG4gA
### Steps to Reproduce
View Reproduction.
Look at legend for each chart.
### Current Behavior
Legend for each chart includes lines from all three grids.
### Expected Behavior
Each charts legend should only include the items actually in that sections chart.
So the first legend should only have A the second legend should have B, C and D, the third legend should have E.
### Environment
```markdown
- OS:MacOS
- Browser:Chrome
- Framework: NA
```
### Any additional comments?
Attempting to combine multiple charts into single chart with single dataset. Attached is an html file that can be used to view the desired charts vs the currently generated chart when combined into a single chart.
[t.txt](https://github.com/apache/echarts/files/14518262/t.txt)
--
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.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
Re: [I] [Bug] Single chart multiple graphs legend for each graph is not what is expected [echarts]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #19687:
URL: https://github.com/apache/echarts/issues/19687#issuecomment-4061401140
This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!
--
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
Re: [I] [Bug] Single chart multiple graphs legend for each graph is not what is expected [echarts]
Posted by "MatthiasMert (via GitHub)" <gi...@apache.org>.
MatthiasMert commented on issue #19687:
URL: https://github.com/apache/echarts/issues/19687#issuecomment-1982577154
If you want your legends to contain specific items you have to configure them in [data](https://echarts.apache.org/en/option.html#legend.data). Otherwise, how would echarts be supposed to know which legend is for which grid?
[Example](https://echarts.apache.org/examples/en/editor.html?code=PYBwLglsB2AEC8sDeAoW6OwOYCcIBMAuWAbTUw1QooCNgwxgBbQgcgHYAGAUlfOoC-AGn4Uq1DIxBsALD1YiJGOg2az5ozMM2UdmKWy69FEgToC6JzABsApllvQipPcleTQxVvKtL8AQzB_YhJWAEFWc1dtJXElWANYVgBmAFZjd3QAoJDWACEFJIBhQtYAEUjo30w4iUTWADZ0hUzs4NJWAFFKpTNqSx1GYGtIaWQYijaAZ1swYlrqfAgmRymoaCnc7NsFcN2CoVYSw4rD7oH42CngAFccAGNbEPISACIAJk53mQBaTgBGP7_V5Cf6gzigsEATiEMgupA-X1-AL-7xB73BkKEAA5YfC3p9vkC_skQclMf8wew8SYCUjiZwZCCZBSwQ0aS9EUSUZxUiDUqyhAK4bSucjAZwGiD2f8IZTYRz0HTuRL2CDqbKseSRZzCeK_tiQbjNfKMTqlWKGVCQTCTWCweaEXribKQSa5WCIY7lfrKW77R6hF6olFBNVYAAPMIRiCbFyxBIATxATySkBWhVwBAAkk5bBHiJxYBNqEgkymvOmdkJsHh8Ln8PniP9i-H0GWwMnU6wq5m6w2m7B3sWLOHE9HY88E52K0kAG7-aw3au1nN5guwIslsTl7sLpcrrP19fN1uuDtdrz75d9teNjfDvoUeGYfzQZaBdbEABmi5m4ZmPBbCmWApwkBYKGgfwVi8CI20kS8kmsCBoGrTJ7mGYAcC8GgDxaS5HAwxt5kydAN1YbZ8MuWBE1gvhLifMNz0yKCYKSA5MhnbtkNQqilAw6wsK8XBbEcPiJCjGMpgHDcwUyccpJk5t4PQQjgGItxqMjLxKJUjBaPY-j4kYihtxqFjoO7Y5OMQ1geLQy4BKEpIsLfBxxOoSTYyU2A5MuBTvJPXy9LUjSIM8nTAgc6iDKO
IzeiqZjLlY7tThs2c7JQ6L-Mw7CkkTWxrEEgB3DyKC86Sgr8-IAsq-9lMyULU3C8rIrAbKaq8CpMhMrR4Ja9AUq8bo9K4rx7LKzAnLy1gcFsfBJowCqfIxeSJzqwdVoI6AiOa0jtKSXT9ti7oeuiCwBAAbiAA)
--
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
Re: [I] [Bug] Single chart multiple graphs legend for each graph is not what is expected [echarts]
Posted by "msmcgillis (via GitHub)" <gi...@apache.org>.
msmcgillis commented on issue #19687:
URL: https://github.com/apache/echarts/issues/19687#issuecomment-1983594950
Thanks the documentation is missing details for the legend and I thought I tried using data. In any case your example works for me so that is great.
The same way the code knows which series belongs to which grid. To my thinking would also apply to the legend. Each grid has its on legend those series assigned to each grid gets assigned to the corresponding legend.
--
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
Re: [I] [Bug] Single chart multiple graphs legend for each graph is not what is expected [echarts]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #19687:
URL: https://github.com/apache/echarts/issues/19687#issuecomment-4017367026
This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.
--
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
Re: [I] [Bug] Single chart multiple graphs legend for each graph is not what is expected [echarts]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #19687: [Bug] Single chart multiple graphs legend for each graph is not what is expected
URL: https://github.com/apache/echarts/issues/19687
--
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