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 2020/10/16 14:18:25 UTC

[GitHub] [incubator-echarts] Daemach commented on issue #13393: Visual Map not rendering line color (but it IS rendering correct color in label)

Daemach commented on issue #13393:
URL: https://github.com/apache/incubator-echarts/issues/13393#issuecomment-710075870


   That is unfortunate.  And it doesn't explain why the label color is correct
   although the line color isn't.  Why can't you allow mapping the visual map
   on a different dimension just like the label?
   
   My situation is this:  I am using this to map values for growing plants
   indoors.  During the times when the lights are on, certain values are
   acceptable.  When the lights are off, those same values are unacceptable.
   Range 1 is 6AM=>6PM  Range 2 is 6PM=>6AM.  At 9AM, when the lights are on,
   a value of 1200ppm for CO2 level is acceptable and the line should be
   green.  At 9PM, when the lights are off, 1200ppm is not acceptable  and the
   line should be red.  I understand that the visual map can only map within 1
   range, not 2, so I calculated separate values and put them in a separate
   dimension.  The label colors are working.  The line color is not.
   
   On Fri, Oct 16, 2020 at 12:33 AM Quill Qian <no...@github.com>
   wrote:
   
   > Took a look as requested in mail list. Seems that line will only accept
   > visual map on value dimension.
   > But I feel a bit weird on why color on line need to be mapped to fields
   > not related to value it self. Most cases of line color visual map is
   > configured on simple and continous value range (just as
   > https://echarts.apache.org/examples/en/editor.html?c=line-aqi) and I feel
   > sorry to say that I can't be aware of bothering of current limitation.
   >
   > —
   > You are receiving this because you authored the thread.
   > Reply to this email directly, view it on GitHub
   > <https://github.com/apache/incubator-echarts/issues/13393#issuecomment-709879186>,
   > or unsubscribe
   > <https://github.com/notifications/unsubscribe-auth/AC7Y5YPKZAONCI4D5SC3LKTSK7ZMTANCNFSM4SGK2S6Q>
   > .
   >
   


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

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