apache / echarts

Apache ECharts is a powerful, interactive charting and data visualization library for browser
https://echarts.apache.org
Apache License 2.0
59.74k stars 19.58k forks source link

Chart in candlestick demo has the wrong color for up and down candles #10101

Closed kimgysen closed 5 years ago

kimgysen commented 5 years ago

Version

4.2.1-rc.3

Steps to reproduce

Go to: https://ecomfe.github.io/echarts-examples/public/editor.html?c=candlestick-sh And load the chart. Red and green candles have been reversed of color. Just accidentally happened to notice it ;-)

What is expected?

Down candles should be green, and up candles should be red.

What is actually happening?

Down candles are green and up candles are red.


Nope:-) Btw, just added random version. Amazing library otherwise, keep up the great work.

echarts-bot[bot] commented 5 years ago

Hi! We've received your issue and please be patient to get responded. 🎉 The average response time is expected to be within one day for weekdays.

In the meanwhile, please make sure that you have posted enough image to demo your request. You may also check out the API and chart option to get the answer.

Have a nice day! 🍵

deqingli commented 5 years ago

Thank you for your suggestion, we will fix it.

deqingli commented 5 years ago

@kimgysen I checked some information about candlestick diagram, which in China is down candles are grown and up candles are red, but it is the opposite in Europe and America.

kimgysen commented 5 years ago

Wow seriously? I totally did not take that possibility into account, sorry for that!