diff --git a/docs/assets/examples/zh/candlestick-chart/candlestick-basic.md b/docs/assets/examples/zh/candlestick-chart/candlestick-basic.md index 1622fca5c4..427dd4769c 100644 --- a/docs/assets/examples/zh/candlestick-chart/candlestick-basic.md +++ b/docs/assets/examples/zh/candlestick-chart/candlestick-basic.md @@ -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 --- diff --git a/docs/assets/examples/zh/candlestick-chart/candlestick-with-MA.md b/docs/assets/examples/zh/candlestick-chart/candlestick-with-MA.md index 5040812603..900a5ac2e4 100644 --- a/docs/assets/examples/zh/candlestick-chart/candlestick-with-MA.md +++ b/docs/assets/examples/zh/candlestick-chart/candlestick-with-MA.md @@ -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 --- diff --git a/docs/assets/examples/zh/candlestick-chart/candlestick-with-volume.md b/docs/assets/examples/zh/candlestick-chart/candlestick-with-volume.md index 12c510e612..4860e38fd1 100644 --- a/docs/assets/examples/zh/candlestick-chart/candlestick-with-volume.md +++ b/docs/assets/examples/zh/candlestick-chart/candlestick-with-volume.md @@ -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 --- @@ -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) {