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 2022/04/23 11:24:18 UTC

[GitHub] [echarts] guidra-rev opened a new issue, #16934: [Bug] Candlestick chart : color is always bullish (green)

guidra-rev opened a new issue, #16934:
URL: https://github.com/apache/echarts/issues/16934

   ### Version
   
   5.3.0
   
   ### Link to Minimal Reproduction
   
   https://jsfiddle.net/Michael_0/e7j0z314/2/
   
   ### Steps to Reproduce
   
   1. Click the "Add bull" button : this will add a bull candle, it's green as intended
   2. Click the "Add bear" button : this add a bear candle (close is lower than open) : the color is green, but it should be red
   
   
   ### Current Behavior
   
   The bear candle is green
   
   ### Expected Behavior
   
   The bear candle should be red
   
   ### Environment
   
   ```markdown
   - OS: Windows
   - Browser: Chrome 100
   - Framework: none
   ```
   
   
   ### 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] guidra-rev commented on issue #16934: [Bug] Candlestick chart : color is always bullish (green)

Posted by GitBox <gi...@apache.org>.
guidra-rev commented on issue #16934:
URL: https://github.com/apache/echarts/issues/16934#issuecomment-1107792937

   The missing `'#' ` was the issue. Thank you.


-- 
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] guidra-rev closed issue #16934: [Bug] Candlestick chart : color is always bullish (green)

Posted by GitBox <gi...@apache.org>.
guidra-rev closed issue #16934: [Bug] Candlestick chart : color is always bullish (green)
URL: https://github.com/apache/echarts/issues/16934


-- 
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] jiawulin001 commented on issue #16934: [Bug] Candlestick chart : color is always bullish (green)

Posted by GitBox <gi...@apache.org>.
jiawulin001 commented on issue #16934:
URL: https://github.com/apache/echarts/issues/16934#issuecomment-1107688300

   I would suggest you use `chart.setOption(options);` in function `AddCandle`. Also you are missing a `'#'` in the `color0` and `borderColor0`.


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