feat(selection): add Zhixing line indicators to selection chart and update related components

This commit is contained in:
yuxuanhui
2026-09-01 22:57:58 +08:00
parent 3da90f7df8
commit f41ad0915e
10 changed files with 100 additions and 25 deletions
@@ -46,6 +46,8 @@ const chart: SelectionChartData = {
low: 9,
open: 10,
trade_date: "2026-08-08",
trend_white: 10.2,
trend_yellow: 10.4,
volume: 1000,
},
],
@@ -88,7 +90,7 @@ describe("SelectionChart", () => {
expect(
screen.getByRole("img", {
name: "药明康德 日线、成交量和 KDJ 图表",
name: "药明康德 日线、知行黄白线、成交量和 KDJ 图表",
}),
).toBeInTheDocument()
expect(chartMocks.init).toHaveBeenCalledTimes(1)