From 5dd054cc3506a96f418a83f1102f476816650763 Mon Sep 17 00:00:00 2001 From: xile611 Date: Wed, 9 Apr 2025 15:29:46 +0800 Subject: [PATCH 1/2] fix: when set defaultSelect of crosshair, `axisIndex` should have a default value: 0 --- packages/vchart/src/component/crosshair/base.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vchart/src/component/crosshair/base.ts b/packages/vchart/src/component/crosshair/base.ts index df76fa4658..ba226ca93f 100644 --- a/packages/vchart/src/component/crosshair/base.ts +++ b/packages/vchart/src/component/crosshair/base.ts @@ -162,7 +162,7 @@ export abstract class BaseCrossHair c.getSpecIndex() === axisIndex) as IAxis; if (axis) { From 198f84342f97f14ef501cea2fcccc555bf5cf4f8 Mon Sep 17 00:00:00 2001 From: xile611 Date: Wed, 9 Apr 2025 15:30:06 +0800 Subject: [PATCH 2/2] docs: update changlog of rush --- ...hari-defaultSelect-axisIndex_2025-04-09-07-30.json | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 common/changes/@visactor/vchart/fix-crosshari-defaultSelect-axisIndex_2025-04-09-07-30.json diff --git a/common/changes/@visactor/vchart/fix-crosshari-defaultSelect-axisIndex_2025-04-09-07-30.json b/common/changes/@visactor/vchart/fix-crosshari-defaultSelect-axisIndex_2025-04-09-07-30.json new file mode 100644 index 0000000000..9fc64e1e92 --- /dev/null +++ b/common/changes/@visactor/vchart/fix-crosshari-defaultSelect-axisIndex_2025-04-09-07-30.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "fix: when set defaultSelect of crosshair, `axisIndex` should have a default value: 0\n\n", + "type": "none", + "packageName": "@visactor/vchart" + } + ], + "packageName": "@visactor/vchart", + "email": "dingling112@gmail.com" +} \ No newline at end of file