You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "jpmonette (via GitHub)" <gi...@apache.org> on 2023/02/03 16:31:33 UTC

[GitHub] [echarts] jpmonette opened a new issue, #18237: [Bug] Colour assigned to scatters change when toggling legend

jpmonette opened a new issue, #18237:
URL: https://github.com/apache/echarts/issues/18237

   ### Version
   
   5.3.2
   
   ### Link to Minimal Reproduction
   
   https://jsfiddle.net/x0yq5gdc/
   
   ### Steps to Reproduce
   
   1. Click on `Milwaukee WI` in the legend
   
   Colors in the legend stay the same, but colours on the chart are now out of sync.
   
   ### Current Behavior
   
   Colours of points on the map change, but the legend stays the same.
   
   ### Expected Behavior
   
   All the colours should stay the same, no matter if some items are toggled on/off.
   
   ### Environment
   
   _No response_
   
   ### Any additional comments?
   
   _No response_


-- 
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


[GitHub] [echarts] helgasoft commented on issue #18237: [Bug] Colour assigned to scatters change when toggling legend

Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #18237:
URL: https://github.com/apache/echarts/issues/18237#issuecomment-1416914423

   Culprit is ```"colorBy": "data"```.  Fixed in [Demo Code](https://echarts.apache.org/examples/en/editor.html?c=map-bar-morph&code=LYTwwgFghgTgLgOgM4QPYHcAyqoBMCWAdgOYAUAlANwBQAJAsQKZykBKA8uwCoD6ACgEEuACQAEAalEByAPS4ocKDKhIkzGU1QyAqgGUBCAFZJUhKQBpRAMwCuhAMZx8p0aRtIoAKROFyogN7UoqKgkLCIEPi4jNh4RGRUQaKM9tDwSAgwjMT4SHCMMACyUAAOpFJ6Ahai7l4-loHBwQIANioA1lAAXAFJTaIyMqKAUUaA_GmAk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GGGL3hsqFDeo4qot2rUYcy6crFiWpd8-W8einq-uJkabiW9szSpmnr1mj4EHxK5JXxD4rnFSw2YQK45r2iPedOgWGith3zQAOUYdBRHYGATigQgkFETABEVz7ldi1W_vegGgbS0HdYhg2kZtlH6qzqLc_zwvi9L8vK_9gmvaGkbxT9iappGq8Lk4hPGfFK59rj9EFtWj4bj_VOs3T877fR80ENQPIXEKEeraV77a7VhuNab7Wwbbw33uR687ainuzVP8_CFEJfd2Y8iYT0ig-f2gc54SiuAnDENxJRLT_BtN4CA7hLWjlzPe_M1QZ36MLK6hRUB2EUEQUQfA2hECQFXL65oVb3yto3LW6UdbZX1m_K2H86oUwITlIhJDYQAIoYI6ho9PagJJj0aikDZ4zQxH-TekorhvClHHUO6IyZLXRB8Xex1cGH2_sfKKblcAXF0MQgENCa6_QSg_FKwMWEv3YR3CqXceE_xMWYixEBgHiP6mAoEyCZ7U2gRiSUCAJI3A-EtAkaiGZvCiSo7BB8hY_1aB2EuIBRDZwVu9G-d
 C7710YY_ZhLc2FRUhpwzun9u5GLNOkzJ2Tcn1RAf4yRogp4yJCTNcUW1GY7XROiFmMSEBk3DjEnmejTp4LRiLXu1YATljyFY2-Nj1b2ObqwvWFT27v2qdwn4vCc4LIgEsuAvjCZtJGkgrpQd569LDhg8UgzhmoLGVcCZyT9GpLqX3UQP4SBtAPCsgpay7GawcWU7ZuVdlVNcTU9xvy87_MBSXXAFzx7tNWrc6B1EEDRLmh8JRG0lpL16X-Ja4ovnTIMUcqK5ibCLJUOcvJ1dVl11scUjZz9W7OL2fCg5-Cf4MqZcssRlzvaRQ-OtYJdyF4b0TpS1eXxWYbw0ftHe1KswzKPnMs0flrIsuvmy0FHL1kQs2U4nZHD8FcK_nS_VhqMUSMnkEnhUC5FvFQR8DRnx0T3FEFo_FU9Phav5uuGgSRQhpEQGoOA7ASjakIKQLUzhfCRvVJQIAA)
   
   ![image](https://user-images.githubusercontent.com/13038071/216800316-40f23c5e-1f49-4292-becd-770387134392.png)
   


-- 
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


[GitHub] [echarts] jpmonette closed issue #18237: [Bug] Colour assigned to scatters change when toggling legend

Posted by "jpmonette (via GitHub)" <gi...@apache.org>.
jpmonette closed issue #18237: [Bug] Colour assigned to scatters change when toggling legend
URL: https://github.com/apache/echarts/issues/18237


-- 
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


[GitHub] [echarts] jpmonette commented on issue #18237: [Bug] Colour assigned to scatters change when toggling legend

Posted by "jpmonette (via GitHub)" <gi...@apache.org>.
jpmonette commented on issue #18237:
URL: https://github.com/apache/echarts/issues/18237#issuecomment-1418783150

   @helgasoft Exactly what I needed, 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