Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ category: examples
group: candlestick chart
title: 基础k线图
keywords: candlestick
order: 19-0
cover: https://lf9-dp-fe-cms-tos.byteorg.com/obj/bit-cloud/vchart/preview/candlestick/candlestick-basic.png
option: candlestickChart
---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ category: examples
group: candlestick chart
title: k线图组合显示
keywords: candlestick MA
order: 19-0
cover: https://lf9-dp-fe-cms-tos.byteorg.com/obj/bit-cloud/vchart/preview/candlestick/candlestick-with-MA.png
option: candlestickChart
---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ category: examples
group: candlestick chart
title: 基础k线图
keywords: candlestick
order: 19-0
cover: https://lf9-dp-fe-cms-tos.byteorg.com/obj/bit-cloud/vchart/preview/candlestick/candlestick-with-volume.png
option: candlestickChart
---

Expand Down Expand Up @@ -82,7 +82,7 @@ const spec = {
data: { values: data },
bar: {
style: {
fill: (datum: Datum) => {
fill: datum => {
if (datum.open < datum.close) {
return '#FF0000';
} else if (datum.open > datum.close) {
Expand Down
Loading