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

[I] [Bug] Visual map for line chart does not work on dimensions higher than 1 [echarts]

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

   ### Version
   
   5.2.2
   
   ### Link to Minimal Reproduction
   
   https://echarts.apache.org/examples/en/editor.html?c=line-simple&code=PYBwLglsB2AEC8sDeAoWsAeBBDEDOAXMmurGAJ4gCmRA5AG4CGANgK5W0A0JAvt-uRz4iqUmUo1YDFu1q9-sPFQBOEKoVgBtEulFjYAE0ZhGRTZoCMAVgAMnC_YC6nLdav2nLy1YAcnAEwBzq4AbHaB_o7OOqQU1HTMENAcMTwk0ej0-KwsALKMIGYxevqKKmp4AJLQBlQYRHYxYgYQALZU0HhQ0ESBTaQgagDG6kWlpUiwrUkNLq2M9bAWAHQOsEPAzMDKdABGbBywfP0TUzNLq3MLvS4bWztSylQGtEcK46ST0z2w_pdT11gAGZbpttnQAOZPDqvY4fDKkOGwaI8ADcQA
   
   ### Steps to Reproduce
   
   see example. super simple.
   
   switch dimension to 1 to see how it should look like, since dimension 1 and 2 are actually the same.
   
   ### Current Behavior
   
   Does not color the lines
   
   ### Expected Behavior
   
   Switch to dimension
   
   ### Environment
   
   ```markdown
   All
   ```
   
   
   ### 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


Re: [I] [Bug] Visual map for line chart does not work on dimensions higher than 1 [echarts]

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

   Similar issues with no answers:
   https://github.com/apache/echarts/issues/18629
   https://github.com/apache/echarts/issues/11667


-- 
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] Visual map for line chart does not work on dimensions higher than 1 [echarts]

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

   After cheching [the source code](https://github.com/apache/echarts/blob/75dd430d77e8949d56f2129f05018fe8629e5b2d/src/chart/line/LineView.ts#L280-L295), I think this is by-design instead of being a bug.
   
   For line series, the data dimensions are not arbitory, but instead, the first dimension means X and the second Y. So if visualMap takes a dimension other than X and Y, it makes to sense whether to map the color of line vertically or horizontally. Thus, only the first and seconds dimension should be allowed for visualMap.
   


-- 
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] Visual map for line chart does not work on dimensions higher than 1 [echarts]

Posted by "Ovilia (via GitHub)" <gi...@apache.org>.
Ovilia closed issue #19270: [Bug] Visual map for line chart does not work on dimensions higher than 1
URL: https://github.com/apache/echarts/issues/19270


-- 
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] Visual map for line chart does not work on dimensions higher than 1 [echarts]

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

   > is there a workaround on how to color different line segments of a series differently? Independently of their x/y dimensions.
   
   yes, custom lines - [Demo](https://echarts.apache.org/examples/en/editor.html?code=PTAEGMHsDsBcCcCWAjArrRNTIJ6gBYCmANgOYCGAzpAGawB0UAtgFAAm5s5oAvKANotQAgOQ4RAGhEAPSSIBu5YqkIiAuhKECAjBNAiATAAYDBgLRGA7BYCsk0EfoGNW_gGY9hk-aMAOM9oAbPaOAJwuwvwGnsamFqEBwXqONhEC0fqx5tpGiSH0gWn8RjHeAdoW2vaWaqAgoMRUsKAADpCIcHpQxJDwoIik0L2EbCxqANwsNKjQ4BhYxB2EAEqE0GyE8AAULeTw5EyUeuQtiACUoADeWltQvWzavKAniIyQ91uCwsIv9IrKhC2ulaewOlHoHC4AEl1oRpDDKIgNmdNN9nqc_koVFsSiD9ocIZxyDCNvDoIjkVo1GcUVphLd3vA2AYnr87kzPnTvr9_tjgbt8eDIcTYWSKYRQABqUDaWlon4Y3mA3ECsGE6GihFIiXS2Vc6lnSbCeCEWCoeDQK5c2A4FqEABc-kW0FUqO-lHwJwdVvloGk2kd7IexTSaJwAYgjOD2lD32kBkDUYMIbdYYTkfuyZjXIAvqnQJQbcRvddfc7CAB1JGwfCO7TRLnCQvwSAAa29v0LOGLWzO9BoiGIxDqYBoLaYoHkiEoqCUAFkTrn87A4bAAMIwFdwR2XUCNgtFkt733CFfSWCOnlYwEGFHHk8Ad2rtdAxnzaIHQ_tImQjXArckfdhBoTdHRERAuEWcBsEgYgNj6IIWmkCBzUReRVH3HMl2tVcN2gAdSB3VpIEReZoDAjpxREUA8y0HNJiwyAWjIp5S1ADBYGLIiZ2QM8L30bpemwPApxnecTlANhECYNZERgAA-KoaLdHAAEFpGnIibTtMClWo2jhGkdTNKudjbW9EQMBk-xKHAJRvQQFRlK0WB3mIDAWh3AzJKJShTUdfhLmo
 c1wAdYUczSPykEISgAq5Ni0W0izwFQQtICYQDfTWKANiI6Q6z0HBHSMZzfRNWF4ChFcmEdctVgq_MsOENJRNnYgF08n13XwSAH0dRzCHzOziBSxpfwc-AVHzKSZPJTByNffMmA6Yq9CYch8plfMOmWchoFIEt90E-AApEUgTTWewxBIHoHyuk02HUXM6JYeigA)
   ![image](https://github.com/apache/echarts/assets/13038071/606eb707-638b-42e7-8440-5cab3903ee6e)
   


-- 
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] Visual map for line chart does not work on dimensions higher than 1 [echarts]

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

   Could we convert this into a feature request instead? Or is there a workaround on how to color different line segments of a series differently? Independently of their x/y dimensions.


-- 
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] Visual map for line chart does not work on dimensions higher than 1 [echarts]

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

   any idea why this happens? have you already done any investigation?


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