This is an automated email from the ASF dual-hosted git repository. sushuang pushed a commit to branch fix/candlestick-color in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git
commit e7ac6d1137a4f2a5b77447f4e54fb7a98b2301bc Author: 100pah <sushuang0...@gmail.com> AuthorDate: Thu Dec 31 14:39:40 2020 +0800 fix: fix candlestick color to 5.0 theme --- src/chart/candlestick/CandlestickSeries.ts | 12 +++++------- src/theme/dark.ts | 8 ++++---- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/src/chart/candlestick/CandlestickSeries.ts b/src/chart/candlestick/CandlestickSeries.ts index 05f6302..af534c7 100644 --- a/src/chart/candlestick/CandlestickSeries.ts +++ b/src/chart/candlestick/CandlestickSeries.ts @@ -112,13 +112,11 @@ class CandlestickSeriesModel extends SeriesModel<CandlestickSeriesOption> { clip: true, itemStyle: { - color: '#c23531', // 阳线 positive - color0: '#314656', // 阴线 negative '#c23531', '#314656' - borderWidth: 1, - // FIXME - // ec2中使用的是lineStyle.color 和 lineStyle.color0 - borderColor: '#c23531', - borderColor0: '#314656' + color: '#eb5454', // positive + color0: '#47b262', // negative + borderColor: '#d24040', + borderColor0: '#398f4f', + borderWidth: 1 }, emphasis: { diff --git a/src/theme/dark.ts b/src/theme/dark.ts index a4c6aa9..3293547 100644 --- a/src/theme/dark.ts +++ b/src/theme/dark.ts @@ -198,10 +198,10 @@ const theme = { }, candlestick: { itemStyle: { - color: '#FD1050', - color0: '#0CF49B', - borderColor: '#FD1050', - borderColor0: '#0CF49B' + color: '#f64e56', + color0: '#54ea92', + borderColor: '#ca2824', + borderColor0: '#09a443' } } }; --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org