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 2021/11/12 08:13:36 UTC

[GitHub] [echarts] yousefwalid edited a comment on issue #16056: Add the ability to add different colors in different segments to a single specific series

yousefwalid edited a comment on issue #16056:
URL: https://github.com/apache/echarts/issues/16056#issuecomment-966906319


   @pissang Each line 'segment', for example, here: 
   line from [1,1] to [2,3] is in green, 
   line from [2,3] to [4,5] is in red, 
   line from [4,5] to [5,10] is in green.
   
   While only have one series.
   
   --
   In my previous answer
   ```js
   series: [
           {
               data: [
                   {
                       value: [1,1],
                       lineStyle: {
                           color: 'green'
                       }
                   },
   ...
   ```
   simply means 'the line segment branched out of [1,1] is green'.
   The interface is just as an example, it is not strict


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