This is an automated email from the ASF dual-hosted git repository.

wangzx pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/echarts-doc.git


The following commit(s) were added to refs/heads/master by this push:
     new 72d0ff21 fix doc for default candlestick colors of increase/decrease 
(resolves apache/echarts#21522)
72d0ff21 is described below

commit 72d0ff21e5af2c04da77989f405acb6285742053
Author: plainheart <[email protected]>
AuthorDate: Thu Mar 5 14:28:47 2026 +0800

    fix doc for default candlestick colors of increase/decrease (resolves 
apache/echarts#21522)
---
 en/option/series/candlestick.md | 22 +++++++++++-----------
 zh/option/series/candlestick.md |  6 +++---
 2 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/en/option/series/candlestick.md b/en/option/series/candlestick.md
index a4a571aa..0448255e 100644
--- a/en/option/series/candlestick.md
+++ b/en/option/series/candlestick.md
@@ -15,14 +15,14 @@ ECharts3 supports both `'candlestick'` and `'k'` in 
[series.type](~(series.type)
 <br>
 **About color of increase and decrease**
 
-Different countries or regions have different implications on the color of 
candle stick chart. It may use red to imply increasing with red and decreasing 
with blue (in China mainland, Taiwan, Japan, Koera, and so on), or to imply 
increasing with green and decreasing with red (in Europe, North America, Hong 
Kong, Singapore, and so on). Besides color, the increase and decrease of stock 
may also be represented with candle stick with or without filling colors.
+Different countries or regions have different implications for the colors of 
candlestick charts. It may use red to indicate an increase and green or blue to 
indicate a decrease (in Chinese mainland, China's Taiwan region, Japan, South 
Korea, etc.), or use green to indicate an increase and red to indicate a 
decrease (in Europe, North America, China Hong Kong, Singapore, etc.). Besides 
colors, the increase and decrease of stock prices can also be represented by 
filled or hollow candlesticks.
 
-We use red to represent increasing and blue decreasing by default. If you want 
to change the configuration, you may change the following parameters.
+By default, we use **red** to represent an increase and **green** to represent 
a decrease. If you want to change the configuration, you may change the 
following parameters:
 
-+ [series-candlestick.itemStyle.color](~series-candlestick.itemStyle.color): 
fill color for bullish candle stick (namely, increase)
-+ [series-candlestick.itemStyle.color0](~series-candlestick.itemStyle.color0): 
fill color for bearish candle stick (namely, decrease)
-+ 
[series-candlestick.itemStyle.borderColor](~series-candlestick.itemStyle.borderColor):
 border color for bullish candle stick (namely, increase)
-+ 
[series-candlestick.itemStyle.borderColor0](~series-candlestick.itemStyle.borderColor0):
 border color for bearish candle stick (namely, decrease)
++ [series-candlestick.itemStyle.color](~series-candlestick.itemStyle.color): 
fill color for bullish candlestick (namely, increase)
++ [series-candlestick.itemStyle.color0](~series-candlestick.itemStyle.color0): 
fill color for bearish candlestick (namely, decrease)
++ 
[series-candlestick.itemStyle.borderColor](~series-candlestick.itemStyle.borderColor):
 border color for bullish candlestick (namely, increase)
++ 
[series-candlestick.itemStyle.borderColor0](~series-candlestick.itemStyle.borderColor0):
 border color for bearish candlestick (namely, decrease)
 + 
[series-candlestick.itemStyle.borderColorDoji](~series-candlestick.itemStyle.borderColorDoji):
 border color for doji (when the open price is the same as the close price)
 
 
@@ -297,7 +297,7 @@ Select state of single data.
 
 <ExampleUIControlColor />
 
-Fill color of bullish candle stick.
+Fill color of bullish candlestick.
 
 {{ use: partial-color-desc() }}
 
@@ -311,7 +311,7 @@ Fill color of bullish candle stick.
 ) }}
 {{ /if }}
 
-Fill color of bearish candle stick.
+Fill color of bearish candlestick.
 
 {{ use: partial-color-desc() }}
 
@@ -319,7 +319,7 @@ Fill color of bearish candle stick.
 
 <ExampleUIControlColor />
 
-Border color of bullish candle stick.
+Border color of bullish candlestick.
 
 {{ use: partial-color-desc() }}
 
@@ -333,11 +333,11 @@ Border color of bullish candle stick.
 ) }}
 {{ /if }}
 
-Border color of bearish candle stick.
+Border color of bearish candlestick.
 
 {{ use: partial-color-desc() }}
 
-#${prefix} borderColorDoji(Color) = null
+#${prefix} borderColorDoji(Color)
 
 <ExampleUIControlColor />
 
diff --git a/zh/option/series/candlestick.md b/zh/option/series/candlestick.md
index 0d24dec7..f27d5c64 100644
--- a/zh/option/series/candlestick.md
+++ b/zh/option/series/candlestick.md
@@ -15,9 +15,9 @@
 <br>
 **关于『涨』『跌』的颜色:**
 
-不同国家或地区对于 K线图 
的颜色定义不一样,可能是『红涨绿跌』或『红涨蓝跌』(如大陆、台湾、日本、韩国等),可能是『绿涨红跌』(如西方国家、香港、新加坡等)。K线图也不一定要用红蓝、红绿来表示涨跌,也可以是『有色/无色』等表示方法。
+不同国家或地区对于 K线图 
的颜色定义不一样,可能是『红涨绿跌』或『红涨蓝跌』(如中国内地、中国台湾地区、日本、韩国等),可能是『绿涨红跌』(如西方国家、中国香港、新加坡等)。K线图也不一定要用红蓝、红绿来表示涨跌,也可以是『有色/无色』等表示方法。
 
-默认配置项,采用的是『红涨蓝跌』。如果想更改这个颜色配置,在这些配置项中更改即可:
+默认配置项,采用的是『红涨绿跌』。如果想更改这个颜色配置,在这些配置项中更改即可:
 
 + 
[series-candlestick.itemStyle.color](~series-candlestick.itemStyle.color):阳线填充色(即『涨』)
 + 
[series-candlestick.itemStyle.color0](~series-candlestick.itemStyle.color0):阴线填充色(即『跌』)
@@ -527,7 +527,7 @@ K 线图的选中状态。开启 [selectedMode](~series-candlestick.selectedMode
 
 {{ use: partial-color-desc() }}
 
-#${prefix} borderColorDoji(Color) = null
+#${prefix} borderColorDoji(Color)
 
 <ExampleUIControlColor />
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to