pissang commented on issue #16056:
URL: https://github.com/apache/echarts/issues/16056#issuecomment-966780267


   I'm not sure what strategy are you using. A better way is group your line 
segments by colors. For example:
   
   ```ts
   series: colorStrategies.map(colorStrategy => {
     return data.map(item => {
        return checkIfUseThisColor(item, colorStrategy)
              ? colorStrategy.color
              : '-' // Not display this data item.
     })
   });
   ```


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org

Reply via email to