diff --git a/common/changes/@visactor/vchart/feat-indicator-support-style-callback_2024-07-01-09-28.json b/common/changes/@visactor/vchart/feat-indicator-support-style-callback_2024-07-01-09-28.json
new file mode 100644
index 0000000000..60fada61c0
--- /dev/null
+++ b/common/changes/@visactor/vchart/feat-indicator-support-style-callback_2024-07-01-09-28.json
@@ -0,0 +1,10 @@
+{
+ "changes": [
+ {
+ "packageName": "@visactor/vchart",
+ "comment": "feat: support configuring callback function in indicator text style attributes, #2540",
+ "type": "none"
+ }
+ ],
+ "packageName": "@visactor/vchart"
+}
\ No newline at end of file
diff --git a/common/changes/@visactor/vchart/feat-tooltip-hide-timer_2024-07-06-06-04.json b/common/changes/@visactor/vchart/feat-tooltip-hide-timer_2024-07-06-06-04.json
new file mode 100644
index 0000000000..dcc611869a
--- /dev/null
+++ b/common/changes/@visactor/vchart/feat-tooltip-hide-timer_2024-07-06-06-04.json
@@ -0,0 +1,11 @@
+{
+ "changes": [
+ {
+ "comment": "feat: add options `hideTimer` in toolti, to hide tooltip by timer\n\n",
+ "type": "none",
+ "packageName": "@visactor/vchart"
+ }
+ ],
+ "packageName": "@visactor/vchart",
+ "email": "dingling112@gmail.com"
+}
\ No newline at end of file
diff --git a/common/changes/@visactor/vchart/feat-updateData-api-for-indicator_2024-07-01-06-00.json b/common/changes/@visactor/vchart/feat-updateData-api-for-indicator_2024-07-01-06-00.json
new file mode 100644
index 0000000000..2fbe8ecd05
--- /dev/null
+++ b/common/changes/@visactor/vchart/feat-updateData-api-for-indicator_2024-07-01-06-00.json
@@ -0,0 +1,10 @@
+{
+ "changes": [
+ {
+ "packageName": "@visactor/vchart",
+ "comment": "feat: support `updateIndicatorDataById`/`updateIndicatorDataByIndex` API, related #2776",
+ "type": "none"
+ }
+ ],
+ "packageName": "@visactor/vchart"
+}
\ No newline at end of file
diff --git a/common/changes/@visactor/vchart/feat-updateSpec-animation_2024-07-03-08-24.json b/common/changes/@visactor/vchart/feat-updateSpec-animation_2024-07-03-08-24.json
new file mode 100644
index 0000000000..d05250151b
--- /dev/null
+++ b/common/changes/@visactor/vchart/feat-updateSpec-animation_2024-07-03-08-24.json
@@ -0,0 +1,11 @@
+{
+ "changes": [
+ {
+ "comment": "feat: add `userUpdateOptions` to let user specify update type of charts, fix some animation bug\n\n",
+ "type": "none",
+ "packageName": "@visactor/vchart"
+ }
+ ],
+ "packageName": "@visactor/vchart",
+ "email": "dingling112@gmail.com"
+}
\ No newline at end of file
diff --git a/common/changes/@visactor/vchart/fix-bar-background_2024-07-05-11-01.json b/common/changes/@visactor/vchart/fix-bar-background_2024-07-05-11-01.json
new file mode 100644
index 0000000000..cb7acfa117
--- /dev/null
+++ b/common/changes/@visactor/vchart/fix-bar-background_2024-07-05-11-01.json
@@ -0,0 +1,10 @@
+{
+ "changes": [
+ {
+ "packageName": "@visactor/vchart",
+ "comment": "fix(barbackground): datakey is undefined when set custom datakey",
+ "type": "none"
+ }
+ ],
+ "packageName": "@visactor/vchart"
+}
\ No newline at end of file
diff --git a/common/changes/@visactor/vchart/fix-barMaxWidth-not-work_2024-07-04-07-22.json b/common/changes/@visactor/vchart/fix-barMaxWidth-not-work_2024-07-04-07-22.json
new file mode 100644
index 0000000000..fa91760b0d
--- /dev/null
+++ b/common/changes/@visactor/vchart/fix-barMaxWidth-not-work_2024-07-04-07-22.json
@@ -0,0 +1,10 @@
+{
+ "changes": [
+ {
+ "packageName": "@visactor/vchart",
+ "comment": "fix: fix the issue where `barMaxWidth` does not work when `barWidth` is configured, #2885`",
+ "type": "none"
+ }
+ ],
+ "packageName": "@visactor/vchart"
+}
\ No newline at end of file
diff --git a/common/changes/@visactor/vchart/fix-crosshari-pos-error_2024-07-05-09-31.json b/common/changes/@visactor/vchart/fix-crosshari-pos-error_2024-07-05-09-31.json
new file mode 100644
index 0000000000..9aea2a048c
--- /dev/null
+++ b/common/changes/@visactor/vchart/fix-crosshari-pos-error_2024-07-05-09-31.json
@@ -0,0 +1,10 @@
+{
+ "changes": [
+ {
+ "packageName": "@visactor/vchart",
+ "comment": "fix(crosshair): fix bug of crosshair position when legend filter data. fix#2905",
+ "type": "none"
+ }
+ ],
+ "packageName": "@visactor/vchart"
+}
\ No newline at end of file
diff --git a/common/changes/@visactor/vchart/fix-hide-tooltip-timer_2024-07-06-09-21.json b/common/changes/@visactor/vchart/fix-hide-tooltip-timer_2024-07-06-09-21.json
new file mode 100644
index 0000000000..6188a67e3e
--- /dev/null
+++ b/common/changes/@visactor/vchart/fix-hide-tooltip-timer_2024-07-06-09-21.json
@@ -0,0 +1,11 @@
+{
+ "changes": [
+ {
+ "comment": "fix: clear the timer of tooltip when has update\n\n",
+ "type": "none",
+ "packageName": "@visactor/vchart"
+ }
+ ],
+ "packageName": "@visactor/vchart",
+ "email": "dingling112@gmail.com"
+}
\ No newline at end of file
diff --git a/common/changes/@visactor/vchart/fix-type-define_2024-07-01-09-28.json b/common/changes/@visactor/vchart/fix-type-define_2024-07-01-09-28.json
new file mode 100644
index 0000000000..226d8551a1
--- /dev/null
+++ b/common/changes/@visactor/vchart/fix-type-define_2024-07-01-09-28.json
@@ -0,0 +1,10 @@
+{
+ "changes": [
+ {
+ "packageName": "@visactor/vchart",
+ "comment": "fix: type define fix",
+ "type": "none"
+ }
+ ],
+ "packageName": "@visactor/vchart"
+}
\ No newline at end of file
diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml
index aa3f2e2d23..4471023038 100644
--- a/common/config/rush/pnpm-lock.yaml
+++ b/common/config/rush/pnpm-lock.yaml
@@ -20,10 +20,10 @@ importers:
'@visactor/react-vchart': workspace:1.11.6
'@visactor/vchart': workspace:1.11.6
'@visactor/vchart-theme': ~1.6.6
- '@visactor/vgrammar': 0.13.12
+ '@visactor/vgrammar': 0.13.14
'@visactor/vmind': 1.2.4-alpha.5
- '@visactor/vrender': 0.19.15
- '@visactor/vrender-kits': 0.19.15
+ '@visactor/vrender': 0.19.17
+ '@visactor/vrender-kits': 0.19.17
'@visactor/vutils': ~0.18.10
'@vitejs/plugin-react': 3.1.0
axios: ^1.4.0
@@ -53,10 +53,10 @@ importers:
'@visactor/react-vchart': link:../packages/react-vchart
'@visactor/vchart': link:../packages/vchart
'@visactor/vchart-theme': 1.6.9
- '@visactor/vgrammar': 0.13.12
+ '@visactor/vgrammar': 0.13.14
'@visactor/vmind': 1.2.4-alpha.5
- '@visactor/vrender': 0.19.15
- '@visactor/vrender-kits': 0.19.15
+ '@visactor/vrender': 0.19.17
+ '@visactor/vrender-kits': 0.19.17
'@visactor/vutils': 0.18.10
axios: 1.6.8
buble: 0.20.0
@@ -136,9 +136,9 @@ importers:
'@types/offscreencanvas': 2019.6.4
'@types/react-is': ^17.0.3
'@visactor/vchart': workspace:1.11.6
- '@visactor/vgrammar-core': 0.13.12
- '@visactor/vrender-core': 0.19.15
- '@visactor/vrender-kits': 0.19.15
+ '@visactor/vgrammar-core': 0.13.14
+ '@visactor/vrender-core': 0.19.17
+ '@visactor/vrender-kits': 0.19.17
'@visactor/vutils': ~0.18.10
'@vitejs/plugin-react': 3.1.0
eslint: ~8.18.0
@@ -157,9 +157,9 @@ importers:
vite: 3.2.6
dependencies:
'@visactor/vchart': link:../vchart
- '@visactor/vgrammar-core': 0.13.12
- '@visactor/vrender-core': 0.19.15
- '@visactor/vrender-kits': 0.19.15
+ '@visactor/vgrammar-core': 0.13.14
+ '@visactor/vrender-core': 0.19.17
+ '@visactor/vrender-kits': 0.19.17
'@visactor/vutils': 0.18.10
react-is: 18.3.1
devDependencies:
@@ -201,9 +201,9 @@ importers:
'@types/react-dom': ^18.0.0
'@types/react-is': ^17.0.3
'@visactor/vchart': workspace:1.11.6
- '@visactor/vgrammar-core': 0.13.12
- '@visactor/vrender-core': 0.19.15
- '@visactor/vrender-kits': 0.19.15
+ '@visactor/vgrammar-core': 0.13.14
+ '@visactor/vrender-core': 0.19.17
+ '@visactor/vrender-kits': 0.19.17
'@visactor/vutils': ~0.18.10
'@vitejs/plugin-react': 3.1.0
eslint: ~8.18.0
@@ -223,9 +223,9 @@ importers:
vite: 3.2.6
dependencies:
'@visactor/vchart': link:../vchart
- '@visactor/vgrammar-core': 0.13.12
- '@visactor/vrender-core': 0.19.15
- '@visactor/vrender-kits': 0.19.15
+ '@visactor/vgrammar-core': 0.13.14
+ '@visactor/vrender-core': 0.19.17
+ '@visactor/vrender-kits': 0.19.17
'@visactor/vutils': 0.18.10
react-is: 18.3.1
devDependencies:
@@ -360,17 +360,17 @@ importers:
'@types/node': '*'
'@types/offscreencanvas': 2019.6.4
'@visactor/vdataset': ~0.18.10
- '@visactor/vgrammar-core': 0.13.12
- '@visactor/vgrammar-hierarchy': 0.13.12
- '@visactor/vgrammar-projection': 0.13.12
- '@visactor/vgrammar-sankey': 0.13.12
- '@visactor/vgrammar-util': 0.13.12
- '@visactor/vgrammar-venn': 0.13.12
- '@visactor/vgrammar-wordcloud': 0.13.12
- '@visactor/vgrammar-wordcloud-shape': 0.13.12
- '@visactor/vrender-components': 0.19.15
- '@visactor/vrender-core': 0.19.15
- '@visactor/vrender-kits': 0.19.15
+ '@visactor/vgrammar-core': 0.13.14
+ '@visactor/vgrammar-hierarchy': 0.13.14
+ '@visactor/vgrammar-projection': 0.13.14
+ '@visactor/vgrammar-sankey': 0.13.14
+ '@visactor/vgrammar-util': 0.13.14
+ '@visactor/vgrammar-venn': 0.13.14
+ '@visactor/vgrammar-wordcloud': 0.13.14
+ '@visactor/vgrammar-wordcloud-shape': 0.13.14
+ '@visactor/vrender-components': 0.19.17
+ '@visactor/vrender-core': 0.19.17
+ '@visactor/vrender-kits': 0.19.17
'@visactor/vscale': ~0.18.10
'@visactor/vutils': ~0.18.10
'@visactor/vutils-extension': workspace:1.11.6
@@ -408,17 +408,17 @@ importers:
vite: 3.2.6
dependencies:
'@visactor/vdataset': 0.18.10
- '@visactor/vgrammar-core': 0.13.12
- '@visactor/vgrammar-hierarchy': 0.13.12
- '@visactor/vgrammar-projection': 0.13.12
- '@visactor/vgrammar-sankey': 0.13.12
- '@visactor/vgrammar-util': 0.13.12
- '@visactor/vgrammar-venn': 0.13.12
- '@visactor/vgrammar-wordcloud': 0.13.12
- '@visactor/vgrammar-wordcloud-shape': 0.13.12
- '@visactor/vrender-components': 0.19.15
- '@visactor/vrender-core': 0.19.15
- '@visactor/vrender-kits': 0.19.15
+ '@visactor/vgrammar-core': 0.13.14
+ '@visactor/vgrammar-hierarchy': 0.13.14
+ '@visactor/vgrammar-projection': 0.13.14
+ '@visactor/vgrammar-sankey': 0.13.14
+ '@visactor/vgrammar-util': 0.13.14
+ '@visactor/vgrammar-venn': 0.13.14
+ '@visactor/vgrammar-wordcloud': 0.13.14
+ '@visactor/vgrammar-wordcloud-shape': 0.13.14
+ '@visactor/vrender-components': 0.19.17
+ '@visactor/vrender-core': 0.19.17
+ '@visactor/vrender-kits': 0.19.17
'@visactor/vscale': 0.18.10
'@visactor/vutils': 0.18.10
'@visactor/vutils-extension': link:../vutils-extension
@@ -478,8 +478,8 @@ importers:
'@types/react': ^18.0.0
'@types/react-dom': ^18.0.0
'@visactor/vchart': workspace:1.11.6
- '@visactor/vrender-core': 0.19.15
- '@visactor/vrender-kits': 0.19.15
+ '@visactor/vrender-core': 0.19.17
+ '@visactor/vrender-kits': 0.19.17
'@visactor/vutils': ~0.18.10
'@vitejs/plugin-react': 3.1.0
canvas: 2.11.2
@@ -499,8 +499,8 @@ importers:
vite: 3.2.6
dependencies:
'@visactor/vchart': link:../vchart
- '@visactor/vrender-core': 0.19.15
- '@visactor/vrender-kits': 0.19.15
+ '@visactor/vrender-core': 0.19.17
+ '@visactor/vrender-kits': 0.19.17
'@visactor/vutils': 0.18.10
devDependencies:
'@internal/bundler': link:../../tools/bundler
@@ -839,9 +839,9 @@ importers:
'@typescript-eslint/eslint-plugin': 5.30.0
'@typescript-eslint/parser': 5.30.0
'@visactor/vchart': workspace:1.11.6
- '@visactor/vrender': 0.19.15
- '@visactor/vrender-core': 0.19.15
- '@visactor/vrender-kits': 0.19.15
+ '@visactor/vrender': 0.19.17
+ '@visactor/vrender-core': 0.19.17
+ '@visactor/vrender-kits': 0.19.17
'@visactor/vutils': ~0.18.10
cross-env: ^7.0.3
eslint: ~8.18.0
@@ -854,9 +854,9 @@ importers:
vite: 3.2.6
dependencies:
'@visactor/vchart': link:../../packages/vchart
- '@visactor/vrender': 0.19.15
- '@visactor/vrender-core': 0.19.15
- '@visactor/vrender-kits': 0.19.15
+ '@visactor/vrender': 0.19.17
+ '@visactor/vrender-core': 0.19.17
+ '@visactor/vrender-kits': 0.19.17
'@visactor/vutils': 0.18.10
devDependencies:
'@internal/bundler': link:../bundler
@@ -4750,96 +4750,96 @@ packages:
topojson-client: 3.1.0
dev: false
- /@visactor/vgrammar-coordinate/0.13.12:
- resolution: {integrity: sha512-qgl6owBuiuzukXZ0iz/WXjHM4c4AeaAkQTKdtAuHmDp64vQ87S31oWCF+QHzQ/TictuiYhwFaJ4KQNmLew/kjA==}
+ /@visactor/vgrammar-coordinate/0.13.14:
+ resolution: {integrity: sha512-zffS67HCtbQCGHvt4jXvHbOa98AT3xlu6PqZTLeI8mEb6sYYB8XMncHD/ZfKx2YQC0paMpfwJv2aJeW0X6MrTg==}
dependencies:
- '@visactor/vgrammar-util': 0.13.12
+ '@visactor/vgrammar-util': 0.13.14
'@visactor/vutils': 0.18.10
dev: false
- /@visactor/vgrammar-core/0.13.12:
- resolution: {integrity: sha512-0ba1xINMxckpXBTioyH37NRa6l3G6y+kTaCLOJ4nUN1FhBrLciXB/Tsv06ESVbeF183wnP2uo97TuTiNvzDwvA==}
+ /@visactor/vgrammar-core/0.13.14:
+ resolution: {integrity: sha512-gaxkP0IT78ndxm3tHXp7OzpfLi/LLNYBUpVpkOUL/JsqjLEIjd/EjxxOc2oSBp8OtOUAzdrR8rRo5Q+paXGwEw==}
dependencies:
'@visactor/vdataset': 0.18.10
- '@visactor/vgrammar-coordinate': 0.13.12
- '@visactor/vgrammar-util': 0.13.12
- '@visactor/vrender-components': 0.19.15
- '@visactor/vrender-core': 0.19.15
- '@visactor/vrender-kits': 0.19.15
+ '@visactor/vgrammar-coordinate': 0.13.14
+ '@visactor/vgrammar-util': 0.13.14
+ '@visactor/vrender-components': 0.19.17
+ '@visactor/vrender-core': 0.19.17
+ '@visactor/vrender-kits': 0.19.17
'@visactor/vscale': 0.18.10
'@visactor/vutils': 0.18.10
dev: false
- /@visactor/vgrammar-hierarchy/0.13.12:
- resolution: {integrity: sha512-HmuPx0AUu8qQJ2D0aWHfNlFzsFHK0t4Z37QtLu/zsct6CYnUq66jxQNQKXUHWV5/7KVLH16ghBHWUs4/xdVfyQ==}
+ /@visactor/vgrammar-hierarchy/0.13.14:
+ resolution: {integrity: sha512-NxXEYBZVR88QopuM8TXHn1PRTrhnQ+fp/HILC/TQnP+qKlcosRAG0zh5YME32gObE87/p4Q0omlaMSrWDrwc/A==}
dependencies:
- '@visactor/vgrammar-core': 0.13.12
- '@visactor/vgrammar-util': 0.13.12
- '@visactor/vrender-core': 0.19.15
- '@visactor/vrender-kits': 0.19.15
+ '@visactor/vgrammar-core': 0.13.14
+ '@visactor/vgrammar-util': 0.13.14
+ '@visactor/vrender-core': 0.19.17
+ '@visactor/vrender-kits': 0.19.17
'@visactor/vutils': 0.18.10
dev: false
- /@visactor/vgrammar-projection/0.13.12:
- resolution: {integrity: sha512-fmTQgEgpvZXNklKCCvVIp2rnYgg7Mpdsgx2dZ64h3CxcwUKpordLlIT+XSHgyQIqqrHim32b/dudK59FDUb4aQ==}
+ /@visactor/vgrammar-projection/0.13.14:
+ resolution: {integrity: sha512-f+KNKqwdBoxcl28IJ6DnfeOjVEkRbeKOKC9Z2Jm4Quqvu8B9o4hVLYa2D5grzPwAWPjImXfZ73xfgJ4vi5R/lA==}
dependencies:
- '@visactor/vgrammar-core': 0.13.12
- '@visactor/vgrammar-util': 0.13.12
+ '@visactor/vgrammar-core': 0.13.14
+ '@visactor/vgrammar-util': 0.13.14
'@visactor/vutils': 0.18.10
d3-geo: 1.12.1
dev: false
- /@visactor/vgrammar-sankey/0.13.12:
- resolution: {integrity: sha512-aABjoTaqu31yLVsHSaGl6Q9eon79LI81P7XiP6szej7fV1U3F/blebolg4NyS/uEKOFidfpJNaSsej1v5QlNPg==}
+ /@visactor/vgrammar-sankey/0.13.14:
+ resolution: {integrity: sha512-ZM8B1CBsOxTzFalA5dqF5AQzGUeSRPRTwj7VkqAfPeHEmHNzPtI7xFtguenMlTjVbG3BJxMYLKzjmvek04kvRw==}
dependencies:
- '@visactor/vgrammar-core': 0.13.12
- '@visactor/vgrammar-util': 0.13.12
- '@visactor/vrender-core': 0.19.15
- '@visactor/vrender-kits': 0.19.15
+ '@visactor/vgrammar-core': 0.13.14
+ '@visactor/vgrammar-util': 0.13.14
+ '@visactor/vrender-core': 0.19.17
+ '@visactor/vrender-kits': 0.19.17
'@visactor/vutils': 0.18.10
dev: false
- /@visactor/vgrammar-util/0.13.12:
- resolution: {integrity: sha512-qDgIdWTE2rRhhf55/MbCJOjFymmi6VIhmQvnVwkjgcbNGv9lL3jXQkJcKuYhMMlorkNQUsXttS0w1jQ4NVwcUw==}
+ /@visactor/vgrammar-util/0.13.14:
+ resolution: {integrity: sha512-16B0LEcV8shQno3sGfNGYJEJDwTz6pTwCl2y5O2SF/4TwnenXwXVfUa1aM0tgUcI44SIPmeH1J84u6i6ablyMQ==}
dependencies:
'@visactor/vutils': 0.18.10
dev: false
- /@visactor/vgrammar-venn/0.13.12:
- resolution: {integrity: sha512-0biisVqRCWK8T1VSMBltXfFBNggJbgcS3+KWigGApOhRDtm+B9j0LW21nkaPk1cTURUYTYW9Of+AVYw0RdyrLA==}
+ /@visactor/vgrammar-venn/0.13.14:
+ resolution: {integrity: sha512-68+V3eDJa3SGKOEkmbEC39y1omFokvqDlGoT1eevy8y5iW4TGSuHvugqlcUKH5vq4P+sBLb2sXpIi+K0AwdZiA==}
dependencies:
- '@visactor/vgrammar-core': 0.13.12
- '@visactor/vgrammar-util': 0.13.12
- '@visactor/vrender-core': 0.19.15
- '@visactor/vrender-kits': 0.19.15
+ '@visactor/vgrammar-core': 0.13.14
+ '@visactor/vgrammar-util': 0.13.14
+ '@visactor/vrender-core': 0.19.17
+ '@visactor/vrender-kits': 0.19.17
'@visactor/vutils': 0.18.10
dev: false
- /@visactor/vgrammar-wordcloud-shape/0.13.12:
- resolution: {integrity: sha512-ExxvlZuwfBhijpAFWGCSAIPSVB7fftgB8X5zO+lvf+Y0oQid7YRpOMNwzcVaRHRoZ4LphjVnDgDZl9OCNBAIgg==}
+ /@visactor/vgrammar-wordcloud-shape/0.13.14:
+ resolution: {integrity: sha512-ATbFgl7v4sGLEneHsEvwjR258ThruPyNHRIWp4aYVQXk5YJEvTUsy4qUx80DaLWFqUf9PDcxoz569SOOGTH9Zw==}
dependencies:
- '@visactor/vgrammar-core': 0.13.12
- '@visactor/vgrammar-util': 0.13.12
- '@visactor/vrender-core': 0.19.15
- '@visactor/vrender-kits': 0.19.15
+ '@visactor/vgrammar-core': 0.13.14
+ '@visactor/vgrammar-util': 0.13.14
+ '@visactor/vrender-core': 0.19.17
+ '@visactor/vrender-kits': 0.19.17
'@visactor/vscale': 0.18.10
'@visactor/vutils': 0.18.10
dev: false
- /@visactor/vgrammar-wordcloud/0.13.12:
- resolution: {integrity: sha512-24ivt3kgqXNdSO83TVNftHU4OLBK88hve/URlK4Bu0iC5xeD9kIfnlNmwEp+XX7u34iCviwgcgxGUkTnQBcflQ==}
+ /@visactor/vgrammar-wordcloud/0.13.14:
+ resolution: {integrity: sha512-RGRqD77vncUU5WubV5Qz1/2cGhvhh44M9Ws8amyj+ro2hKdHf2QD8FwGVU2yDWqWWOe8Ca2KCOHeR7F8BKk08w==}
dependencies:
- '@visactor/vgrammar-core': 0.13.12
- '@visactor/vgrammar-util': 0.13.12
- '@visactor/vrender-core': 0.19.15
- '@visactor/vrender-kits': 0.19.15
+ '@visactor/vgrammar-core': 0.13.14
+ '@visactor/vgrammar-util': 0.13.14
+ '@visactor/vrender-core': 0.19.17
+ '@visactor/vrender-kits': 0.19.17
'@visactor/vutils': 0.18.10
dev: false
- /@visactor/vgrammar/0.13.12:
- resolution: {integrity: sha512-iUX+9N6+UGqMy5sjjei3skoG9fod6ebaHp8UrpxPx/LxVCTAcmLj23JkYxLuEtz81+U2F9pIn8ZMMrigdlIT/w==}
+ /@visactor/vgrammar/0.13.14:
+ resolution: {integrity: sha512-z9YOKOmyEfc0zmsKzpk7N0CxU3QHJG6tj6XG4WnVMzhfeMzVZ4vG9dUD6t7K4oKGaHmChIOlk4IMEkWV+2yP6Q==}
dependencies:
- '@visactor/vgrammar-core': 0.13.12
+ '@visactor/vgrammar-core': 0.13.14
dev: false
/@visactor/vmind/1.2.4-alpha.5:
@@ -4860,36 +4860,36 @@ packages:
- debug
dev: false
- /@visactor/vrender-components/0.19.15:
- resolution: {integrity: sha512-Iur4FQWauvQT8KzJ3LlHxDzfSJ3N3LwONdnwwHYEymKLpuUHGGFutCEqJUzJs8D/jP4lYApURFPnSZ/Nv3IzdA==}
+ /@visactor/vrender-components/0.19.17:
+ resolution: {integrity: sha512-FCWH6bkI89EfNtjPg6XHB8xisW1GJH9rNgkh4vfphfvagceHrorIagpxfqzRKQoIGiAJZFqEY2/9j4tZMPVyEA==}
dependencies:
- '@visactor/vrender-core': 0.19.15
- '@visactor/vrender-kits': 0.19.15
+ '@visactor/vrender-core': 0.19.17
+ '@visactor/vrender-kits': 0.19.17
'@visactor/vscale': 0.18.10
'@visactor/vutils': 0.18.10
dev: false
- /@visactor/vrender-core/0.19.15:
- resolution: {integrity: sha512-pbz4h5IryGyPyj17QnHvFaaV+bh6WBoItis2BrWJyrdsbiaRescp3pm3evjwsVuJIe+4TvmFjgz3nX4b5IJnkg==}
+ /@visactor/vrender-core/0.19.17:
+ resolution: {integrity: sha512-3hifzM+I3zsEiUljHdo8h5YSdjLkFdhQSudQs58ChekqPg8+/6DpwFzuRXhI39x05VU0S3r9FA+zrcPpJ+cXJg==}
dependencies:
'@visactor/vutils': 0.18.10
color-convert: 2.0.1
dev: false
- /@visactor/vrender-kits/0.19.15:
- resolution: {integrity: sha512-RviEKZ6P8lz+n7Eet9YBlEFaGVJQv0/ZHBTlOWoSl36essUCVxBbAzBE7s3GMFTbv0p23n4QJIv9NsZMxYurJw==}
+ /@visactor/vrender-kits/0.19.17:
+ resolution: {integrity: sha512-T7x0twhi/vgNmSrBCsGxci2Fri7iLwkDeZQ+rZFM8W6d0CA3ioYhQXGCidJ3EN9HwJ2SMe4zsYKrPBZGxwgxtQ==}
dependencies:
'@resvg/resvg-js': 2.4.1
- '@visactor/vrender-core': 0.19.15
+ '@visactor/vrender-core': 0.19.17
'@visactor/vutils': 0.18.10
roughjs: 4.5.2
dev: false
- /@visactor/vrender/0.19.15:
- resolution: {integrity: sha512-ENRw29ktPi83aWFSdnBnEdk2umVKLUYinBENRahVHYKGIR0/cAXLP2mws78IpSF0U80QNWdfTpaU1NFY8i2H0w==}
+ /@visactor/vrender/0.19.17:
+ resolution: {integrity: sha512-5TfH6LkL3BuCCbcfqDxK/k4AYP/csgcXqM7e+KQHDzuwljAid6hju9BQB10z5BvEwGdihEPXvbbDYlBH+2OFWQ==}
dependencies:
- '@visactor/vrender-core': 0.19.15
- '@visactor/vrender-kits': 0.19.15
+ '@visactor/vrender-core': 0.19.17
+ '@visactor/vrender-kits': 0.19.17
dev: false
/@visactor/vscale/0.18.10:
@@ -13839,7 +13839,7 @@ packages:
jest: ^24.0.0
dependencies:
electron: 11.5.0
- jest: 26.6.3
+ jest: 26.6.3_xxvpynkn5i4ehycnunrxxsezu4
jest-haste-map: 24.9.0
jest-message-util: 24.9.0
jest-mock: 24.9.0
diff --git a/docs/assets/api/en/API/vchart.md b/docs/assets/api/en/API/vchart.md
index 29ce5721d4..bc59e826e3 100644
--- a/docs/assets/api/en/API/vchart.md
+++ b/docs/assets/api/en/API/vchart.md
@@ -1179,3 +1179,31 @@ convertValueToPosition: ((value: StringOrNumber, dataLinkInfo: DataLinkAxis, isR
((value: [StringOrNumber, StringOrNumber], dataLinkInfo: DataLinkSeries, isRelativeToCanvas?: boolean) =>
IPoint | null);
```
+
+### updateIndicatorDataById
+
+Update the indicator component data based on the component id specified in the spec.
+
+```ts
+ /**
+ * Update the indicator component data based on the component id specified in the spec.
+ * @param id Indicator id in spec.
+ * @param datum Data Item.
+ * @since 1.11.7
+ */
+ updateIndicatorDataById: (id: string, datum?: Datum) => void;
+```
+
+### updateIndicatorDataByIndex
+
+Update the indicator component data based on the component index in the spec.
+
+```ts
+ /**
+ * Update the indicator component data based on the component index in the spec.
+ * @param index Indicator index in spec.
+ * @param datum Data Item
+ * @since 1.11.7
+ */
+ updateIndicatorDataByIndex: (index: number = 0, datum?: Datum) => void;
+```
diff --git a/docs/assets/api/zh/API/vchart.md b/docs/assets/api/zh/API/vchart.md
index 7f2997bb7c..f956aff52d 100644
--- a/docs/assets/api/zh/API/vchart.md
+++ b/docs/assets/api/zh/API/vchart.md
@@ -1191,6 +1191,30 @@ convertValueToPosition: ((value: StringOrNumber, dataLinkInfo: DataLinkAxis, isR
IPoint | null);
```
+### updateIndicatorDataById
+
+根据指标卡组件 id 更新指标卡数据。
+
+```ts
+ /**
+ * 根据 indicator 组件 id 更新 indicator 数据
+ * @param id spec 中定义的 indicator id
+ * @param datum 具体数据项
+ * @since 1.11.7
+ */
+ updateIndicatorDataById: (id: string, datum?: Datum) => void;
```
+### updateIndicatorDataByIndex
+
+根据指标卡组件索引更新指标卡数据。
+
+```ts
+ /**
+ * 根据 indicator 组件 id 更新 indicator 数据
+ * @param index indicator 索引下标
+ * @param datum 具体数据项
+ * @since 1.11.7
+ */
+ updateIndicatorDataByIndex: (index: number = 0, datum?: Datum) => void;
```
diff --git a/docs/assets/changelog/en/release.md b/docs/assets/changelog/en/release.md
index 2a4700a983..3b68a7ca7d 100644
--- a/docs/assets/changelog/en/release.md
+++ b/docs/assets/changelog/en/release.md
@@ -1,1206 +1,1176 @@
-# v1.11.6
-
-2024-06-27
-
-
-**🐛 Bug fix**
-
-- **@visactor/vchart**: background of chart should support gradient color
-- **animation**: rose animation not work when update twice. fix[#2856](https://github.com/VisActor/VChart/issues/2856)
-- **@visactor/vchart**: fix the type of `ITooltipTheme`, fix [#2850](https://github.com/VisActor/VChart/issues/2850)
-- **@visactor/vchart**: fix the issue of update animation not executed when updateSpec, [#2835](https://github.com/VisActor/VChart/issues/2835) [#2836](https://github.com/VisActor/VChart/issues/2836)
-
-
-
-[more detail about v1.11.6](https://github.com/VisActor/VChart/releases/tag/v1.11.6)
-
-# v1.11.5
-
-2024-06-21
-
-
-**🆕 New feature**
-
-- **@visactor/vchart**: add option `style.align` of Tooltip, support RTL tooltip
--
-
-**🐛 Bug fix**
-
- - **@visactor/vchart**: optimize discrete legend pager color in dark theme, related [#2654](https://github.com/VisActor/VChart/issues/2654)
- - **@visactor/vchart**: fix the issue issue with stacked waterfall charts where positive and negative values were not stacked separately when there were both positive and negative values in the same stack, fix [#2212](https://github.com/VisActor/VChart/issues/2212)
-
-
-
-
-
-[more detail about v1.11.5](https://github.com/VisActor/VChart/releases/tag/v1.11.5)
-
-# v1.11.4
-
-2024-06-18
-
-
-**🐛 Bug fix**
-
- - **@visactor/vchart**: fix bug of `updateSpec` when has `scales`, close [#2744](https://github.com/VisActor/VChart/issues/2744)
- - **@visactor/vchart**: gauge chart might throw error when the value is close to its maximum, fix [#2783](https://github.com/VisActor/VChart/issues/2783)
- - **@visactor/vchart**: fix the behavior of the gauge pointer when it exceeds the axis range, fix [#2780](https://github.com/VisActor/VChart/issues/2780)
- - **@visactor/vchart**: normal animation not work when appear animation is disabled, fix [#2807](https://github.com/VisActor/VChart/issues/2807)
- - **@visactor/vchart**: upgrade vrender to 0.19.10, vgrammar to 0.13.9
-
-
-
-[more detail about v1.11.4](https://github.com/VisActor/VChart/releases/tag/v1.11.4)
-
-# v1.11.3
-
-2024-06-06
-
-
-**🆕 New feature**
-
-- **@visactor/vchart**: add option `showBackgroundChart` of DataZoom
-
-**🐛 Bug fix**
-
-- **@visactor/vchart**: bar chart should work normally when x-axis is linear, fix [#2758](https://github.com/VisActor/VChart/issues/2758)
-- **@visactor/vchart**: fix issue of continuous legend filter in treemap
-- **@visactor/vchart**: fixed the issue that the newly added component type could not take effect when updateSpec
-- **@visactor/vchart**: fixed `setSelected` of sankey chart, fix [#2757](https://github.com/VisActor/VChart/issues/2757) , fix [#2765](https://github.com/VisActor/VChart/issues/2765)
-
-
-
-[more detail about v1.11.3](https://github.com/VisActor/VChart/releases/tag/v1.11.3)
-
-# v1.11.2
-
-2024-05-30
-
-
-**🐛 Bug fix**
-
-- **@visactor/vchart**: fix the bug that `animationThreshold` not work, close [#2745](https://github.com/VisActor/VChart/issues/2745)
-- **@visactor/vchart**: fix the issue of update animation in area chart is not work
-- **common**: bar series support auto band size in common chart. fix[#2704](https://github.com/VisActor/VChart/issues/2704)
-- **@visactor/vchart**: corsshair should hide when pointer out view, fix [#2726](https://github.com/VisActor/VChart/issues/2726)
-- **@visactor/vchart**: close animation cause by datazoom/scrollbar
-- **@visactor/vchart**: \`type-step\` markLine's label should consider the refX/refY/dx/dy set by user, fixed[#2739](https://github.com/VisActor/VChart/issues/2739)
-- **react-vchart**: fix the issue of `` that the props `id` not work
-- **@visactor/vchart**: `polarAxis.grid.smooth` not work in theme configuratio
-
-**🔧 Configuration releated**
-
-- **@visactor/vchart**: when build es5 , `targets` of `@babel/preset-env` should be `defaults`, fix [#2702](https://github.com/VisActor/VChart/issues/2702)
-
-
-
-[more detail about v1.11.2](https://github.com/VisActor/VChart/releases/tag/v1.11.2)
-
-# v1.11.1
-
-2024-05-21
-
-**🆕 New feature**
-**marker**:mark-point support arc line and targetSymbol.close [#2590](https://github.com/VisActor/VChart/issues/2590)
-**@visactor/vchart**:add new options followTooltip to crosshair
-**🐛 Bug fix**
-**@visactor/vchart**:fix the issue of missing defaultDataIndex in extensionMarks
-**@visactor/vchart**:fix error of empty spec, fix[#1193](https://github.com/VisActor/VChart/issues/1193)
-**@visactor/vchart**:fix the error caused by renderNextTick after release
-**@visactor/vchart**: layout-model should read layoutLevel in spec, and dont create layoutItem for hidden components, related[#1674](https://github.com/VisActor/VChart/issues/1674)
-**@visactor/vchart**:when marker's spec update, it should update when call vchart.updateSpec
-**@visactor/vchart**:fix effect of sampling when flush is true, fix [#2272](https://github.com/VisActor/VChart/issues/2272)
-**@visactor/vchart**:fix the api valueToPositionX and valueToPositionY of sankey
-**@visactor/vchart**: sankey should color by seriesField, fix[#2678](https://github.com/VisActor/VChart/issues/2678)
-**@visactor/vchart**:fix bug of setDimensionIndex when axis is linear
-**@visactor/vchart**:fix issue with import registerTTEnv
-**@visactor/vchart**:fix issue with taro tt env, closed[#2648](https://github.com/VisActor/VChart/issues/2648)
-**@visactor/vchart**:fix error of call updateFullDataSync() before renderSync(), fix [#2655](https://github.com/VisActor/VChart/issues/2655)
-**📖 docs**
-**@visactor/vchart**:add custom animate doc
-**@visactor/vchart**:perfect document for react-lynx-vchart
-
-[more detail about v1.11.1](https://github.com/VisActor/VChart/releases/tag/v1.11.1)
-
-# v1.11.0
-
-2024-05-08
-
-
-**🆕 New feature**
-
-- **@visactor/vchart**: support `animation` config of custom-mark
-- **@visactor/vchart**: legend should keep unselected when update spec or data, fix [#2531](https://github.com/VisActor/VChart/issues/2531), related [#2443](https://github.com/VisActor/VChart/issues/2443)
-- **marker**: marker enhance about state and animation and support polar and geo axis. close[#1165](https://github.com/VisActor/VChart/issues/1165)
-- **marker**: add interactive event listener of marker. close[#2248](https://github.com/VisActor/VChart/issues/2248)
-- **marker**: add config about custom data of all relative series. close[#2183](https://github.com/VisActor/VChart/issues/2183)
-- **@visactor/vchart**: support data update when spec is same in react-vchart
-- **@visactor/vchart**: support `softMin` and `softMax` in linear-axis, close [#2498](https://github.com/VisActor/VChart/issues/2498)
-- **@visactor/vchart**: add new properties `tooltipSpec` and `tooltipActual` to tooltip event params, related [#2454](https://github.com/VisActor/VChart/issues/2454)
-- **@visactor/vchart**: add `othersLine` to customize the the "Others" line content displayed after the tooltip content exceeds the maximum number of displayed lines
-- **@visactor/vchart**: the new chart type venn chart, related [#2144](https://github.com/VisActor/VChart/issues/2144)
-- **@visactor/vchart**: enhanced capabilities for waterfall chart total label
-- **@visactor/vchart**: add api of `clearState()`, `clearSelected()`, `clearHovered()`, fix [#2552](https://github.com/VisActor/VChart/issues/2552)
-- **@visactor/vchart**: support `simplify.tolerance` config in `registerMap` API
-
-**🐛 Bug fix**
-
-- **wordCloud**: wordCloud layout error and color scale error when updateData. fix[#2605](https://github.com/VisActor/VChart/issues/2605)'
-- **@visactor/vchart**: fix error of position when update viewBox
-- **scroll**: scroll not work in ios. fix[#1224](https://github.com/VisActor/VChart/issues/1224)
-- **@visactor/vchart**: fix range-column-chart spec
-- **marker**: fix mark point position about offset. fix[#2579](https://github.com/VisActor/VChart/issues/2579)
-- **@visactor/vchart**: extension-mark should update when data is update
-- **@visactor/vchart**: duplicated categoryField data in funnel will result to unexpected rendering result
-- **@visactor/vchart**: the x-axis and y-axis of scatter can be band-axis
-- **@visactor/vchart**: vchart should not remake of same spec
-- **@visactor/vchart**: fixed the problem that when the label of the sankey chart is hidden, an error will be reported when clicking on the blank space
-- **@visactor/vchart**: fix the issue of scatter when the legend switch visible encode, close [#2625](https://github.com/VisActor/VChart/issues/2625)
-- **@visactor/vchart**: fix the trigger off of default select interactions
-
-**🔨 Refactor**
-
-- **@visactor/vchart**: react-vchart will require component by need by default
-- **@visactor/vchart**: remove built-in simplify data transform
-
-**🔧 Configuration releated**
-
-- **@visactor/vchart**: upgrade dependencies
-
-
-
-[more detail about v1.11.0](https://github.com/VisActor/VChart/releases/tag/v1.11.0)
-
-# v1.10.6
-
-2024-05-08
-
-
-**🆕 New feature**
-
-- **@visactor/vchart**: enhanced capabilities for waterfall chart total label
-
-**🐛 Bug fix**
-
-- **wordCloud**: wordCloud layout error and color scale error when updateData. fix [#2605](https://github.com/VisActor/VChart/issues/2605)
-- **@visactor/vchart**: fix error of position when update viewBox
-- **scroll**: scroll not work in ios. fix[#1224](https://github.com/VisActor/VChart/issues/1224)
-- **@visactor/vchart**: fix range-column-chart spec
-- **@visactor/vchart**: duplicated categoryField data in funnel will result to unexpected rendering result
-- **@visactor/vchart**: fixed the problem that when the label of the sankey chart is hidden, an error will be reported when clicking on the blank space
-- **@visactor/vchart**: fix the issue of scatter when the legend switch visible encode, close [#2625](https://github.com/VisActor/VChart/issues/2625)
-- **@visactor/vchart**: fix the trigger off of default select interactions
-
-
-
-[more detail about v1.10.6](https://github.com/VisActor/VChart/releases/tag/v1.10.6)
-
-# v1.10.5
-
-2024-04-26
-
-
-**🆕 New feature**
-
-- **@visactor/vchart**: player support play when hidden. feat[#2524](https://github.com/VisActor/VChart/issues/2524)
-
-**🐛 Bug fix**
-
-- **datazoom**: when drag start and end handler outside, min and max span not work. fix[#2559](https://github.com/VisActor/VChart/issues/2559)
-- **@visactor/vchart**: fix domain of continuous legend when specify seriesId or seriesIndex
-- **@visactor/vchart**: fix eventsBinded update in react-vchart
-- **scrollbar**: label position not align with mark. fix[#2534](https://github.com/VisActor/VChart/issues/2534)
-- **scrollbar**: enable bubble when scroll to boundary. fix[#2521](https://github.com/VisActor/VChart/issues/2521)
-- **@visactor/vchart**: fix error of update theme when series reduce
-
-**⚡ Performance optimization**
-
-- **@visactor/vchart**: optimize the performance of pie chart, fix [#2568](https://github.com/VisActor/VChart/issues/2568)
-
-
-
-[more detail about v1.10.5](https://github.com/VisActor/VChart/releases/tag/v1.10.5)
-
-# v1.10.4
-
-2024-04-03
-
-
-**🆕 New feature**
-
-- **@visactor/vchart**: increase chart stacking capabilities, provide `stackSort` to support sorting when stacking
-
-**🐛 Bug fix**
-
-- **@visactor/vchart**: axis unit in wrong position when hiding the axis domainLine
-- **@visactor/vchart**: fix issue of the order of data is not uniform in stack
-- **@visactor/vchart**: type defination of markArea & markPoint in common chart
-- **@visactor/vchart**: formatMethod of crosshair label runs multiple times (Tip: After fixing it, the process of retaining two decimal places in the crosshair label has been changed to the default formatMethod. After replacing the formatMethod, users will no longer retain decimal places), related [#2501](https://github.com/VisActor/VChart/issues/2501)
-- **@visactor/vchart**: crosshair can't move when axis domain is very small, related [#2492](https://github.com/VisActor/VChart/issues/2492)
-- **@visactor/vchart**: `updateDataSync` produces inconsistent results compared to direct drawing, related [#2503](https://github.com/VisActor/VChart/issues/2503)
-
-**🔨 Refactor**
-
-- **@visactor/vchart**: add event params `vchart`, which will updated in lifecycle events, close [#2502](https://github.com/VisActor/VChart/issues/2502)
-
-[more detail about v1.10.4](https://github.com/VisActor/VChart/releases/tag/v1.10.4)
-
-# v1.10.3
-
-2024-03-28
-
-
-**🆕 New feature**
-
-- **@visactor/vchart**: support interaction events of `element-select` and `element-highlight`
-- **@visactor/vchart**: support `showDefaultName` in map chart to display unmatched name in map data
-
-**🐛 Bug fix**
-
-- **@visactor/vchart**: tooltip cliped if set border width. fix[#2471](https://github.com/VisActor/VChart/issues/2471)
-- **@visactor/vchart**: `lineWidth` is invalid in rect-type-crosshair, related [#2432](https://github.com/VisActor/VChart/issues/2432)
-- **@visactor/vchart**: should use `series.getMarkInName` to get the mark for total label's caculation, fixed [#2448](https://github.com/VisActor/VChart/issues/2448)
-- **@visactor/vchart**: fix the issue of event trigger count after `updateSpecSync()`
-- **@visactor/vchart**: map data will not show if not configured in nameMap
-- **@visactor/vchart**: axis label missing in the sampled angle axis, related [#2439](https://github.com/VisActor/VChart/issues/2439)
-- **@visactor/vchart**: fix radar chart clipAngle animation error when loading on demand.
-- **@visactor/vchart**: fix the release order of _eventDispatcher
-- **@visactor/vchart**: should use series's _seriesMark to calculate total mark, not all series mark names are the same as series.type
-
-
-
-[more detail about v1.10.3](https://github.com/VisActor/VChart/releases/tag/v1.10.3)
-
-# v1.10.2
-
-2024-03-26
-
-## 🆕 New feat
-- **@visactor/vchart**: support interaction events of `element-select` and `element-highlight`
-
-## 🐛 Bug fix
-- **@visactor/vchart**: `lineWidth` is invalid in rect-type-crosshair, related [#2432](https://github.com/VisActor/VChart/issues/2432)
-- **@visactor/vchart**: should use `series.getMarkInName` to get the mark for total label's caculation, fixed [#2448](https://github.com/VisActor/VChart/issues/2448)
-- **@visactor/vchart**: fix the issue of event trigger count after `updateSpecSync()`
-- **@visactor/vchart**: fix radar chart clipAngle animation error when loading on demand.
-
-[more detail about v1.10.2](https://github.com/VisActor/VChart/releases/tag/v1.10.2)
-
-# v1.10.0
-
-2024-03-13
-
-
-**🆕 New feature**
-
-- **@visactor/vchart**: bar chart supports `autoBandSize` to automatically calculate bandSize based on the incoming configuration such as `barWidth`, thereby affecting the actual length of the axis, related [#2268](https://github.com/VisActor/VChart/issues/2268)
-- **@visactor/vchart**: stacked bar chart supports the config `stackCornerRadius` to configure the corner radius of stacked bar groups, releated [#2185](https://github.com/VisActor/VChart/issues/2185)
-- **dataZoom**: enhance when big data and brush releated
-- **dataZoom**: add sampler for preview chart
-- **@visactor/vchart**: support scrollbar in legend
-- **@visactor/vchart**: the theme of the legend supports separate configuration of different themes in different directions, related [#2216](https://github.com/VisActor/VChart/issues/2216)
-- **@visactor/vchart**: react-vchart supports custom tooltip render, related [#2288](https://github.com/VisActor/VChart/issues/2288)
-- **@visactor/vchart**: theme supports for configuring series themes in stack state, related [#2331](https://github.com/VisActor/VChart/issues/2331)
-- **@visactor/vchart**: theme supports custom tokens, related [#2255](https://github.com/VisActor/VChart/issues/2255)
-- **@visactor/vchart**: tooltip supports the same `lockAfterClick` as crosshair, related [#2352](https://github.com/VisActor/VChart/issues/2352)
-- **@visactor/vchart**: `x` & `y` of the tooltip position can be fixed separately, related [#2320](https://github.com/VisActor/VChart/issues/2320)
-- **@visactor/vchart**: add more tooltip shape configs in `tooltip.style` of the chart spec, related [#2292](https://github.com/VisActor/VChart/issues/2292)
-- **@visactor/vchart**: state style of arc marks support `innerPadding` and `outerPadding`, related [#2038](https://github.com/VisActor/VChart/issues/2038)
-- **@visactor/vchart**: register hover/select interaction by default
-- **@visactor/vchart**: remove advanced interaction in simple bundle
-
-**🐛 Bug fix**
-
-- **@visactor/vchart**: enterable tooltip will not hide when mouse moves directly from the tooltip to a non-chart area, related [#2315](https://github.com/VisActor/VChart/issues/2315)
-- **@visactor/vchart**: upgrade version of vgrammar to fix end state of animation
-- **@visactor/vchart**: `tickMask` is invalid in circular progress charts, related [#2316](https://github.com/VisActor/VChart/issues/2316)
-- **@visactor/vchart**: rect crosshair should lock when lockAfterClick is true
-- **@visactor/vchart**: when region style is empty, should not create _backgroundMark or _foregroundMark
-- **@visactor/vchart**: fixed the issue of being unable to listen to customMark events on vchart
-- **@visactor/vchart**: grid component should not be pickable expect its children
-- **@visactor/vchart**: events on `` should not trigged twice
-- **@visactor/vchart**: plugin should be released in `release()`
-
-**🔨 Refactor**
-
-- **react-vchart**: refactor react-vchart to support render in strict mode
-
-**🔧 Configuration releated**
-
-- **@visactor/vchart**: use `rimraf` to replace `rm -rf`
-
-
-
-[more detail about v1.10.0](https://github.com/VisActor/VChart/releases/tag/v1.10.0)
-
-# v1.9.6
-
-2024-03-11
-
-
-**🆕 New feature**
-
-- **@visactor/vchart**: support dataKey in CustomMark and ExtensionMark
-- **@visactor/vchart**: support mulity data in waterfal total dimensions
-
-**🐛 Bug fix**
-
-- **@visactor/vchart**: `animationAppear: false` not work
-- **@visactor/vchart**: fix bug that throws error when setting mark style to invlaid value
-- **@visactor/vchart**: fix the issue of duplicate event registration, fixed [#2336](https://github.com/VisActor/VChart/issues/2336)
-- **@visactor/vchart**: fixed the issue of being unable to listen to label and totalLabel component events on vchart, `vchart.on('click', { level: 'model', type: 'label' })`
-- **@visactor/vchart**: optimize totoal label position when axis is inversed
-- **@visactor/vchart**: upgrade vrender to 0.17.27, vgrammar to 0.11.15
-- **scrollbar**: click stopped by zoomable. fix[#2333](https://github.com/VisActor/VChart/issues/2333)
-
-
-
-[more detail about v1.9.6](https://github.com/VisActor/VChart/releases/tag/v1.9.6)
-
-# v1.9.5
-
-2024-03-04
-
-
-**🆕 New feature**
-
-- **@visactor/vchart**: support dataKey in CustomMark and ExtensionMark
-- **@visactor/vchart**: support mulity data in waterfal total dimensions
-
-**🐛 Bug fix**
-
-- **@visactor/vchart**: `animationAppear: false` not work
-- **@visactor/vchart**: optimize totoal label position when axis is inversed
-
-
-
-[more detail about v1.9.5](https://github.com/VisActor/VChart/releases/tag/v1.9.5)
-
-# v1.9.3
-
-2024-02-07
-
-
-**🆕 New feature**
-
-- **@visactor/vchart**: supply pie percent data as `data._percent_`
-
-**🐛 Bug fix**
-
-- **@visactor/vchart**: axis zero not work beacause of collect data. fix[#2226](https://github.com/VisActor/VChart/issues/2226)
-- **@visactor/vchart**: marker area xy layout needs to deal with the problem of empty coordinate points
-- **player**: default attr leades to layout error. fix[#241](https://github.com/VisActor/VChart/issues/241)
-- **@visactor/vchart**: wordcloud support rect shape. fix[#2220](https://github.com/VisActor/VChart/issues/2220)
-
-[more detail about v1.9.3](https://github.com/VisActor/VChart/releases/tag/v1.9.3)
-
-# v1.9.2
-
-2024-02-05
-
-
-**🐛 Bug fix**
-
-- **@visactor/vchart**: bar label issue when position is 'inside-bottom' or 'inside-top'
-- **@visactor/vchart**: in block-vchart demo, the `dpr` acquisition method is wrong and needs to be obtained in real time
-- **@visactor/vchart**: series can read `direction` from chart spec, releated to [#2181](https://github.com/VisActor/VChart/issues/2181)
-- **@visactor/vchart**: dataZoom min and max span does not effect, related [#2195](https://github.com/VisActor/VChart/issues/2195)
-- **@visactor/vchart**: fix the problem that multi-layer axis labels are not displayed after closing tail labels, related [#2179](https://github.com/VisActor/VChart/issues/2179)
-- **@visactor/vchart**: fix polar animation interpolation
-- **@visactor/react-vchart**: fix the error when `onClick` of `` is null, close [#2186](https://github.com/VisActor/VChart/issues/2186)
-- **@visactor/vchart**: charts should not stack toggle when series has same type but differernt axes, related [#2210](https://github.com/VisActor/VChart/issues/2210)
-- **@visactor/vchart**: there is some offset in the position of the dom tooltip shape, related [#2188](https://github.com/VisActor/VChart/issues/2188)
-
-**🔧 Configuration releated**
-
-- **@visactor/vchart**: add react-lynx doc
-
-[more detail about v1.9.2](https://github.com/VisActor/VChart/releases/tag/v1.9.2)
-
-# v1.9.1
-
-2024-01-31
-
-
-**🐛 Bug fix**
-
-- **@visactor/vchart**: custom mark should run after all the series marks, fix [#2156](https://github.com/VisActor/VChart/issues/2156)
-- **@visactor/vchart**: interactions should be closed by `option.disableTriggerEvent`
-- **@visactor/vchart**: in the case of multiple band axes in a chart, the same datum corresponds to multiple rows of dimension tooltip content, related [#2148](https://github.com/VisActor/VChart/issues/2148)
-- **@visactor/vchart**: fix error of vchart in strict-mode
-- **@visactor/vchart**: fix the zero-align of axes, fix [#2167](https://github.com/VisActor/VChart/issues/2167)
-
-
-
-[more detail about v1.9.1](https://github.com/VisActor/VChart/releases/tag/v1.9.1)
-
-# v1.9.0
-
-2024-01-26
-
-
-**🆕 New feature**
-
-- **@visactor/vchart**: axis supports `hasDimensionTooltip` for force specification of dimension tooltip, related [#1678](https://github.com/VisActor/VChart/issues/1678)
-- **@visactor/vchart**: `triggerOff` of crosshair support number to close crosshair by setTimeout, fix [#1676](https://github.com/VisActor/VChart/issues/1676)
-- **@visactor/vchart**: the `barBackground` mark in the bar chart supports `fieldLevel` config to indicate whether the `barBackground` mark is displayed at the group level and at which level it is displayed, related [#1601](https://github.com/VisActor/VChart/issues/1601)
-- **@visactor/vchart**: histogram chart supports bar background, related [#1979](https://github.com/VisActor/VChart/issues/1979)
-- **@visactor/vchart**: support fitStrategy for indicator
-- **liquid**: liquid chart. close[#1158](https://github.com/VisActor/VChart/issues/1158)
-- **@visactor/vchart**: band type axis supports multi-layer axis label display
-- **@visactor/vchart**: support separately configuring interactive for line/area mark in area chart, see [#1592](https://github.com/VisActor/VChart/issues/1592)
-- **@visactor/vchart**: support `stateSort` of mark, fix [#2003](https://github.com/VisActor/VChart/issues/2003)
-- **@visactor/vchart**: support customized vrender component in extensionMark
-- **@visactor/vchart**: split tooltip handler into plugins for on-demand importing, related [#1397](https://github.com/VisActor/VChart/issues/1397)
-
-**🐛 Bug fix**
-
-- **@visactor/vchart**: fix the bug of crosshair trigger when hover and click are both configed, fix [#1574](https://github.com/VisActor/VChart/issues/1574)
-- **@visactor/vchart**: tooltip supports content area scrolling, related [#2001](https://github.com/VisActor/VChart/issues/2001)
-- **@visactor/vchart**: remove label line height in default themes, related [#1983](https://github.com/VisActor/VChart/issues/1983)
-- **@visactor/vchart**: fix the issue where tooltip content callbacks may not be effective in certain situations, related [#1943](https://github.com/VisActor/VChart/issues/1943)
-
-**🔨 Refactor**
-
-- **@visactor/vchart**: deprecated `useSyncRender` in react-vchart
-
-
-
-[more detail about v1.9.0](https://github.com/VisActor/VChart/releases/tag/v1.9.0)
-
-# v1.8.10
-
-2024-01-25
-
-
-**🆕 New feature**
-
-- **@visactor/vchart**: support innerOffset in vchart cartesian axis
-
-**🐛 Bug fix**
-
-- **@visactor/vchart**: fix issue of continous color scale, close [#2131](https://github.com/VisActor/VChart/issues/2131)
-- **@visactor/vchart**: dont return min,max of empty data, fix [#1711](https://github.com/VisActor/VChart/issues/1711)
-- **@visactor/vchart**: fixed polar coordinate relative axis tickValues acquisition error problem, fixed[#2117](https://github.com/VisActor/VChart/issues/2117)
-- **@visactor/vchart**: fix the issue mark line is not filter by legend, close [#2127](https://github.com/VisActor/VChart/issues/2127)
-- **@visactor/vchart**: sequence chart region bind error. fix[#2115](https://github.com/VisActor/VChart/issues/2115)
-- **@visactor/vchart**: star shapes on dom tooltip do not display correctly, related [#1905](https://github.com/VisActor/VChart/issues/1905)
-- **@visactor/vchart**: treemap drill event error
-- **@visactor/vchart**: treemap drill error when turn off the animation
-
-
-
-[more detail about v1.8.10](https://github.com/VisActor/VChart/releases/tag/v1.8.10)
-
-# v1.8.9
-
-2024-01-23
-
-
-**🆕 New feature**
-
-- **@visactor/vchart**: support supportsTouchEvents and supportsPointerEvents config
-- **@visactor/vchart**: support `alignSelf` of layout `normal-inline` elements, fix [#2072](https://github.com/VisActor/VChart/issues/2072)
-- **@visactor/vchart**: upgrade vrender
-
-**🐛 Bug fix**
-
-- **@visactor/vchart**: fix bug of crosshair timer, fix [#2088](https://github.com/VisActor/VChart/issues/2088)
-- **@visactor/vchart**: fix the bugs of axis's onZero property, fixed [#2098](https://github.com/VisActor/VChart/issues/2098),[#2099](https://github.com/VisActor/VChart/issues/2099)
-- **@visactor/vchart**: update animation should exludes `defined` channel
-
-
-
-[more detail about v1.8.9](https://github.com/VisActor/VChart/releases/tag/v1.8.9)
-
-# v1.8.8
-
-2024-01-19
-
-
-**🆕 New feature**
-
-- **@visactor/vchart**: enhance scroll effect, closed [#2037](https://github.com/VisActor/VChart/issues/2037)
-- **@visactor/vchart**: upgrade @visactor/vrender-core to locked 0.17.14
-- **@visactor/vchart**: sankey chart supports disableTriggerEvent configuration
-- **@visactor/vchart**: support new layout type region-relative-overlap
-
-**🐛 Bug fix**
-
-- **@visactor/vchart**: `area.interactive` in area series spec is not available, related [#2030](https://github.com/VisActor/VChart/issues/2030)
-- **@visactor/vchart**: fix sortDataByAxis not work after datazoom changed axis
-- **@visactor/vchart**: crosshair should show when `trimPadding` of axis is true, fix [#2054](https://github.com/VisActor/VChart/issues/2054)
-- **@visactor/vchart**: calculate layer transform for dimension tooltip
-- **@visactor/vchart**: fixed the issue where activePoint does not take effect when the visible configuration of line chart point is false
-- **@visactor/vchart**: different effect when configuring label.overlap:true in [#1956](https://github.com/VisActor/VChart/issues/1956)
-- **@visactor/vchart**: label position incorrect with region indent
-- **scroll**: event error in lynx env. fix[#2041](https://github.com/VisActor/VChart/issues/2041)
-- **@visactor/vchart**: map scale ratio not correct after updateSpec or resize
-- **@visactor/vchart**: fix the bug of nice when tickCount is a function, fix [#2050](https://github.com/VisActor/VChart/issues/2050)
-
-[more detail about v1.8.8](https://github.com/VisActor/VChart/releases/tag/v1.8.8)
-
-# v1.8.7
-
-2024-01-11
-
-**🆕 New feature**
-
-- **markPoint**: mark point support item content confine. fix [#1573](https://github.com/VisActor/VChart/issues/1573)
-- **@visactor/vchart**: support indent in region layout
-
-**🐛 Bug fix**
-
-- **@visactor/vchart**: mark tooltip not work in rangeColumn chart, closes [#1959](https://github.com/VisActor/VChart/issues/1959)
-- **brush**: hover not effect when draw a small brush. fix[#1985](https://github.com/VisActor/VChart/issues/1985)
-- **@visactor/vchart**: fix the problem that indent.top cannot take effect normally
-- **@visactor/vchart**: the crosshair should only be triggered when the point is in some x-axis and y-axis, fix [#1954](https://github.com/VisActor/VChart/issues/1954)
-- **@visactor/vchart**: fixed the issue where legend filtering fails after customizing data for discrete legends, fixed [#1994](https://github.com/VisActor/VChart/issues/1994)
-- **@visactor/vchart**: range column chart's `barMinHeight` property does not take effect, closed[#1999](https://github.com/VisActor/VChart/issues/1999)
-- **@visactor/vchart**: tooltip value is stacked in stacked radar charts, related [#450](https://github.com/VisActor/VChart/issues/450)
-- **@visactor/vchart**: fix the onebyone symbol animation order, closes [#1932](https://github.com/VisActor/VChart/issues/1932)
-
-[more detail about v1.8.7](https://github.com/VisActor/VChart/releases/tag/v1.8.7)
-
-# v1.8.5
-
-2024-01-04
-
-**🆕 New feature**
-
-- **@visactor/vchart**: add zAxis theme and set label space to 0, closed [#149](https://github.com/VisActor/VChart/issues/149)
-
-**🐛 Bug fix**
-
-- **@visactor/vchart**: compute layer translate for crosshair
-- **@visactor/vchart**: optimize funnel clip animation without extensionMarks
-- **@visactor/vchart**: fix the hover state of multiple series, close [#1899](https://github.com/VisActor/VChart/issues/1899)
-- **@visactor/vchart**: waterfall.label not work in [#1897](https://github.com/VisActor/VChart/issues/1897)
-
-[more detail about v1.8.5](https://github.com/VisActor/VChart/releases/tag/v1.8.5)
-
-# v1.8.4
-
-2024-01-02
-
-**🐛 Bug fix**
-
-- **@visactor/vchart**: add media query spec interface to default chart spec
-- **@visactor/vchart**: fix the bug of extension mark when no valid animation, fix [#1877](https://github.com/VisActor/VChart/issues/1877)
-
-[more detail about v1.8.4](https://github.com/VisActor/VChart/releases/tag/v1.8.4)
-
-# v1.8.3
-
-2024-01-02
-
-**🆕 New feature**
-
-- **@visactor/vchart**: add props `useSyncRender` to react-vchart, close [#1685](https://github.com/VisActor/VChart/issues/1685)
-- **@visactor/vchart**: Supports the initialization parameter `disableTriggerEvent` to turn off the default interactive effect of the chart
-
-**🐛 Bug fix**
-
-- **@visactor/vchart**: chart option.animation not work
-- **@visactor/vchart**: fix error in strict mode of react-vchart, fix [#1669](https://github.com/VisActor/VChart/issues/1669)
-- **@visactor/vchart**: error in chart level modification of media query action
-- **@visactor/vchart**: dimension tooltip in the dual-dimension chart contains data of only one dimension, related [#1841](https://github.com/VisActor/VChart/issues/1841)
-- **@visactor/vchart**: fix bug in layout when band axis has no domain
-- **@visactor/vchart**: funnel clipIn animation has delay for marks which overflows the range of region in [#1839](https://github.com/VisActor/VChart/issues/1839)
-- **@visactor/vchart**: when marker label's padding is an object, it should work
-- **@visactor/vchart**: undefined globalThis in tt miniprogram, see [#1854](https://github.com/VisActor/VChart/issues/1854)
- **🔨 Refactor**
-- **@visactor/vchart**: optimize the style configuration of marker
-
-[more detail about v1.8.3](https://github.com/VisActor/VChart/releases/tag/v1.8.3)
-
-# v1.8.2
-
-2023-12-22
-
-**🆕 feat**
-
-- **@visactor/vchart**: Supports the initialization parameter `disableTriggerEvent` to turn off the default interactive effect of the chart
-
-**🐛 fix**
-
-- **@visactor/vchart**: Config `animation` in the chart option doesn't work
-- **@visactor/vchart**: Error in chart level modification of media query action
-
-[more detail about v1.8.2](https://github.com/VisActor/VChart/releases/tag/v1.8.2)
-
-# v1.8.1
-
-2023-12-21
-
-**🐛 fix**
-
-- **@visactor/vchart**: improve the stability of spec transformer and media query
-- **@visactor/vchart**: `select.triggerOff: none` not work
-
-[more detail about v1.8.1](https://github.com/VisActor/VChart/releases/tag/v1.8.1)
-
-# v1.8.0
-
-2023-12-19
-
-**🆕 feat**
-
-- **@visactor/vchart**: add getPoints api in funnel mark attribute context
-- **@visactor/vchart**: vchart supports chart-level plugin, related [#1784](https://github.com/VisActor/VChart/issues/1784)
-- **@visactor/vchart**: new media query plugin to support self-adaptive charts, related [#1413](https://github.com/VisActor/VChart/issues/1413)
-- **@visactor/vchart**: support optimize config, and auto set disableCheckGraphicWidthOutRange to true
-- **@visactor/vchart**: remove legacy theme for legends
-
-**🐛 fix**
-
-- **@visactor/vchart**: fix the api: `getComponentsByKey` not work
-- **@visactor/vchart**: animation support for gauge pointer series, related [#1699](https://github.com/VisActor/VChart/issues/1699)
-- **@visactor/vchart**: fix issue with secondary dataflow, closed [#1760](https://github.com/VisActor/VChart/issues/1760)
-
-**🔨 refactor**
-
-- **@visactor/vchart**: update datazoom and brush updatecallback, use event
-
-**⚡ perf**
-
-- **@visactor/vchart**: when visible is false, dont parse detail attrs
-
-[more detail about v1.8.0](https://github.com/VisActor/VChart/releases/tag/v1.8.0)
-
-# v1.7.5
-
-2023-12-15
-
-**🐛 fix**
-
-- **brush**: brush release error after update spec. fix[#1720](https://github.com/VisActor/VChart/issues/1720)
-- **@visactor/vchart**: series should pick `morph` config in chart
-- **@visactor/vchart**: fix type defination of vchart spec in [#1486](https://github.com/VisActor/VChart/issues/1486)
-
-[more detail about v1.7.5](https://github.com/VisActor/VChart/releases/tag/v1.7.5)
-
-# v1.7.4
-
-2023-12-12
-
-**🆕 feat**
-
-- **@visactor/vchart**: support interaction group in region
-
-**🐛 fix**
-
-- **@visactor/vchart**: label style not update when change current theme in [#1698](https://github.com/VisActor/VChart/issues/1698)
-
-[more detail about v1.7.4](https://github.com/VisActor/VChart/releases/tag/v1.7.4)
-
-# v1.7.3
-
-2023-12-06
-
-**🆕 feat**
-
-- **@visactor/vchart**: marker supports `coordinatesOffset` for points adjusting
-- **@visactor/vchart**: markLine supports x,y,y1 y,x,x1 and x,y,x1,y1 position
-- **@visactor/vchart**: markPoint support xy position
-- **@visactor/vchart**: marker's position property support relative coordinate
-- **@visactor/vchart**: marker's coordinate property supports callback
-- **@visactor/vchart**: cartesion crosshair's rect width support callback, support [#1567](https://github.com/VisActor/VChart/issues/1567)
-- **@visactor/vchart**: polar crosshair supports default show
-- **@visactor/vchart**: support text omission position configuration `suffixPosition`
-- **@visactor/vchart**: supports `pickStrokeBuffer` style attribute for extending the stroke picking range
-
-**🐛 fix**
-
-- **@visactor/vchart**: fix 3d bar chart with seriesField issue, closed [#1646](https://github.com/VisActor/VChart/issues/1646)
-- **@visactor/vchart**: fix 3d chart z axis not work noamally issue, closed [#1668](https://github.com/VisActor/VChart/issues/1668)
-- **@visactor/vchart**: clear old encode when update, fix [#1630](https://github.com/VisActor/VChart/issues/1630)
-- **@visactor/vchart**: fix the problem that track mark has multiple elements in gauge series, related [#1643](https://github.com/VisActor/VChart/issues/1643)
-- **@visactor/vchart**: fix the problem that gaugePointer series doesn't support custom `innerRadius`, related [#1644](https://github.com/VisActor/VChart/issues/1644)
-- **@visactor/vchart**: fix the type error of markArea
-- **@visactor/vchart**: the outerBorder's color should be equal with labelBackground's fill by default
-- **@visactor/vchart**: fix oneByOne loop animation
-- **@visactor/vchart**: add `align` property for size legend, and fix the issue of the attribute assignment does not take effect, related [#1553](https://github.com/VisActor/VChart/issues/1553)
-
-**🔨 refactor**
-
-- **@visactor/vchart**: unify `getVRenderComponents` method in Component model
-
-**⚡ perf**
-
-- **@visactor/vchart**: only call `cloneDeepSpec()` when need
-
-[more detail about v1.7.3](https://github.com/VisActor/VChart/releases/tag/v1.7.3)
-
-# v1.7.2
-
-2023-11-30
-
-**🐛 fix**
-
-- **@visactor/vchart**: clear old encode when update, fix [#1630](https://github.com/VisActor/VChart/issues/1630)
-- **@visactor/vchart**: fix the problem that track mark has multiple elements in gauge series, related [#1643](https://github.com/VisActor/VChart/issues/1643)
-- **@visactor/vchart**: fix the problem that gaugePointer series doesn't support custom `innerRadius`, related [#1644](https://github.com/VisActor/VChart/issues/1644)
-
-**🔨 refactor**
-
-- **@visactor/vchart**: unify `getVRenderComponents` method in Component model
-
-[more detail about v1.7.2](https://github.com/VisActor/VChart/releases/tag/v1.7.2)
-
-# v1.7.1
-
-2023-11-30
-
-**🐛 fix**
-
-- **@visactor/vchart**: read dataview of extension-mark by `dataId`
-- **@visactor/vchart**: fixed the issue where the layout size of the axis is incorrect when only domainLine is displayed
-- **@visactor/vchart**: fix bug of changed spec when create series
-- **pie**: get center error. fix [#1610](https://github.com/VisActor/VChart/issues/1610)
-- **@visactor/vchart**: optimize the effect of `tooltip.enterable` that user's pointer can easily enter the tooltip, related [#1598](https://github.com/VisActor/VChart/issues/1598)
-
-[more detail about v1.7.1](https://github.com/VisActor/VChart/releases/tag/v1.7.1)
-
-# v1.7.0
-
-2023-11-24
-
-**🆕 feat**
-
-- **@visactor/vchart**: support `trimPadding` for band type axis, which used to remove the blank space at both ends of the aixs, closed [#1174](https://github.com/VisActor/VChart/issues/1174)
-- **@visactor/vchart**: custom mark support animation config
-- **@visactor/vchart**: support customShape of mark
-- **@visactor/vchart**: optimize auto mode of data-zoom, related [#1416](https://github.com/VisActor/VChart/issues/1416)
-- **@visactor/vchart**: enhance marker's position ability
-- **@visactor/vchart**: mark area should support specify x x1 y and y1 both
-- **@visactor/vchart**: add light-mobile and dark-mobile theme, related [#1414](https://github.com/VisActor/VChart/issues/1414)
-- **@visactor/vchart**: optmize performance of computing data
-- **@visactor/vchart**: support none in component layoutType
-- **@visactor/vchart**: support line/area label
-- **@visactor/vchart**: no longer register mobile theme in vchart
-- **@visactor/vchart**: feature: supports registered function expression syntax, related [#1187](https://github.com/VisActor/VChart/issues/1187)
-
-**🐛 fix**
-
-- **@visactor/vchart**: chart padding won't update when switching global theme
-- **@visactor/vchart**: fix spec modified unexpectedly in data model, details in [#1514](https://github.com/VisActor/VChart/issues/1514)
-- **@visactor/vchart**: update enableSegements implemention
-
-**🔨 refactor**
-
-- **@visactor/vchart**: refactor the inheritance structure of the chart module to make the layout system independent, details in [#1428](https://github.com/VisActor/VChart/issues/1428)
-
-**⚡ perf**
-
-- **@visactor/vchart**: dont need to call `attrTransform()` in compilable-mark
-- **@visactor/vchart**: remove getStatisticsDomain()
-- **@visactor/vchart**: dont call bounds calculate when user specify width/height of components
-
-[more detail about v1.7.0](https://github.com/VisActor/VChart/releases/tag/v1.7.0)
-
-# v1.6.7
-
-2023-11-21
-
-**🐛 fix**
-
-- **@visactor/wx-vchart**: fixed package delivery error issue, fixed [#1570](https://github.com/VisActor/VChart/issues/1570) , PR in [#1571](https://github.com/VisActor/VChart/pull/1571)
-
-[more detail about v1.6.7](https://github.com/VisActor/VChart/releases/tag/v1.6.7)
-
-# v1.6.6
-
-2023-11-21
-
-**🐛 fix**
-
-- **@visactor/vchart**: fix chart screen remains when using updateSpecSync, details in [#1421](https://github.com/VisActor/VChart/issues/1421)
-- **@visactor/vchart**: is mouse click in empty region, the hover shape should reset, fixed [#1538](https://github.com/VisActor/VChart/issues/1538)
-
-[more detail about v1.6.6](https://github.com/VisActor/VChart/releases/tag/v1.6.6)
-
-# v1.6.5
-
-2023-11-17
-
-**🆕 feat**
-
-- **@visactor/vchart**: add `skipFunctionDiff` in react-vchart to skip difference of functions
-
-**🐛 fix**
-
-- **@visactor/vchart**: dimension click not effect after update spec. fix [#1532](https://github.com/VisActor/VChart/issues/1532)
-
-[more detail about v1.6.5](https://github.com/VisActor/VChart/releases/tag/v1.6.5)
-
-# v1.6.4
-
-2023-11-16
-
-**🐛 fix**
-
-- **@visactor/vchart**: fixed the problem of unreasonable automatic indentation being triggered after modifying the axis range in datazoom
-- **@visactor/vchart**: default realtime not effect in scrollbar and datazoom. fix [#1462](https://github.com/VisActor/VChart/issues/1462)
-- **@visactor/vchart**: filter mode error when roam in scrollbar and datazoom. fix [#1460](https://github.com/VisActor/VChart/issues/1460)
-- **@visactor/lark-vchart**: fix `options` can not work in lark-vchart, wx-vchart
-- **@visactor/wx-vchart**: fix `options` can not work in lark-vchart, wx-vchart
-- **@visactor/vchart**: `legendItemHover` and `legendItemUnHover` should trigger once, https://github.com/VisActor/VRender/pull/678
-
-**⚡ perf**
-
-- **@visactor/vchart**: optimize the dataflow of sankey
-
-[more detail about v1.6.4](https://github.com/VisActor/VChart/releases/tag/v1.6.4)
-
-# v1.6.3
-
-2023-11-10
-
-**🐛 fix**
-
-- **@visactor/vchart**: fix the issue of update animation not work for line mark
-- **@visactor/vchart**: update vgrammar to ~0.8.3 to fix the issue that, vrender should not auto render during renderAsync
-- **@visactor/vchart**: fix the error when quick release vchart during async render
-- **@visactor/vchart**: tooltip value is forced to wrap when the user globally configures css overflow-warp, related [#1446](https://github.com/VisActor/VChart/issues/1446)
-- **@visactor/vchart**: fix: svg model's id should be uniq, fixed [#1422](https://github.com/VisActor/VChart/issues/1422), [#1442](https://github.com/VisActor/VChart/issues/1442)
-- **@visactor/vchart**: fix: empty string should not be a valid number, fix [#1463](https://github.com/VisActor/VChart/issues/1463)
-
-**⚡ perf**
-
-- **@visactor/vchart**: optimize the encode performance of sankey
-
-[more detail about v1.6.3](https://github.com/VisActor/VChart/releases/tag/v1.6.3)
-
-# v1.6.2
-
-2023-11-08
-
-**🐛 fix**
-
-- **@visactor/vchart**: tooltip value is forced to wrap when the user globally configures css overflow-warp, related [#1446](https://github.com/VisActor/VChart/issues/1446)
-
-[more detail about v1.6.2](https://github.com/VisActor/VChart/releases/tag/v1.6.2)
-
-# v1.6.1
-
-2023-11-08
-
-**🆕 feat**
-
-- **@visactor/vchart**: label formatMethod callback add context parmas to provide series object
-- **@visactor/vchart**: add components `
` and `` of react-vchart, close [#1424](https://github.com/VisActor/VChart/issues/1424)
-
-**🐛 fix**
-
-- **@visactor/vchart**: `centroidProperty` not work in map chart
-- **@visactor/vchart**: fix incorrect legend filter result caused by animation in [#1403](https://github.com/VisActor/VChart/issues/1403)
-- **@visactor/vchart**: if layout item is invisible, do not participate in grid layout, related [#1425](https://github.com/VisActor/VChart/issues/1425)
-- **@visactor/vchart**: aggregation return value infinity problem. fix[#1380](https://github.com/VisActor/VChart/issues/1380)'
-
-[more detail about v1.6.1](https://github.com/VisActor/VChart/releases/tag/v1.6.1)
-
-# v1.6.0
-
-2023-11-03
-
-**🆕 feat**
-
-- **@visactor/vchart**: add bar background mark for bar-like series, related [#1154](https://github.com/VisActor/VChart/issues/1154)
-- **@visactor/vchart**: add `updateElement` callback in tooltip spec to configure custom tooltip DOM elements based on the default tooltip handler, related [#1338](https://github.com/VisActor/VChart/issues/1338)
-- **@visactor/vchart**: enable exit animation while updating data
-- **@visactor/vchart**: support functional label.position config in line/area/scatter/bar series
-- **@visactor/vchart**: load browser or node env code dynamically
-- **@visactor/vchart**: dataScheme supports configuration by distinguishing series directions, related [#1209](https://github.com/VisActor/VChart/issues/1209)
-- **@visactor/vchart**: data sampling & point overlap. close [#460](https://github.com/VisActor/VChart/issues/460)
-- **@visactor/taro-vchart**: support weapp
-
-**🐛 fix**
-
-- **@visactor/vchart**: react-vchart mode not work
-- **@visactor/vchart**: optimize the trigger of hover in non-browser env
-- **@visactor/vchart**: if series mark is line, return stroke value when user want fill value, fixed [#1388](https://github.com/VisActor/VChart/issues/1388)
-- **@visactor/vchart**: fix the angle offset in rose dimension tooltip, related [#1263](https://github.com/VisActor/VChart/issues/1263)
-
-**⚡ perf**
-
-- **@visactor/vchart**: create Stack and calculate stack attributes when need
-
-[more detail about v1.6.0](https://github.com/VisActor/VChart/releases/tag/v1.6.0)
-
-# v1.5.4
-
-2023-10-30
-
-**🐛 fix**
-
-- **@visactor/vchart**: unexpected funnel transform ratio label, see [#1348](https://github.com/VisActor/VChart/issues/1348)
-- **@visactor/vchart**: tooltip value label clipped on lark mini app, related [#1346](https://github.com/VisActor/VChart/issues/1346)
-
-[more detail about v1.5.4](https://github.com/VisActor/VChart/releases/tag/v1.5.4)
-
-# v1.5.3
-
-2023-10-27
-
-**🆕 feat**
-
-- **@visactor/vchart**: support the exportCanvas api of vchart
-
-**🐛 fix**
-
-- **@visactor/vchart**: sankey chart downstream highlight, related [#1269](https://github.com/VisActor/VChart/issues/1269)
-- **@visactor/vchart**: slove first select not effect problem. fix [#1129](https://github.com/VisActor/VChart/issues/1129)
-- **@visactor/vchart**: new layout method for circle axis label, related [#1123](https://github.com/VisActor/VChart/issues/1123)
-- **@visactor/vchart**: change default zIndex of axis in gauge chart, related [#1122](https://github.com/VisActor/VChart/issues/1122)
-- **@visactor/vchart**: datazoom location error when resize. fix [#520](https://github.com/VisActor/VChart/issues/520)
-- **@visactor/vchart**: slove event off error after release
-- **@visactor/vchart**: fix the issue where invalidType of scatter chart checks x and y at the same time
-- **@visactor/vchart**: fix the issue in markline as min/max aggr result is not correct, see [#1261](https://github.com/VisActor/VChart/issues/1261)
-- **@visactor/vchart**: fix: fix the issue that the map tooltip title does not display the name from nameMap, see [#1260](https://github.com/VisActor/VChart/issues/1260)
-- **@visactor/vchart**: sankey supports string value
-- **@visactor/vchart**: fix the issue of crosshair can not trigger in weapp, fixed [#1322](https://github.com/VisActor/VChart/issues/1322)
-
-[more detail about v1.5.3](https://github.com/VisActor/VChart/releases/tag/v1.5.3)
-
-# v1.5.2
-
-2023-10-24
-
-**🆕 feat**
-
-- **@visactor/vchart**: support the exportCanvas api of vchart
-
-**🐛 fix**
-
-- **@visactor/vchart**: new layout method for circle axis label, related [#1123](https://github.com/VisActor/VChart/issues/1123)
-- **@visactor/vchart**: change default zIndex of axis in gauge chart, related [#1122](https://github.com/VisActor/VChart/issues/1122)
-- **@visactor/vchart**: datazoom location error when resize. fix [#520](https://github.com/VisActor/VChart/issues/520)
-- **@visactor/vchart**: fix the issue in markline as min/max aggr result is not correct, see [#1261](https://github.com/VisActor/VChart/issues/1261)
-- **@visactor/vchart**: fix: fix the issue that the map tooltip title does not display the name from nameMap, see [#1260](https://github.com/VisActor/VChart/issues/1260)
-
-[more detail about v1.5.2](https://github.com/VisActor/VChart/releases/tag/v1.5.2)
-
-# v1.5.1
-
-2023-10-20
-
-**🆕 feat**
-
-- **@visactor/vchart**: support correlation Chart
-- **@visactor/vchart**: add getGraphicBounds api in layoutItem to support get graphic size
-- **@visactor/vchart**: optimize the autoindent logic in layout to ensure padding effect is correct
-- **@visactor/vchart**: support `centroidProperty` in map series
-- **@visactor/vchart**: scrollbar enhance zoom & drag & scroll. close [#965](https://github.com/VisActor/VChart/issues/965)
-- **@visactor/vchart**: datazoom enhance zoomLock & span config. close [#1082](https://github.com/VisActor/VChart/issues/1082)
-- **@visactor/vchart**: supply the attributeContext params for customMark's attribute callback
-- **@visactor/vchart**: provide afterLayout event to support users to modify layout effects
-- **@visactor/vchart**: provide datum in the params of `updateContent` callback of tooltip, related [#1244](https://github.com/VisActor/VChart/issues/1244)
-- **@visactor/vchart**: add the default theme (light, dark) of markLine, markArea and funnel series
-- **@visactor/vchart**: support load environment code on demand
-
-**🐛 fix**
-
-- **@visactor/vchart**: optimized the display of `padAngle` in the gauge series and changed the unit of `padAngle` to angle, related [#1215](https://github.com/VisActor/VChart/issues/1215)
-- **@visactor/vchart**: link 'adjacency' interaction highlighting effect of Sankey Chart is wrong, [#1121](https://github.com/VisActor/VChart/issues/1121)
-- **@visactor/vchart**: fix the issue of boxplot outlier animation will throw error
-- **@visactor/vchart**: fix the duplicate event registration in scrollbar, fixed[#1241](https://github.com/VisActor/VChart/issues/1241)
-
-**🔨 refactor**
-
-- **@visactor/vchart**: add register function for chart/series/component to collect side effect code
-- **@visactor/vchart**: add register function for animation
-
-[more detail about v1.5.1](https://github.com/VisActor/VChart/releases/tag/v1.5.1)
-
-# v1.4.3
-
-2023-10-17
-
-**🆕 feat**
-
-- **@visactor/vchart**: brush state proxy to state spec
-
-**🐛 fix**
-
-- **@visactor/vchart**: fix when the legend item only has stroke it cannot be consistent with the graphic color, details in [#1147](https://github.com/VisActor/VChart/issues/1147)
-
-[more detail about v1.4.3](https://github.com/VisActor/VChart/releases/tag/v1.4.3)
-
-# v1.4.2
-
-2023-10-12
-
-**🆕 feat**
-
-- **@visactor/vchart**: gauge series supports label component, related [#1039](https://github.com/VisActor/VChart/issues/1039)
-- **@visactor/vchart**: add static tools in `VChart.Utils`
-- **@visactor/vchart**: supports afterResize and afterRender events
-- **@visactor/vchart**: add new config `autoWidth` to the tooltip label style, related [#688](https://github.com/VisActor/VChart/issues/688)
-
-**🐛 fix**
-
-- **@visactor/vchart**: `tooltipRelease` event may be invalid when being released by VTable
-- **@visactor/vchart**: select error when setting brush. fix [#1129](https://github.com/VisActor/VChart/issues/1129)
-- **@visactor/vchart**: optimize the default performance of the long tooltip title, related [#688](https://github.com/VisActor/VChart/issues/688)
-- **@visactor/vchart**: if `markLine` is empty like `{}` or `[]`, it should not create marker component
-- **@visactor/vchart**: fix the issue when use `positions` to create marker component, fixed [#1084](https://github.com/VisActor/VChart/issues/1084)
-- **@visactor/vchart**: auto visible with linear axis. fix [#1118](https://github.com/VisActor/VChart/issues/1118)
-
-[more detail about v1.4.2](https://github.com/VisActor/VChart/releases/tag/v1.4.2)
-
-# v1.4.1
-
-2023-09-27
-
-**🆕 feat**
-
-- **@visactor/vchart**: optimize updateSpec to avoid additional theme updates
-
-**🐛 fix**
-
-- **@visactor/vchart**: fix updateViewBox api will fail after resize
-- **datazoom**: fix bounds error when there is no preview chart. fix [#1050](https://github.com/VisActor/VChart/issues/1050)
-- **@visactor/vchart**: the rose chart's first sector's startAngle should start from polar coordinate's startAngle, fix [#900](https://github.com/VisActor/VChart/issues/900)
-- **@visactor/vchart**: fix `theme.fontFamily` can not work
-- **@visactor/vchart**: fix the problem that updateFullData cannot update data in series
-
-[more detail about v1.4.1](https://github.com/VisActor/VChart/releases/tag/v1.4.1)
-
-# v1.4.0
-
-2023-09-25
-
-**🆕 feat**
-
-- **@visactor/vchart**: add scrollbar layout spec to sequence. close [#792](https://github.com/VisActor/VChart/issues/792)
-- **@visactor/vchart**: linear axis support `tooltipFilterRange` to configure the relative data range of dimension tooltip, related [#933](https://github.com/VisActor/VChart/issues/933)
-- **@visactor/vchart**: add vchart to context in params of mark function style
-- **@visactor/vchart**: add default dark theme for scrollBar
-- **@visactor/vchart**: add configure items `bandSize`, `maxBandSize`, `minBandSize` to the spec of band axis, related [#263](https://github.com/VisActor/VChart/issues/263)
-- **@visactor/vchart**: support `barMinHeight` for bar series, relate [#722](https://github.com/VisActor/VChart/issues/722)
-- **@visactor/vchart**: enhance default wordcloud appear animation, details in [#675](https://github.com/VisActor/VChart/issues/675)
-- **@visactor/vchart**: tick mask support for polar progress-like charts, related [#596](https://github.com/VisActor/VChart/issues/596)
-- **@visactor/vchart**: pie label line support smooth
-- **@visactor/vchart**: support custom callback for tickCount, see [#951](https://github.com/VisActor/VChart/issues/951)
-- **@visactor/vchart**: support `label.confine` for markLine and markPoint to auto adjust label's position, relate https://github.com/VisActor/VChart/issues/699
-- **@visactor/vchart**: support `minAngle` for pie chart, relate [#738](https://github.com/VisActor/VChart/issues/738)
-- **@visactor/vchart**: disable label animation as default in map series
-- **@visactor/vchart**: increase chart stacking capabilities, provide stackValue to support independent stacking of multiple series
-- **@visactor/vchart**: increase chart stacking capabilities, provide stackInverse support for stacking in reverse order
-- **@visactor/vchart**: support `scaleCenter` attribute for mark, see [#781](https://github.com/VisActor/VChart/issues/781)
-- **@visactor/vchart**: provide updateModelSpec api, so that users can update the configuration of a chart module individually
-- **@visactor/vchart**: supports deleting all events of the corresponding type without passing through the handler when calling off
-- **@visactor/vchart**: tooltip supports custom shape type, related [#496](https://github.com/VisActor/VChart/issues/496)
-- **@visactor/vchart**: tooltip supports custom `spaceRow` for each line, related [#949](https://github.com/VisActor/VChart/issues/949)
-- **@visactor/vchart**: tooltip supports custom fixed position relative to the cursor, related [#541](https://github.com/VisActor/VChart/issues/541)
-- **@visactor/vchart**: fix issue about updateSpec not work with only data change, details in [#912](https://github.com/VisActor/VChart/issues/912)
-- **@visactor/vchart**: support wx env
-- **@visactor/vchart**: remove compatibility code of threshold
-- **@visactor/vchart**: access label in map series
-
-**🐛 fix**
-
-- **@visactor/vchart**: when stack is false and no `fieldX2` or `fieldY2`, `dataToPositionX1` and `dataToPositionY1` should use 0, close [#647](https://github.com/VisActor/VChart/issues/647)
-- **@visactor/vchart**: label stroke should follow default color when stroke is set to null, detail see [#985](https://github.com/VisActor/VChart/issues/985)
-- **@visactor/vchart**: `offsetX` and `offsetY` can not work in mark component
-- **@visactor/vchart**: sankey chart support color config'
-- **@visactor/vchart**: style not effect when set mark hover. fix [#976](https://github.com/VisActor/VChart/issues/976)
-- **@visactor/vchart**: tooltipHide event may be inavailable when the computer runs slow
-- **@visactor/vchart**: chart pass-through serDataByAxis config to series
-- **@visactor/vchart**: when call updateSpec, the prev scrollbar had not been clear, relate [#1044](https://github.com/VisActor/VChart/issues/1044)
-- **@visactor/vchart**: add protect for this.\_spec, fixed [#1045](https://github.com/VisActor/VChart/issues/1045)
-- **@visactor/vchart**: fix the issue of `seriesId` does not work in legends, closed [#910](https://github.com/VisActor/VChart/issues/910)
-- **@visactor/vchart**: state scale domain error when domain is locked. fix [#629](https://github.com/VisActor/VChart/issues/629)
-- **@visactor/vchart**: fix unoff event when passing through handler
-- **@visactor/vchart**: fix userEvent is added multiple times
-- **@visactor/vchart**: line and area mark should set closePath default, fix [#654](https://github.com/VisActor/VChart/issues/654)
-- **@visactor/vchart**: fix the issue of radar area's invalidType not work, fixed [#867](https://github.com/VisActor/VChart/issues/867)
-- **@visactor/vchart**: fix invalidType not working after invoking updataDataSync, details in [#1057](https://github.com/VisActor/VChart/issues/1057)
-- **@visactor/vchart**: marker don not render after updateData. fix [#882](https://github.com/VisActor/VChart/issues/882)
-- **@visactor/vchart**: fix the issue of markLine symbol.size not work
-- **@visactor/vchart**: optimize the layout of normal-inline, fixed [#989](https://github.com/VisActor/VChart/issues/989)
-- **@visactor/vchart**: do the product of this.\_spec, fixed [#1062](https://github.com/VisActor/VChart/issues/1062)
-- **@visactor/vchart**: fix the issue of progress layout in multi-region
-- **@visactor/vchart**: render error when dot and link data is empty. fix [#1019](https://github.com/VisActor/VChart/issues/1019)
-- **@visactor/vchart**: fontsize renge not effect with no value field. fix [#522](https://github.com/VisActor/VChart/issues/522)
-- **@visactor/vchart**: lock crosshair label to uninteractive, because it will affect axis label's event pick
-- **@visactor/vchart**: fix the issue of reading onError of null option in [#915](https://github.com/VisActor/VChart/issues/915)
- **🔨 refactor**
-- **@visactor/vchart**: split the updateSpec of life cycle to spec transform & compare
-- **@visactor/vchart**: remove unused code, and transform ticks transform to vutils-extension
-- **@visactor/vchart**: unify the clear of component
-- **@visactor/vchart**: seperate grid from axis for better layer control
-- **@visactor/vchart**: use @visctor/vgrammar-core to replace @visctor/vgrammar
-
-[more detail about v1.4.0](https://github.com/VisActor/VChart/releases/tag/v1.4.0)
-
-# v1.3.4
-
-2023-09-20
-
-**🐛 fix**
-
-- **@visactor/vchart**: circularProgress chart may throw error when executing `updateSpec`, related [#994](https://github.com/VisActor/VChart/issues/994)
-- **@visactor/vchart**: the theme in spec does not update correctly when executing `updateSpec`, related [#996](https://github.com/VisActor/VChart/issues/996)
-- **@visactor/vchart**: `track` in spec is not working in circularProgress charts, related [#600](https://github.com/VisActor/VChart/issues/600)
-- **@visactor/vchart**: fix the error triggered by chart updateSpec, fixed [#988](https://github.com/VisActor/VChart/issues/988), [#1002](https://github.com/VisActor/VChart/issues/1002)
-- **@visactor/vchart**: fix the issue of player component updateSpec, fixed [#967](https://github.com/VisActor/VChart/issues/967)
-
-[more detail about v1.3.4](https://github.com/VisActor/VChart/releases/tag/v1.3.4)
-
-# v1.3.3
-
-2023-09-18
-
-**🐛 fix**
-
-- **@visactor/vchart**: fix the issue of player component updateSpec, fixed [#967](https://github.com/VisActor/VChart/issues/967)
-
-[more detail about v1.3.3](https://github.com/VisActor/VChart/releases/tag/v1.3.3)
-
-# v1.3.2
-
-2023-09-14
-
-**🆕 feat**
-
-- **@visactor/vchart**: the setDimensionIndex api supports deselecting ability by passing in null
-- **@visactor/vchart**: use precision calculations in waterfall charts to avoid unexpected values for labels, details in [#721](https://github.com/VisActor/VChart/issues/721)
-- **@visactor/vchart**: interactive default config.
-
-**🐛 fix**
-
-- **@visactor/vchart**: log scale has no result about zero when bar stack has a zero baseline value. fix [#634](https://github.com/VisActor/VChart/issues/634)
-- **@visactor/vchart**: fix the user event listener becomes invalid after updateSpec
-- **@visactor/vchart**: fix bug of series mark static style are not updated when updateSpec
-- **@visactor/vchart**: fix bug data fields are not updated when updateSpec, details in [#829](https://github.com/VisActor/VChart/issues/829)
-- **@visactor/vchart**: fix the issue of animation config not work in common chart, related [#814](https://github.com/VisActor/VChart/issues/814)
-
-**⚡ perf**
-
-- **@visactor/vchart**: optimize the performance of dimension-statistics
-- **@visactor/vchart**: only calculate dimensionTree when need
-
-[more detail about v1.3.2](https://github.com/VisActor/VChart/releases/tag/v1.3.2)
-
-# v1.3.1
-
-2023-09-05
-
-**🆕 feat**
-
-- **@visactor/vchart**: `lineHeight` supports string proportional values, related [#744](https://github.com/VisActor/VChart/issues/744)
-- **@visactor/vchart**: upgrade vdataset for clone source data when call updateData
-
-**🐛 fix**
-
-- **@visactor/vchart**: move \'SeriesMarkNameEnum\' to single file, solve the issue of codesandbox can not work, it looks like an error in the Codesandbox' bundler, see https://github.com/codesandbox/codesandbox-client/issues/6435
-- **@visactor/vchart**: fix sortDataByAxis not work after updateData
-- **@visactor/vchart**: fix the issue of legend does not update after updateData, fix [#769](https://github.com/VisActor/VChart/issues/769)
-- **@visactor/vchart**: fix the issue of legend's maxHeight not work
-- **@visactor/vchart**: the issue of pie chart with null value, fixed https://github.com/VisActor/VChart/issues/748
-- **@visactor/vchart**: fix the problem that the pie chart draws a full circle when the data is all 0, because the endAngle of the last piece of data is forced to configure the endAngle of polar coordinates
-- **@visactor/vchart**: fix the issue of `seriesIndex` not work in discrete legend, see [#732](https://github.com/VisActor/VChart/issues/732)
-
-[more detail about v1.3.1](https://github.com/VisActor/VChart/releases/tag/v1.3.1)
+# v1.11.7
+
+2024-07-06
+
+**🆕 New feature**
+
+- **@visactor/vchart**: support configuring callback function in indicator text style attributes, related [#2540](https://github.com/VisActor/VChart/issues/2540)
+- **@visactor/vchart**: add options hideTimer in tooltip, to hide tooltip by timer
+- **@visactor/vchart**: support updateIndicatorDataById/updateIndicatorDataByIndex API, related [#2776](https://github.com/VisActor/VChart/issues/2776)
+- **@visactor/vchart**: add userUpdateOptions to let user specify update type of charts, fix some animation bug
+
+**🐛 Bug fix**
+
+- **barbackground**: datakey is undefined when set custom datakey fix[#2908](https://github.com/VisActor/VChart/issues/2908)
+- **@visactor/vchart**: fix the issue where barMaxWidth does not work when barWidth is configured, fix[#2885](https://github.com/VisActor/VChart/issues/2885)
+- **@visactor/vchart**: line/area clip animation by incorrect direction
+- **crosshair**: fix bug of crosshair position when legend filter data. fix fix[#2905](https://github.com/VisActor/VChart/issues/2905)
+- **@visactor/vchart**: fix polar animation logic for radar charts
+- **@visactor/vchart**: type define fix
+
+[more detail about v1.11.7](https://github.com/VisActor/VChart/releases/tag/v1.11.7)
+
+# v1.11.6
+
+2024-06-27
+
+**🐛 Bug fix**
+
+- **@visactor/vchart**: background of chart should support gradient color
+- **animation**: rose animation not work when update twice. fix[#2856](https://github.com/VisActor/VChart/issues/2856)
+- **@visactor/vchart**: fix the type of `ITooltipTheme`, fix [#2850](https://github.com/VisActor/VChart/issues/2850)
+- **@visactor/vchart**: fix the issue of update animation not executed when updateSpec, [#2835](https://github.com/VisActor/VChart/issues/2835) [#2836](https://github.com/VisActor/VChart/issues/2836)
+
+[more detail about v1.11.6](https://github.com/VisActor/VChart/releases/tag/v1.11.6)
+
+# v1.11.5
+
+2024-06-21
+
+**🆕 New feature**
+
+- **@visactor/vchart**: add option `style.align` of Tooltip, support RTL tooltip
+-
+
+**🐛 Bug fix**
+
+- **@visactor/vchart**: optimize discrete legend pager color in dark theme, related [#2654](https://github.com/VisActor/VChart/issues/2654)
+- **@visactor/vchart**: fix the issue issue with stacked waterfall charts where positive and negative values were not stacked separately when there were both positive and negative values in the same stack, fix [#2212](https://github.com/VisActor/VChart/issues/2212)
+
+[more detail about v1.11.5](https://github.com/VisActor/VChart/releases/tag/v1.11.5)
+
+# v1.11.4
+
+2024-06-18
+
+**🐛 Bug fix**
+
+- **@visactor/vchart**: fix bug of `updateSpec` when has `scales`, close [#2744](https://github.com/VisActor/VChart/issues/2744)
+- **@visactor/vchart**: gauge chart might throw error when the value is close to its maximum, fix [#2783](https://github.com/VisActor/VChart/issues/2783)
+- **@visactor/vchart**: fix the behavior of the gauge pointer when it exceeds the axis range, fix [#2780](https://github.com/VisActor/VChart/issues/2780)
+- **@visactor/vchart**: normal animation not work when appear animation is disabled, fix [#2807](https://github.com/VisActor/VChart/issues/2807)
+- **@visactor/vchart**: upgrade vrender to 0.19.10, vgrammar to 0.13.9
+
+[more detail about v1.11.4](https://github.com/VisActor/VChart/releases/tag/v1.11.4)
+
+# v1.11.3
+
+2024-06-06
+
+**🆕 New feature**
+
+- **@visactor/vchart**: add option `showBackgroundChart` of DataZoom
+
+**🐛 Bug fix**
+
+- **@visactor/vchart**: bar chart should work normally when x-axis is linear, fix [#2758](https://github.com/VisActor/VChart/issues/2758)
+- **@visactor/vchart**: fix issue of continuous legend filter in treemap
+- **@visactor/vchart**: fixed the issue that the newly added component type could not take effect when updateSpec
+- **@visactor/vchart**: fixed `setSelected` of sankey chart, fix [#2757](https://github.com/VisActor/VChart/issues/2757) , fix [#2765](https://github.com/VisActor/VChart/issues/2765)
+
+[more detail about v1.11.3](https://github.com/VisActor/VChart/releases/tag/v1.11.3)
+
+# v1.11.2
+
+2024-05-30
+
+**🐛 Bug fix**
+
+- **@visactor/vchart**: fix the bug that `animationThreshold` not work, close [#2745](https://github.com/VisActor/VChart/issues/2745)
+- **@visactor/vchart**: fix the issue of update animation in area chart is not work
+- **common**: bar series support auto band size in common chart. fix[#2704](https://github.com/VisActor/VChart/issues/2704)
+- **@visactor/vchart**: corsshair should hide when pointer out view, fix [#2726](https://github.com/VisActor/VChart/issues/2726)
+- **@visactor/vchart**: close animation cause by datazoom/scrollbar
+- **@visactor/vchart**: \`type-step\` markLine's label should consider the refX/refY/dx/dy set by user, fixed[#2739](https://github.com/VisActor/VChart/issues/2739)
+- **react-vchart**: fix the issue of `` that the props `id` not work
+- **@visactor/vchart**: `polarAxis.grid.smooth` not work in theme configuratio
+
+**🔧 Configuration releated**
+
+- **@visactor/vchart**: when build es5 , `targets` of `@babel/preset-env` should be `defaults`, fix [#2702](https://github.com/VisActor/VChart/issues/2702)
+
+[more detail about v1.11.2](https://github.com/VisActor/VChart/releases/tag/v1.11.2)
+
+# v1.11.1
+
+2024-05-21
+
+**🆕 New feature**
+**marker**:mark-point support arc line and targetSymbol.close [#2590](https://github.com/VisActor/VChart/issues/2590)
+**@visactor/vchart**:add new options followTooltip to crosshair
+**🐛 Bug fix**
+**@visactor/vchart**:fix the issue of missing defaultDataIndex in extensionMarks
+**@visactor/vchart**:fix error of empty spec, fix[#1193](https://github.com/VisActor/VChart/issues/1193)
+**@visactor/vchart**:fix the error caused by renderNextTick after release
+**@visactor/vchart**: layout-model should read layoutLevel in spec, and dont create layoutItem for hidden components, related[#1674](https://github.com/VisActor/VChart/issues/1674)
+**@visactor/vchart**:when marker's spec update, it should update when call vchart.updateSpec
+**@visactor/vchart**:fix effect of sampling when flush is true, fix [#2272](https://github.com/VisActor/VChart/issues/2272)
+**@visactor/vchart**:fix the api valueToPositionX and valueToPositionY of sankey
+**@visactor/vchart**: sankey should color by seriesField, fix[#2678](https://github.com/VisActor/VChart/issues/2678)
+**@visactor/vchart**:fix bug of setDimensionIndex when axis is linear
+**@visactor/vchart**:fix issue with import registerTTEnv
+**@visactor/vchart**:fix issue with taro tt env, closed[#2648](https://github.com/VisActor/VChart/issues/2648)
+**@visactor/vchart**:fix error of call updateFullDataSync() before renderSync(), fix [#2655](https://github.com/VisActor/VChart/issues/2655)
+**📖 docs**
+**@visactor/vchart**:add custom animate doc
+**@visactor/vchart**:perfect document for react-lynx-vchart
+
+[more detail about v1.11.1](https://github.com/VisActor/VChart/releases/tag/v1.11.1)
+
+# v1.11.0
+
+2024-05-08
+
+**🆕 New feature**
+
+- **@visactor/vchart**: support `animation` config of custom-mark
+- **@visactor/vchart**: legend should keep unselected when update spec or data, fix [#2531](https://github.com/VisActor/VChart/issues/2531), related [#2443](https://github.com/VisActor/VChart/issues/2443)
+- **marker**: marker enhance about state and animation and support polar and geo axis. close[#1165](https://github.com/VisActor/VChart/issues/1165)
+- **marker**: add interactive event listener of marker. close[#2248](https://github.com/VisActor/VChart/issues/2248)
+- **marker**: add config about custom data of all relative series. close[#2183](https://github.com/VisActor/VChart/issues/2183)
+- **@visactor/vchart**: support data update when spec is same in react-vchart
+- **@visactor/vchart**: support `softMin` and `softMax` in linear-axis, close [#2498](https://github.com/VisActor/VChart/issues/2498)
+- **@visactor/vchart**: add new properties `tooltipSpec` and `tooltipActual` to tooltip event params, related [#2454](https://github.com/VisActor/VChart/issues/2454)
+- **@visactor/vchart**: add `othersLine` to customize the the "Others" line content displayed after the tooltip content exceeds the maximum number of displayed lines
+- **@visactor/vchart**: the new chart type venn chart, related [#2144](https://github.com/VisActor/VChart/issues/2144)
+- **@visactor/vchart**: enhanced capabilities for waterfall chart total label
+- **@visactor/vchart**: add api of `clearState()`, `clearSelected()`, `clearHovered()`, fix [#2552](https://github.com/VisActor/VChart/issues/2552)
+- **@visactor/vchart**: support `simplify.tolerance` config in `registerMap` API
+
+**🐛 Bug fix**
+
+- **wordCloud**: wordCloud layout error and color scale error when updateData. fix[#2605](https://github.com/VisActor/VChart/issues/2605)'
+- **@visactor/vchart**: fix error of position when update viewBox
+- **scroll**: scroll not work in ios. fix[#1224](https://github.com/VisActor/VChart/issues/1224)
+- **@visactor/vchart**: fix range-column-chart spec
+- **marker**: fix mark point position about offset. fix[#2579](https://github.com/VisActor/VChart/issues/2579)
+- **@visactor/vchart**: extension-mark should update when data is update
+- **@visactor/vchart**: duplicated categoryField data in funnel will result to unexpected rendering result
+- **@visactor/vchart**: the x-axis and y-axis of scatter can be band-axis
+- **@visactor/vchart**: vchart should not remake of same spec
+- **@visactor/vchart**: fixed the problem that when the label of the sankey chart is hidden, an error will be reported when clicking on the blank space
+- **@visactor/vchart**: fix the issue of scatter when the legend switch visible encode, close [#2625](https://github.com/VisActor/VChart/issues/2625)
+- **@visactor/vchart**: fix the trigger off of default select interactions
+
+**🔨 Refactor**
+
+- **@visactor/vchart**: react-vchart will require component by need by default
+- **@visactor/vchart**: remove built-in simplify data transform
+
+**🔧 Configuration releated**
+
+- **@visactor/vchart**: upgrade dependencies
+
+[more detail about v1.11.0](https://github.com/VisActor/VChart/releases/tag/v1.11.0)
+
+# v1.10.6
+
+2024-05-08
+
+**🆕 New feature**
+
+- **@visactor/vchart**: enhanced capabilities for waterfall chart total label
+
+**🐛 Bug fix**
+
+- **wordCloud**: wordCloud layout error and color scale error when updateData. fix [#2605](https://github.com/VisActor/VChart/issues/2605)
+- **@visactor/vchart**: fix error of position when update viewBox
+- **scroll**: scroll not work in ios. fix[#1224](https://github.com/VisActor/VChart/issues/1224)
+- **@visactor/vchart**: fix range-column-chart spec
+- **@visactor/vchart**: duplicated categoryField data in funnel will result to unexpected rendering result
+- **@visactor/vchart**: fixed the problem that when the label of the sankey chart is hidden, an error will be reported when clicking on the blank space
+- **@visactor/vchart**: fix the issue of scatter when the legend switch visible encode, close [#2625](https://github.com/VisActor/VChart/issues/2625)
+- **@visactor/vchart**: fix the trigger off of default select interactions
+
+[more detail about v1.10.6](https://github.com/VisActor/VChart/releases/tag/v1.10.6)
+
+# v1.10.5
+
+2024-04-26
+
+**🆕 New feature**
+
+- **@visactor/vchart**: player support play when hidden. feat[#2524](https://github.com/VisActor/VChart/issues/2524)
+
+**🐛 Bug fix**
+
+- **datazoom**: when drag start and end handler outside, min and max span not work. fix[#2559](https://github.com/VisActor/VChart/issues/2559)
+- **@visactor/vchart**: fix domain of continuous legend when specify seriesId or seriesIndex
+- **@visactor/vchart**: fix eventsBinded update in react-vchart
+- **scrollbar**: label position not align with mark. fix[#2534](https://github.com/VisActor/VChart/issues/2534)
+- **scrollbar**: enable bubble when scroll to boundary. fix[#2521](https://github.com/VisActor/VChart/issues/2521)
+- **@visactor/vchart**: fix error of update theme when series reduce
+
+**⚡ Performance optimization**
+
+- **@visactor/vchart**: optimize the performance of pie chart, fix [#2568](https://github.com/VisActor/VChart/issues/2568)
+
+[more detail about v1.10.5](https://github.com/VisActor/VChart/releases/tag/v1.10.5)
+
+# v1.10.4
+
+2024-04-03
+
+**🆕 New feature**
+
+- **@visactor/vchart**: increase chart stacking capabilities, provide `stackSort` to support sorting when stacking
+
+**🐛 Bug fix**
+
+- **@visactor/vchart**: axis unit in wrong position when hiding the axis domainLine
+- **@visactor/vchart**: fix issue of the order of data is not uniform in stack
+- **@visactor/vchart**: type defination of markArea & markPoint in common chart
+- **@visactor/vchart**: formatMethod of crosshair label runs multiple times (Tip: After fixing it, the process of retaining two decimal places in the crosshair label has been changed to the default formatMethod. After replacing the formatMethod, users will no longer retain decimal places), related [#2501](https://github.com/VisActor/VChart/issues/2501)
+- **@visactor/vchart**: crosshair can't move when axis domain is very small, related [#2492](https://github.com/VisActor/VChart/issues/2492)
+- **@visactor/vchart**: `updateDataSync` produces inconsistent results compared to direct drawing, related [#2503](https://github.com/VisActor/VChart/issues/2503)
+
+**🔨 Refactor**
+
+- **@visactor/vchart**: add event params `vchart`, which will updated in lifecycle events, close [#2502](https://github.com/VisActor/VChart/issues/2502)
+
+[more detail about v1.10.4](https://github.com/VisActor/VChart/releases/tag/v1.10.4)
+
+# v1.10.3
+
+2024-03-28
+
+**🆕 New feature**
+
+- **@visactor/vchart**: support interaction events of `element-select` and `element-highlight`
+- **@visactor/vchart**: support `showDefaultName` in map chart to display unmatched name in map data
+
+**🐛 Bug fix**
+
+- **@visactor/vchart**: tooltip cliped if set border width. fix[#2471](https://github.com/VisActor/VChart/issues/2471)
+- **@visactor/vchart**: `lineWidth` is invalid in rect-type-crosshair, related [#2432](https://github.com/VisActor/VChart/issues/2432)
+- **@visactor/vchart**: should use `series.getMarkInName` to get the mark for total label's caculation, fixed [#2448](https://github.com/VisActor/VChart/issues/2448)
+- **@visactor/vchart**: fix the issue of event trigger count after `updateSpecSync()`
+- **@visactor/vchart**: map data will not show if not configured in nameMap
+- **@visactor/vchart**: axis label missing in the sampled angle axis, related [#2439](https://github.com/VisActor/VChart/issues/2439)
+- **@visactor/vchart**: fix radar chart clipAngle animation error when loading on demand.
+- **@visactor/vchart**: fix the release order of \_eventDispatcher
+- **@visactor/vchart**: should use series's \_seriesMark to calculate total mark, not all series mark names are the same as series.type
+
+[more detail about v1.10.3](https://github.com/VisActor/VChart/releases/tag/v1.10.3)
+
+# v1.10.2
+
+2024-03-26
+
+## 🆕 New feat
+
+- **@visactor/vchart**: support interaction events of `element-select` and `element-highlight`
+
+## 🐛 Bug fix
+
+- **@visactor/vchart**: `lineWidth` is invalid in rect-type-crosshair, related [#2432](https://github.com/VisActor/VChart/issues/2432)
+- **@visactor/vchart**: should use `series.getMarkInName` to get the mark for total label's caculation, fixed [#2448](https://github.com/VisActor/VChart/issues/2448)
+- **@visactor/vchart**: fix the issue of event trigger count after `updateSpecSync()`
+- **@visactor/vchart**: fix radar chart clipAngle animation error when loading on demand.
+
+[more detail about v1.10.2](https://github.com/VisActor/VChart/releases/tag/v1.10.2)
+
+# v1.10.0
+
+2024-03-13
+
+**🆕 New feature**
+
+- **@visactor/vchart**: bar chart supports `autoBandSize` to automatically calculate bandSize based on the incoming configuration such as `barWidth`, thereby affecting the actual length of the axis, related [#2268](https://github.com/VisActor/VChart/issues/2268)
+- **@visactor/vchart**: stacked bar chart supports the config `stackCornerRadius` to configure the corner radius of stacked bar groups, releated [#2185](https://github.com/VisActor/VChart/issues/2185)
+- **dataZoom**: enhance when big data and brush releated
+- **dataZoom**: add sampler for preview chart
+- **@visactor/vchart**: support scrollbar in legend
+- **@visactor/vchart**: the theme of the legend supports separate configuration of different themes in different directions, related [#2216](https://github.com/VisActor/VChart/issues/2216)
+- **@visactor/vchart**: react-vchart supports custom tooltip render, related [#2288](https://github.com/VisActor/VChart/issues/2288)
+- **@visactor/vchart**: theme supports for configuring series themes in stack state, related [#2331](https://github.com/VisActor/VChart/issues/2331)
+- **@visactor/vchart**: theme supports custom tokens, related [#2255](https://github.com/VisActor/VChart/issues/2255)
+- **@visactor/vchart**: tooltip supports the same `lockAfterClick` as crosshair, related [#2352](https://github.com/VisActor/VChart/issues/2352)
+- **@visactor/vchart**: `x` & `y` of the tooltip position can be fixed separately, related [#2320](https://github.com/VisActor/VChart/issues/2320)
+- **@visactor/vchart**: add more tooltip shape configs in `tooltip.style` of the chart spec, related [#2292](https://github.com/VisActor/VChart/issues/2292)
+- **@visactor/vchart**: state style of arc marks support `innerPadding` and `outerPadding`, related [#2038](https://github.com/VisActor/VChart/issues/2038)
+- **@visactor/vchart**: register hover/select interaction by default
+- **@visactor/vchart**: remove advanced interaction in simple bundle
+
+**🐛 Bug fix**
+
+- **@visactor/vchart**: enterable tooltip will not hide when mouse moves directly from the tooltip to a non-chart area, related [#2315](https://github.com/VisActor/VChart/issues/2315)
+- **@visactor/vchart**: upgrade version of vgrammar to fix end state of animation
+- **@visactor/vchart**: `tickMask` is invalid in circular progress charts, related [#2316](https://github.com/VisActor/VChart/issues/2316)
+- **@visactor/vchart**: rect crosshair should lock when lockAfterClick is true
+- **@visactor/vchart**: when region style is empty, should not create \_backgroundMark or \_foregroundMark
+- **@visactor/vchart**: fixed the issue of being unable to listen to customMark events on vchart
+- **@visactor/vchart**: grid component should not be pickable expect its children
+- **@visactor/vchart**: events on `` should not trigged twice
+- **@visactor/vchart**: plugin should be released in `release()`
+
+**🔨 Refactor**
+
+- **react-vchart**: refactor react-vchart to support render in strict mode
+
+**🔧 Configuration releated**
+
+- **@visactor/vchart**: use `rimraf` to replace `rm -rf`
+
+[more detail about v1.10.0](https://github.com/VisActor/VChart/releases/tag/v1.10.0)
+
+# v1.9.6
+
+2024-03-11
+
+**🆕 New feature**
+
+- **@visactor/vchart**: support dataKey in CustomMark and ExtensionMark
+- **@visactor/vchart**: support mulity data in waterfal total dimensions
+
+**🐛 Bug fix**
+
+- **@visactor/vchart**: `animationAppear: false` not work
+- **@visactor/vchart**: fix bug that throws error when setting mark style to invlaid value
+- **@visactor/vchart**: fix the issue of duplicate event registration, fixed [#2336](https://github.com/VisActor/VChart/issues/2336)
+- **@visactor/vchart**: fixed the issue of being unable to listen to label and totalLabel component events on vchart, `vchart.on('click', { level: 'model', type: 'label' })`
+- **@visactor/vchart**: optimize totoal label position when axis is inversed
+- **@visactor/vchart**: upgrade vrender to 0.17.27, vgrammar to 0.11.15
+- **scrollbar**: click stopped by zoomable. fix[#2333](https://github.com/VisActor/VChart/issues/2333)
+
+[more detail about v1.9.6](https://github.com/VisActor/VChart/releases/tag/v1.9.6)
+
+# v1.9.5
+
+2024-03-04
+
+**🆕 New feature**
+
+- **@visactor/vchart**: support dataKey in CustomMark and ExtensionMark
+- **@visactor/vchart**: support mulity data in waterfal total dimensions
+
+**🐛 Bug fix**
+
+- **@visactor/vchart**: `animationAppear: false` not work
+- **@visactor/vchart**: optimize totoal label position when axis is inversed
+
+[more detail about v1.9.5](https://github.com/VisActor/VChart/releases/tag/v1.9.5)
+
+# v1.9.3
+
+2024-02-07
+
+**🆕 New feature**
+
+- **@visactor/vchart**: supply pie percent data as `data._percent_`
+
+**🐛 Bug fix**
+
+- **@visactor/vchart**: axis zero not work beacause of collect data. fix[#2226](https://github.com/VisActor/VChart/issues/2226)
+- **@visactor/vchart**: marker area xy layout needs to deal with the problem of empty coordinate points
+- **player**: default attr leades to layout error. fix[#241](https://github.com/VisActor/VChart/issues/241)
+- **@visactor/vchart**: wordcloud support rect shape. fix[#2220](https://github.com/VisActor/VChart/issues/2220)
+
+[more detail about v1.9.3](https://github.com/VisActor/VChart/releases/tag/v1.9.3)
+
+# v1.9.2
+
+2024-02-05
+
+**🐛 Bug fix**
+
+- **@visactor/vchart**: bar label issue when position is 'inside-bottom' or 'inside-top'
+- **@visactor/vchart**: in block-vchart demo, the `dpr` acquisition method is wrong and needs to be obtained in real time
+- **@visactor/vchart**: series can read `direction` from chart spec, releated to [#2181](https://github.com/VisActor/VChart/issues/2181)
+- **@visactor/vchart**: dataZoom min and max span does not effect, related [#2195](https://github.com/VisActor/VChart/issues/2195)
+- **@visactor/vchart**: fix the problem that multi-layer axis labels are not displayed after closing tail labels, related [#2179](https://github.com/VisActor/VChart/issues/2179)
+- **@visactor/vchart**: fix polar animation interpolation
+- **@visactor/react-vchart**: fix the error when `onClick` of `` is null, close [#2186](https://github.com/VisActor/VChart/issues/2186)
+- **@visactor/vchart**: charts should not stack toggle when series has same type but differernt axes, related [#2210](https://github.com/VisActor/VChart/issues/2210)
+- **@visactor/vchart**: there is some offset in the position of the dom tooltip shape, related [#2188](https://github.com/VisActor/VChart/issues/2188)
+
+**🔧 Configuration releated**
+
+- **@visactor/vchart**: add react-lynx doc
+
+[more detail about v1.9.2](https://github.com/VisActor/VChart/releases/tag/v1.9.2)
+
+# v1.9.1
+
+2024-01-31
+
+**🐛 Bug fix**
+
+- **@visactor/vchart**: custom mark should run after all the series marks, fix [#2156](https://github.com/VisActor/VChart/issues/2156)
+- **@visactor/vchart**: interactions should be closed by `option.disableTriggerEvent`
+- **@visactor/vchart**: in the case of multiple band axes in a chart, the same datum corresponds to multiple rows of dimension tooltip content, related [#2148](https://github.com/VisActor/VChart/issues/2148)
+- **@visactor/vchart**: fix error of vchart in strict-mode
+- **@visactor/vchart**: fix the zero-align of axes, fix [#2167](https://github.com/VisActor/VChart/issues/2167)
+
+[more detail about v1.9.1](https://github.com/VisActor/VChart/releases/tag/v1.9.1)
+
+# v1.9.0
+
+2024-01-26
+
+**🆕 New feature**
+
+- **@visactor/vchart**: axis supports `hasDimensionTooltip` for force specification of dimension tooltip, related [#1678](https://github.com/VisActor/VChart/issues/1678)
+- **@visactor/vchart**: `triggerOff` of crosshair support number to close crosshair by setTimeout, fix [#1676](https://github.com/VisActor/VChart/issues/1676)
+- **@visactor/vchart**: the `barBackground` mark in the bar chart supports `fieldLevel` config to indicate whether the `barBackground` mark is displayed at the group level and at which level it is displayed, related [#1601](https://github.com/VisActor/VChart/issues/1601)
+- **@visactor/vchart**: histogram chart supports bar background, related [#1979](https://github.com/VisActor/VChart/issues/1979)
+- **@visactor/vchart**: support fitStrategy for indicator
+- **liquid**: liquid chart. close[#1158](https://github.com/VisActor/VChart/issues/1158)
+- **@visactor/vchart**: band type axis supports multi-layer axis label display
+- **@visactor/vchart**: support separately configuring interactive for line/area mark in area chart, see [#1592](https://github.com/VisActor/VChart/issues/1592)
+- **@visactor/vchart**: support `stateSort` of mark, fix [#2003](https://github.com/VisActor/VChart/issues/2003)
+- **@visactor/vchart**: support customized vrender component in extensionMark
+- **@visactor/vchart**: split tooltip handler into plugins for on-demand importing, related [#1397](https://github.com/VisActor/VChart/issues/1397)
+
+**🐛 Bug fix**
+
+- **@visactor/vchart**: fix the bug of crosshair trigger when hover and click are both configed, fix [#1574](https://github.com/VisActor/VChart/issues/1574)
+- **@visactor/vchart**: tooltip supports content area scrolling, related [#2001](https://github.com/VisActor/VChart/issues/2001)
+- **@visactor/vchart**: remove label line height in default themes, related [#1983](https://github.com/VisActor/VChart/issues/1983)
+- **@visactor/vchart**: fix the issue where tooltip content callbacks may not be effective in certain situations, related [#1943](https://github.com/VisActor/VChart/issues/1943)
+
+**🔨 Refactor**
+
+- **@visactor/vchart**: deprecated `useSyncRender` in react-vchart
+
+[more detail about v1.9.0](https://github.com/VisActor/VChart/releases/tag/v1.9.0)
+
+# v1.8.10
+
+2024-01-25
+
+**🆕 New feature**
+
+- **@visactor/vchart**: support innerOffset in vchart cartesian axis
+
+**🐛 Bug fix**
+
+- **@visactor/vchart**: fix issue of continous color scale, close [#2131](https://github.com/VisActor/VChart/issues/2131)
+- **@visactor/vchart**: dont return min,max of empty data, fix [#1711](https://github.com/VisActor/VChart/issues/1711)
+- **@visactor/vchart**: fixed polar coordinate relative axis tickValues acquisition error problem, fixed[#2117](https://github.com/VisActor/VChart/issues/2117)
+- **@visactor/vchart**: fix the issue mark line is not filter by legend, close [#2127](https://github.com/VisActor/VChart/issues/2127)
+- **@visactor/vchart**: sequence chart region bind error. fix[#2115](https://github.com/VisActor/VChart/issues/2115)
+- **@visactor/vchart**: star shapes on dom tooltip do not display correctly, related [#1905](https://github.com/VisActor/VChart/issues/1905)
+- **@visactor/vchart**: treemap drill event error
+- **@visactor/vchart**: treemap drill error when turn off the animation
+
+[more detail about v1.8.10](https://github.com/VisActor/VChart/releases/tag/v1.8.10)
+
+# v1.8.9
+
+2024-01-23
+
+**🆕 New feature**
+
+- **@visactor/vchart**: support supportsTouchEvents and supportsPointerEvents config
+- **@visactor/vchart**: support `alignSelf` of layout `normal-inline` elements, fix [#2072](https://github.com/VisActor/VChart/issues/2072)
+- **@visactor/vchart**: upgrade vrender
+
+**🐛 Bug fix**
+
+- **@visactor/vchart**: fix bug of crosshair timer, fix [#2088](https://github.com/VisActor/VChart/issues/2088)
+- **@visactor/vchart**: fix the bugs of axis's onZero property, fixed [#2098](https://github.com/VisActor/VChart/issues/2098),[#2099](https://github.com/VisActor/VChart/issues/2099)
+- **@visactor/vchart**: update animation should exludes `defined` channel
+
+[more detail about v1.8.9](https://github.com/VisActor/VChart/releases/tag/v1.8.9)
+
+# v1.8.8
+
+2024-01-19
+
+**🆕 New feature**
+
+- **@visactor/vchart**: enhance scroll effect, closed [#2037](https://github.com/VisActor/VChart/issues/2037)
+- **@visactor/vchart**: upgrade @visactor/vrender-core to locked 0.17.14
+- **@visactor/vchart**: sankey chart supports disableTriggerEvent configuration
+- **@visactor/vchart**: support new layout type region-relative-overlap
+
+**🐛 Bug fix**
+
+- **@visactor/vchart**: `area.interactive` in area series spec is not available, related [#2030](https://github.com/VisActor/VChart/issues/2030)
+- **@visactor/vchart**: fix sortDataByAxis not work after datazoom changed axis
+- **@visactor/vchart**: crosshair should show when `trimPadding` of axis is true, fix [#2054](https://github.com/VisActor/VChart/issues/2054)
+- **@visactor/vchart**: calculate layer transform for dimension tooltip
+- **@visactor/vchart**: fixed the issue where activePoint does not take effect when the visible configuration of line chart point is false
+- **@visactor/vchart**: different effect when configuring label.overlap:true in [#1956](https://github.com/VisActor/VChart/issues/1956)
+- **@visactor/vchart**: label position incorrect with region indent
+- **scroll**: event error in lynx env. fix[#2041](https://github.com/VisActor/VChart/issues/2041)
+- **@visactor/vchart**: map scale ratio not correct after updateSpec or resize
+- **@visactor/vchart**: fix the bug of nice when tickCount is a function, fix [#2050](https://github.com/VisActor/VChart/issues/2050)
+
+[more detail about v1.8.8](https://github.com/VisActor/VChart/releases/tag/v1.8.8)
+
+# v1.8.7
+
+2024-01-11
+
+**🆕 New feature**
+
+- **markPoint**: mark point support item content confine. fix [#1573](https://github.com/VisActor/VChart/issues/1573)
+- **@visactor/vchart**: support indent in region layout
+
+**🐛 Bug fix**
+
+- **@visactor/vchart**: mark tooltip not work in rangeColumn chart, closes [#1959](https://github.com/VisActor/VChart/issues/1959)
+- **brush**: hover not effect when draw a small brush. fix[#1985](https://github.com/VisActor/VChart/issues/1985)
+- **@visactor/vchart**: fix the problem that indent.top cannot take effect normally
+- **@visactor/vchart**: the crosshair should only be triggered when the point is in some x-axis and y-axis, fix [#1954](https://github.com/VisActor/VChart/issues/1954)
+- **@visactor/vchart**: fixed the issue where legend filtering fails after customizing data for discrete legends, fixed [#1994](https://github.com/VisActor/VChart/issues/1994)
+- **@visactor/vchart**: range column chart's `barMinHeight` property does not take effect, closed[#1999](https://github.com/VisActor/VChart/issues/1999)
+- **@visactor/vchart**: tooltip value is stacked in stacked radar charts, related [#450](https://github.com/VisActor/VChart/issues/450)
+- **@visactor/vchart**: fix the onebyone symbol animation order, closes [#1932](https://github.com/VisActor/VChart/issues/1932)
+
+[more detail about v1.8.7](https://github.com/VisActor/VChart/releases/tag/v1.8.7)
+
+# v1.8.5
+
+2024-01-04
+
+**🆕 New feature**
+
+- **@visactor/vchart**: add zAxis theme and set label space to 0, closed [#149](https://github.com/VisActor/VChart/issues/149)
+
+**🐛 Bug fix**
+
+- **@visactor/vchart**: compute layer translate for crosshair
+- **@visactor/vchart**: optimize funnel clip animation without extensionMarks
+- **@visactor/vchart**: fix the hover state of multiple series, close [#1899](https://github.com/VisActor/VChart/issues/1899)
+- **@visactor/vchart**: waterfall.label not work in [#1897](https://github.com/VisActor/VChart/issues/1897)
+
+[more detail about v1.8.5](https://github.com/VisActor/VChart/releases/tag/v1.8.5)
+
+# v1.8.4
+
+2024-01-02
+
+**🐛 Bug fix**
+
+- **@visactor/vchart**: add media query spec interface to default chart spec
+- **@visactor/vchart**: fix the bug of extension mark when no valid animation, fix [#1877](https://github.com/VisActor/VChart/issues/1877)
+
+[more detail about v1.8.4](https://github.com/VisActor/VChart/releases/tag/v1.8.4)
+
+# v1.8.3
+
+2024-01-02
+
+**🆕 New feature**
+
+- **@visactor/vchart**: add props `useSyncRender` to react-vchart, close [#1685](https://github.com/VisActor/VChart/issues/1685)
+- **@visactor/vchart**: Supports the initialization parameter `disableTriggerEvent` to turn off the default interactive effect of the chart
+
+**🐛 Bug fix**
+
+- **@visactor/vchart**: chart option.animation not work
+- **@visactor/vchart**: fix error in strict mode of react-vchart, fix [#1669](https://github.com/VisActor/VChart/issues/1669)
+- **@visactor/vchart**: error in chart level modification of media query action
+- **@visactor/vchart**: dimension tooltip in the dual-dimension chart contains data of only one dimension, related [#1841](https://github.com/VisActor/VChart/issues/1841)
+- **@visactor/vchart**: fix bug in layout when band axis has no domain
+- **@visactor/vchart**: funnel clipIn animation has delay for marks which overflows the range of region in [#1839](https://github.com/VisActor/VChart/issues/1839)
+- **@visactor/vchart**: when marker label's padding is an object, it should work
+- **@visactor/vchart**: undefined globalThis in tt miniprogram, see [#1854](https://github.com/VisActor/VChart/issues/1854)
+ **🔨 Refactor**
+- **@visactor/vchart**: optimize the style configuration of marker
+
+[more detail about v1.8.3](https://github.com/VisActor/VChart/releases/tag/v1.8.3)
+
+# v1.8.2
+
+2023-12-22
+
+**🆕 feat**
+
+- **@visactor/vchart**: Supports the initialization parameter `disableTriggerEvent` to turn off the default interactive effect of the chart
+
+**🐛 fix**
+
+- **@visactor/vchart**: Config `animation` in the chart option doesn't work
+- **@visactor/vchart**: Error in chart level modification of media query action
+
+[more detail about v1.8.2](https://github.com/VisActor/VChart/releases/tag/v1.8.2)
+
+# v1.8.1
+
+2023-12-21
+
+**🐛 fix**
+
+- **@visactor/vchart**: improve the stability of spec transformer and media query
+- **@visactor/vchart**: `select.triggerOff: none` not work
+
+[more detail about v1.8.1](https://github.com/VisActor/VChart/releases/tag/v1.8.1)
+
+# v1.8.0
+
+2023-12-19
+
+**🆕 feat**
+
+- **@visactor/vchart**: add getPoints api in funnel mark attribute context
+- **@visactor/vchart**: vchart supports chart-level plugin, related [#1784](https://github.com/VisActor/VChart/issues/1784)
+- **@visactor/vchart**: new media query plugin to support self-adaptive charts, related [#1413](https://github.com/VisActor/VChart/issues/1413)
+- **@visactor/vchart**: support optimize config, and auto set disableCheckGraphicWidthOutRange to true
+- **@visactor/vchart**: remove legacy theme for legends
+
+**🐛 fix**
+
+- **@visactor/vchart**: fix the api: `getComponentsByKey` not work
+- **@visactor/vchart**: animation support for gauge pointer series, related [#1699](https://github.com/VisActor/VChart/issues/1699)
+- **@visactor/vchart**: fix issue with secondary dataflow, closed [#1760](https://github.com/VisActor/VChart/issues/1760)
+
+**🔨 refactor**
+
+- **@visactor/vchart**: update datazoom and brush updatecallback, use event
+
+**⚡ perf**
+
+- **@visactor/vchart**: when visible is false, dont parse detail attrs
+
+[more detail about v1.8.0](https://github.com/VisActor/VChart/releases/tag/v1.8.0)
+
+# v1.7.5
+
+2023-12-15
+
+**🐛 fix**
+
+- **brush**: brush release error after update spec. fix[#1720](https://github.com/VisActor/VChart/issues/1720)
+- **@visactor/vchart**: series should pick `morph` config in chart
+- **@visactor/vchart**: fix type defination of vchart spec in [#1486](https://github.com/VisActor/VChart/issues/1486)
+
+[more detail about v1.7.5](https://github.com/VisActor/VChart/releases/tag/v1.7.5)
+
+# v1.7.4
+
+2023-12-12
+
+**🆕 feat**
+
+- **@visactor/vchart**: support interaction group in region
+
+**🐛 fix**
+
+- **@visactor/vchart**: label style not update when change current theme in [#1698](https://github.com/VisActor/VChart/issues/1698)
+
+[more detail about v1.7.4](https://github.com/VisActor/VChart/releases/tag/v1.7.4)
+
+# v1.7.3
+
+2023-12-06
+
+**🆕 feat**
+
+- **@visactor/vchart**: marker supports `coordinatesOffset` for points adjusting
+- **@visactor/vchart**: markLine supports x,y,y1 y,x,x1 and x,y,x1,y1 position
+- **@visactor/vchart**: markPoint support xy position
+- **@visactor/vchart**: marker's position property support relative coordinate
+- **@visactor/vchart**: marker's coordinate property supports callback
+- **@visactor/vchart**: cartesion crosshair's rect width support callback, support [#1567](https://github.com/VisActor/VChart/issues/1567)
+- **@visactor/vchart**: polar crosshair supports default show
+- **@visactor/vchart**: support text omission position configuration `suffixPosition`
+- **@visactor/vchart**: supports `pickStrokeBuffer` style attribute for extending the stroke picking range
+
+**🐛 fix**
+
+- **@visactor/vchart**: fix 3d bar chart with seriesField issue, closed [#1646](https://github.com/VisActor/VChart/issues/1646)
+- **@visactor/vchart**: fix 3d chart z axis not work noamally issue, closed [#1668](https://github.com/VisActor/VChart/issues/1668)
+- **@visactor/vchart**: clear old encode when update, fix [#1630](https://github.com/VisActor/VChart/issues/1630)
+- **@visactor/vchart**: fix the problem that track mark has multiple elements in gauge series, related [#1643](https://github.com/VisActor/VChart/issues/1643)
+- **@visactor/vchart**: fix the problem that gaugePointer series doesn't support custom `innerRadius`, related [#1644](https://github.com/VisActor/VChart/issues/1644)
+- **@visactor/vchart**: fix the type error of markArea
+- **@visactor/vchart**: the outerBorder's color should be equal with labelBackground's fill by default
+- **@visactor/vchart**: fix oneByOne loop animation
+- **@visactor/vchart**: add `align` property for size legend, and fix the issue of the attribute assignment does not take effect, related [#1553](https://github.com/VisActor/VChart/issues/1553)
+
+**🔨 refactor**
+
+- **@visactor/vchart**: unify `getVRenderComponents` method in Component model
+
+**⚡ perf**
+
+- **@visactor/vchart**: only call `cloneDeepSpec()` when need
+
+[more detail about v1.7.3](https://github.com/VisActor/VChart/releases/tag/v1.7.3)
+
+# v1.7.2
+
+2023-11-30
+
+**🐛 fix**
+
+- **@visactor/vchart**: clear old encode when update, fix [#1630](https://github.com/VisActor/VChart/issues/1630)
+- **@visactor/vchart**: fix the problem that track mark has multiple elements in gauge series, related [#1643](https://github.com/VisActor/VChart/issues/1643)
+- **@visactor/vchart**: fix the problem that gaugePointer series doesn't support custom `innerRadius`, related [#1644](https://github.com/VisActor/VChart/issues/1644)
+
+**🔨 refactor**
+
+- **@visactor/vchart**: unify `getVRenderComponents` method in Component model
+
+[more detail about v1.7.2](https://github.com/VisActor/VChart/releases/tag/v1.7.2)
+
+# v1.7.1
+
+2023-11-30
+
+**🐛 fix**
+
+- **@visactor/vchart**: read dataview of extension-mark by `dataId`
+- **@visactor/vchart**: fixed the issue where the layout size of the axis is incorrect when only domainLine is displayed
+- **@visactor/vchart**: fix bug of changed spec when create series
+- **pie**: get center error. fix [#1610](https://github.com/VisActor/VChart/issues/1610)
+- **@visactor/vchart**: optimize the effect of `tooltip.enterable` that user's pointer can easily enter the tooltip, related [#1598](https://github.com/VisActor/VChart/issues/1598)
+
+[more detail about v1.7.1](https://github.com/VisActor/VChart/releases/tag/v1.7.1)
+
+# v1.7.0
+
+2023-11-24
+
+**🆕 feat**
+
+- **@visactor/vchart**: support `trimPadding` for band type axis, which used to remove the blank space at both ends of the aixs, closed [#1174](https://github.com/VisActor/VChart/issues/1174)
+- **@visactor/vchart**: custom mark support animation config
+- **@visactor/vchart**: support customShape of mark
+- **@visactor/vchart**: optimize auto mode of data-zoom, related [#1416](https://github.com/VisActor/VChart/issues/1416)
+- **@visactor/vchart**: enhance marker's position ability
+- **@visactor/vchart**: mark area should support specify x x1 y and y1 both
+- **@visactor/vchart**: add light-mobile and dark-mobile theme, related [#1414](https://github.com/VisActor/VChart/issues/1414)
+- **@visactor/vchart**: optmize performance of computing data
+- **@visactor/vchart**: support none in component layoutType
+- **@visactor/vchart**: support line/area label
+- **@visactor/vchart**: no longer register mobile theme in vchart
+- **@visactor/vchart**: feature: supports registered function expression syntax, related [#1187](https://github.com/VisActor/VChart/issues/1187)
+
+**🐛 fix**
+
+- **@visactor/vchart**: chart padding won't update when switching global theme
+- **@visactor/vchart**: fix spec modified unexpectedly in data model, details in [#1514](https://github.com/VisActor/VChart/issues/1514)
+- **@visactor/vchart**: update enableSegements implemention
+
+**🔨 refactor**
+
+- **@visactor/vchart**: refactor the inheritance structure of the chart module to make the layout system independent, details in [#1428](https://github.com/VisActor/VChart/issues/1428)
+
+**⚡ perf**
+
+- **@visactor/vchart**: dont need to call `attrTransform()` in compilable-mark
+- **@visactor/vchart**: remove getStatisticsDomain()
+- **@visactor/vchart**: dont call bounds calculate when user specify width/height of components
+
+[more detail about v1.7.0](https://github.com/VisActor/VChart/releases/tag/v1.7.0)
+
+# v1.6.7
+
+2023-11-21
+
+**🐛 fix**
+
+- **@visactor/wx-vchart**: fixed package delivery error issue, fixed [#1570](https://github.com/VisActor/VChart/issues/1570) , PR in [#1571](https://github.com/VisActor/VChart/pull/1571)
+
+[more detail about v1.6.7](https://github.com/VisActor/VChart/releases/tag/v1.6.7)
+
+# v1.6.6
+
+2023-11-21
+
+**🐛 fix**
+
+- **@visactor/vchart**: fix chart screen remains when using updateSpecSync, details in [#1421](https://github.com/VisActor/VChart/issues/1421)
+- **@visactor/vchart**: is mouse click in empty region, the hover shape should reset, fixed [#1538](https://github.com/VisActor/VChart/issues/1538)
+
+[more detail about v1.6.6](https://github.com/VisActor/VChart/releases/tag/v1.6.6)
+
+# v1.6.5
+
+2023-11-17
+
+**🆕 feat**
+
+- **@visactor/vchart**: add `skipFunctionDiff` in react-vchart to skip difference of functions
+
+**🐛 fix**
+
+- **@visactor/vchart**: dimension click not effect after update spec. fix [#1532](https://github.com/VisActor/VChart/issues/1532)
+
+[more detail about v1.6.5](https://github.com/VisActor/VChart/releases/tag/v1.6.5)
+
+# v1.6.4
+
+2023-11-16
+
+**🐛 fix**
+
+- **@visactor/vchart**: fixed the problem of unreasonable automatic indentation being triggered after modifying the axis range in datazoom
+- **@visactor/vchart**: default realtime not effect in scrollbar and datazoom. fix [#1462](https://github.com/VisActor/VChart/issues/1462)
+- **@visactor/vchart**: filter mode error when roam in scrollbar and datazoom. fix [#1460](https://github.com/VisActor/VChart/issues/1460)
+- **@visactor/lark-vchart**: fix `options` can not work in lark-vchart, wx-vchart
+- **@visactor/wx-vchart**: fix `options` can not work in lark-vchart, wx-vchart
+- **@visactor/vchart**: `legendItemHover` and `legendItemUnHover` should trigger once, https://github.com/VisActor/VRender/pull/678
+
+**⚡ perf**
+
+- **@visactor/vchart**: optimize the dataflow of sankey
+
+[more detail about v1.6.4](https://github.com/VisActor/VChart/releases/tag/v1.6.4)
+
+# v1.6.3
+
+2023-11-10
+
+**🐛 fix**
+
+- **@visactor/vchart**: fix the issue of update animation not work for line mark
+- **@visactor/vchart**: update vgrammar to ~0.8.3 to fix the issue that, vrender should not auto render during renderAsync
+- **@visactor/vchart**: fix the error when quick release vchart during async render
+- **@visactor/vchart**: tooltip value is forced to wrap when the user globally configures css overflow-warp, related [#1446](https://github.com/VisActor/VChart/issues/1446)
+- **@visactor/vchart**: fix: svg model's id should be uniq, fixed [#1422](https://github.com/VisActor/VChart/issues/1422), [#1442](https://github.com/VisActor/VChart/issues/1442)
+- **@visactor/vchart**: fix: empty string should not be a valid number, fix [#1463](https://github.com/VisActor/VChart/issues/1463)
+
+**⚡ perf**
+
+- **@visactor/vchart**: optimize the encode performance of sankey
+
+[more detail about v1.6.3](https://github.com/VisActor/VChart/releases/tag/v1.6.3)
+
+# v1.6.2
+
+2023-11-08
+
+**🐛 fix**
+
+- **@visactor/vchart**: tooltip value is forced to wrap when the user globally configures css overflow-warp, related [#1446](https://github.com/VisActor/VChart/issues/1446)
+
+[more detail about v1.6.2](https://github.com/VisActor/VChart/releases/tag/v1.6.2)
+
+# v1.6.1
+
+2023-11-08
+
+**🆕 feat**
+
+- **@visactor/vchart**: label formatMethod callback add context parmas to provide series object
+- **@visactor/vchart**: add components `` and `` of react-vchart, close [#1424](https://github.com/VisActor/VChart/issues/1424)
+
+**🐛 fix**
+
+- **@visactor/vchart**: `centroidProperty` not work in map chart
+- **@visactor/vchart**: fix incorrect legend filter result caused by animation in [#1403](https://github.com/VisActor/VChart/issues/1403)
+- **@visactor/vchart**: if layout item is invisible, do not participate in grid layout, related [#1425](https://github.com/VisActor/VChart/issues/1425)
+- **@visactor/vchart**: aggregation return value infinity problem. fix[#1380](https://github.com/VisActor/VChart/issues/1380)'
+
+[more detail about v1.6.1](https://github.com/VisActor/VChart/releases/tag/v1.6.1)
+
+# v1.6.0
+
+2023-11-03
+
+**🆕 feat**
+
+- **@visactor/vchart**: add bar background mark for bar-like series, related [#1154](https://github.com/VisActor/VChart/issues/1154)
+- **@visactor/vchart**: add `updateElement` callback in tooltip spec to configure custom tooltip DOM elements based on the default tooltip handler, related [#1338](https://github.com/VisActor/VChart/issues/1338)
+- **@visactor/vchart**: enable exit animation while updating data
+- **@visactor/vchart**: support functional label.position config in line/area/scatter/bar series
+- **@visactor/vchart**: load browser or node env code dynamically
+- **@visactor/vchart**: dataScheme supports configuration by distinguishing series directions, related [#1209](https://github.com/VisActor/VChart/issues/1209)
+- **@visactor/vchart**: data sampling & point overlap. close [#460](https://github.com/VisActor/VChart/issues/460)
+- **@visactor/taro-vchart**: support weapp
+
+**🐛 fix**
+
+- **@visactor/vchart**: react-vchart mode not work
+- **@visactor/vchart**: optimize the trigger of hover in non-browser env
+- **@visactor/vchart**: if series mark is line, return stroke value when user want fill value, fixed [#1388](https://github.com/VisActor/VChart/issues/1388)
+- **@visactor/vchart**: fix the angle offset in rose dimension tooltip, related [#1263](https://github.com/VisActor/VChart/issues/1263)
+
+**⚡ perf**
+
+- **@visactor/vchart**: create Stack and calculate stack attributes when need
+
+[more detail about v1.6.0](https://github.com/VisActor/VChart/releases/tag/v1.6.0)
+
+# v1.5.4
+
+2023-10-30
+
+**🐛 fix**
+
+- **@visactor/vchart**: unexpected funnel transform ratio label, see [#1348](https://github.com/VisActor/VChart/issues/1348)
+- **@visactor/vchart**: tooltip value label clipped on lark mini app, related [#1346](https://github.com/VisActor/VChart/issues/1346)
+
+[more detail about v1.5.4](https://github.com/VisActor/VChart/releases/tag/v1.5.4)
+
+# v1.5.3
+
+2023-10-27
+
+**🆕 feat**
+
+- **@visactor/vchart**: support the exportCanvas api of vchart
+
+**🐛 fix**
+
+- **@visactor/vchart**: sankey chart downstream highlight, related [#1269](https://github.com/VisActor/VChart/issues/1269)
+- **@visactor/vchart**: slove first select not effect problem. fix [#1129](https://github.com/VisActor/VChart/issues/1129)
+- **@visactor/vchart**: new layout method for circle axis label, related [#1123](https://github.com/VisActor/VChart/issues/1123)
+- **@visactor/vchart**: change default zIndex of axis in gauge chart, related [#1122](https://github.com/VisActor/VChart/issues/1122)
+- **@visactor/vchart**: datazoom location error when resize. fix [#520](https://github.com/VisActor/VChart/issues/520)
+- **@visactor/vchart**: slove event off error after release
+- **@visactor/vchart**: fix the issue where invalidType of scatter chart checks x and y at the same time
+- **@visactor/vchart**: fix the issue in markline as min/max aggr result is not correct, see [#1261](https://github.com/VisActor/VChart/issues/1261)
+- **@visactor/vchart**: fix: fix the issue that the map tooltip title does not display the name from nameMap, see [#1260](https://github.com/VisActor/VChart/issues/1260)
+- **@visactor/vchart**: sankey supports string value
+- **@visactor/vchart**: fix the issue of crosshair can not trigger in weapp, fixed [#1322](https://github.com/VisActor/VChart/issues/1322)
+
+[more detail about v1.5.3](https://github.com/VisActor/VChart/releases/tag/v1.5.3)
+
+# v1.5.2
+
+2023-10-24
+
+**🆕 feat**
+
+- **@visactor/vchart**: support the exportCanvas api of vchart
+
+**🐛 fix**
+
+- **@visactor/vchart**: new layout method for circle axis label, related [#1123](https://github.com/VisActor/VChart/issues/1123)
+- **@visactor/vchart**: change default zIndex of axis in gauge chart, related [#1122](https://github.com/VisActor/VChart/issues/1122)
+- **@visactor/vchart**: datazoom location error when resize. fix [#520](https://github.com/VisActor/VChart/issues/520)
+- **@visactor/vchart**: fix the issue in markline as min/max aggr result is not correct, see [#1261](https://github.com/VisActor/VChart/issues/1261)
+- **@visactor/vchart**: fix: fix the issue that the map tooltip title does not display the name from nameMap, see [#1260](https://github.com/VisActor/VChart/issues/1260)
+
+[more detail about v1.5.2](https://github.com/VisActor/VChart/releases/tag/v1.5.2)
+
+# v1.5.1
+
+2023-10-20
+
+**🆕 feat**
+
+- **@visactor/vchart**: support correlation Chart
+- **@visactor/vchart**: add getGraphicBounds api in layoutItem to support get graphic size
+- **@visactor/vchart**: optimize the autoindent logic in layout to ensure padding effect is correct
+- **@visactor/vchart**: support `centroidProperty` in map series
+- **@visactor/vchart**: scrollbar enhance zoom & drag & scroll. close [#965](https://github.com/VisActor/VChart/issues/965)
+- **@visactor/vchart**: datazoom enhance zoomLock & span config. close [#1082](https://github.com/VisActor/VChart/issues/1082)
+- **@visactor/vchart**: supply the attributeContext params for customMark's attribute callback
+- **@visactor/vchart**: provide afterLayout event to support users to modify layout effects
+- **@visactor/vchart**: provide datum in the params of `updateContent` callback of tooltip, related [#1244](https://github.com/VisActor/VChart/issues/1244)
+- **@visactor/vchart**: add the default theme (light, dark) of markLine, markArea and funnel series
+- **@visactor/vchart**: support load environment code on demand
+
+**🐛 fix**
+
+- **@visactor/vchart**: optimized the display of `padAngle` in the gauge series and changed the unit of `padAngle` to angle, related [#1215](https://github.com/VisActor/VChart/issues/1215)
+- **@visactor/vchart**: link 'adjacency' interaction highlighting effect of Sankey Chart is wrong, [#1121](https://github.com/VisActor/VChart/issues/1121)
+- **@visactor/vchart**: fix the issue of boxplot outlier animation will throw error
+- **@visactor/vchart**: fix the duplicate event registration in scrollbar, fixed[#1241](https://github.com/VisActor/VChart/issues/1241)
+
+**🔨 refactor**
+
+- **@visactor/vchart**: add register function for chart/series/component to collect side effect code
+- **@visactor/vchart**: add register function for animation
+
+[more detail about v1.5.1](https://github.com/VisActor/VChart/releases/tag/v1.5.1)
+
+# v1.4.3
+
+2023-10-17
+
+**🆕 feat**
+
+- **@visactor/vchart**: brush state proxy to state spec
+
+**🐛 fix**
+
+- **@visactor/vchart**: fix when the legend item only has stroke it cannot be consistent with the graphic color, details in [#1147](https://github.com/VisActor/VChart/issues/1147)
+
+[more detail about v1.4.3](https://github.com/VisActor/VChart/releases/tag/v1.4.3)
+
+# v1.4.2
+
+2023-10-12
+
+**🆕 feat**
+
+- **@visactor/vchart**: gauge series supports label component, related [#1039](https://github.com/VisActor/VChart/issues/1039)
+- **@visactor/vchart**: add static tools in `VChart.Utils`
+- **@visactor/vchart**: supports afterResize and afterRender events
+- **@visactor/vchart**: add new config `autoWidth` to the tooltip label style, related [#688](https://github.com/VisActor/VChart/issues/688)
+
+**🐛 fix**
+
+- **@visactor/vchart**: `tooltipRelease` event may be invalid when being released by VTable
+- **@visactor/vchart**: select error when setting brush. fix [#1129](https://github.com/VisActor/VChart/issues/1129)
+- **@visactor/vchart**: optimize the default performance of the long tooltip title, related [#688](https://github.com/VisActor/VChart/issues/688)
+- **@visactor/vchart**: if `markLine` is empty like `{}` or `[]`, it should not create marker component
+- **@visactor/vchart**: fix the issue when use `positions` to create marker component, fixed [#1084](https://github.com/VisActor/VChart/issues/1084)
+- **@visactor/vchart**: auto visible with linear axis. fix [#1118](https://github.com/VisActor/VChart/issues/1118)
+
+[more detail about v1.4.2](https://github.com/VisActor/VChart/releases/tag/v1.4.2)
+
+# v1.4.1
+
+2023-09-27
+
+**🆕 feat**
+
+- **@visactor/vchart**: optimize updateSpec to avoid additional theme updates
+
+**🐛 fix**
+
+- **@visactor/vchart**: fix updateViewBox api will fail after resize
+- **datazoom**: fix bounds error when there is no preview chart. fix [#1050](https://github.com/VisActor/VChart/issues/1050)
+- **@visactor/vchart**: the rose chart's first sector's startAngle should start from polar coordinate's startAngle, fix [#900](https://github.com/VisActor/VChart/issues/900)
+- **@visactor/vchart**: fix `theme.fontFamily` can not work
+- **@visactor/vchart**: fix the problem that updateFullData cannot update data in series
+
+[more detail about v1.4.1](https://github.com/VisActor/VChart/releases/tag/v1.4.1)
+
+# v1.4.0
+
+2023-09-25
+
+**🆕 feat**
+
+- **@visactor/vchart**: add scrollbar layout spec to sequence. close [#792](https://github.com/VisActor/VChart/issues/792)
+- **@visactor/vchart**: linear axis support `tooltipFilterRange` to configure the relative data range of dimension tooltip, related [#933](https://github.com/VisActor/VChart/issues/933)
+- **@visactor/vchart**: add vchart to context in params of mark function style
+- **@visactor/vchart**: add default dark theme for scrollBar
+- **@visactor/vchart**: add configure items `bandSize`, `maxBandSize`, `minBandSize` to the spec of band axis, related [#263](https://github.com/VisActor/VChart/issues/263)
+- **@visactor/vchart**: support `barMinHeight` for bar series, relate [#722](https://github.com/VisActor/VChart/issues/722)
+- **@visactor/vchart**: enhance default wordcloud appear animation, details in [#675](https://github.com/VisActor/VChart/issues/675)
+- **@visactor/vchart**: tick mask support for polar progress-like charts, related [#596](https://github.com/VisActor/VChart/issues/596)
+- **@visactor/vchart**: pie label line support smooth
+- **@visactor/vchart**: support custom callback for tickCount, see [#951](https://github.com/VisActor/VChart/issues/951)
+- **@visactor/vchart**: support `label.confine` for markLine and markPoint to auto adjust label's position, relate https://github.com/VisActor/VChart/issues/699
+- **@visactor/vchart**: support `minAngle` for pie chart, relate [#738](https://github.com/VisActor/VChart/issues/738)
+- **@visactor/vchart**: disable label animation as default in map series
+- **@visactor/vchart**: increase chart stacking capabilities, provide stackValue to support independent stacking of multiple series
+- **@visactor/vchart**: increase chart stacking capabilities, provide stackInverse support for stacking in reverse order
+- **@visactor/vchart**: support `scaleCenter` attribute for mark, see [#781](https://github.com/VisActor/VChart/issues/781)
+- **@visactor/vchart**: provide updateModelSpec api, so that users can update the configuration of a chart module individually
+- **@visactor/vchart**: supports deleting all events of the corresponding type without passing through the handler when calling off
+- **@visactor/vchart**: tooltip supports custom shape type, related [#496](https://github.com/VisActor/VChart/issues/496)
+- **@visactor/vchart**: tooltip supports custom `spaceRow` for each line, related [#949](https://github.com/VisActor/VChart/issues/949)
+- **@visactor/vchart**: tooltip supports custom fixed position relative to the cursor, related [#541](https://github.com/VisActor/VChart/issues/541)
+- **@visactor/vchart**: fix issue about updateSpec not work with only data change, details in [#912](https://github.com/VisActor/VChart/issues/912)
+- **@visactor/vchart**: support wx env
+- **@visactor/vchart**: remove compatibility code of threshold
+- **@visactor/vchart**: access label in map series
+
+**🐛 fix**
+
+- **@visactor/vchart**: when stack is false and no `fieldX2` or `fieldY2`, `dataToPositionX1` and `dataToPositionY1` should use 0, close [#647](https://github.com/VisActor/VChart/issues/647)
+- **@visactor/vchart**: label stroke should follow default color when stroke is set to null, detail see [#985](https://github.com/VisActor/VChart/issues/985)
+- **@visactor/vchart**: `offsetX` and `offsetY` can not work in mark component
+- **@visactor/vchart**: sankey chart support color config'
+- **@visactor/vchart**: style not effect when set mark hover. fix [#976](https://github.com/VisActor/VChart/issues/976)
+- **@visactor/vchart**: tooltipHide event may be inavailable when the computer runs slow
+- **@visactor/vchart**: chart pass-through serDataByAxis config to series
+- **@visactor/vchart**: when call updateSpec, the prev scrollbar had not been clear, relate [#1044](https://github.com/VisActor/VChart/issues/1044)
+- **@visactor/vchart**: add protect for this.\_spec, fixed [#1045](https://github.com/VisActor/VChart/issues/1045)
+- **@visactor/vchart**: fix the issue of `seriesId` does not work in legends, closed [#910](https://github.com/VisActor/VChart/issues/910)
+- **@visactor/vchart**: state scale domain error when domain is locked. fix [#629](https://github.com/VisActor/VChart/issues/629)
+- **@visactor/vchart**: fix unoff event when passing through handler
+- **@visactor/vchart**: fix userEvent is added multiple times
+- **@visactor/vchart**: line and area mark should set closePath default, fix [#654](https://github.com/VisActor/VChart/issues/654)
+- **@visactor/vchart**: fix the issue of radar area's invalidType not work, fixed [#867](https://github.com/VisActor/VChart/issues/867)
+- **@visactor/vchart**: fix invalidType not working after invoking updataDataSync, details in [#1057](https://github.com/VisActor/VChart/issues/1057)
+- **@visactor/vchart**: marker don not render after updateData. fix [#882](https://github.com/VisActor/VChart/issues/882)
+- **@visactor/vchart**: fix the issue of markLine symbol.size not work
+- **@visactor/vchart**: optimize the layout of normal-inline, fixed [#989](https://github.com/VisActor/VChart/issues/989)
+- **@visactor/vchart**: do the product of this.\_spec, fixed [#1062](https://github.com/VisActor/VChart/issues/1062)
+- **@visactor/vchart**: fix the issue of progress layout in multi-region
+- **@visactor/vchart**: render error when dot and link data is empty. fix [#1019](https://github.com/VisActor/VChart/issues/1019)
+- **@visactor/vchart**: fontsize renge not effect with no value field. fix [#522](https://github.com/VisActor/VChart/issues/522)
+- **@visactor/vchart**: lock crosshair label to uninteractive, because it will affect axis label's event pick
+- **@visactor/vchart**: fix the issue of reading onError of null option in [#915](https://github.com/VisActor/VChart/issues/915)
+ **🔨 refactor**
+- **@visactor/vchart**: split the updateSpec of life cycle to spec transform & compare
+- **@visactor/vchart**: remove unused code, and transform ticks transform to vutils-extension
+- **@visactor/vchart**: unify the clear of component
+- **@visactor/vchart**: seperate grid from axis for better layer control
+- **@visactor/vchart**: use @visctor/vgrammar-core to replace @visctor/vgrammar
+
+[more detail about v1.4.0](https://github.com/VisActor/VChart/releases/tag/v1.4.0)
+
+# v1.3.4
+
+2023-09-20
+
+**🐛 fix**
+
+- **@visactor/vchart**: circularProgress chart may throw error when executing `updateSpec`, related [#994](https://github.com/VisActor/VChart/issues/994)
+- **@visactor/vchart**: the theme in spec does not update correctly when executing `updateSpec`, related [#996](https://github.com/VisActor/VChart/issues/996)
+- **@visactor/vchart**: `track` in spec is not working in circularProgress charts, related [#600](https://github.com/VisActor/VChart/issues/600)
+- **@visactor/vchart**: fix the error triggered by chart updateSpec, fixed [#988](https://github.com/VisActor/VChart/issues/988), [#1002](https://github.com/VisActor/VChart/issues/1002)
+- **@visactor/vchart**: fix the issue of player component updateSpec, fixed [#967](https://github.com/VisActor/VChart/issues/967)
+
+[more detail about v1.3.4](https://github.com/VisActor/VChart/releases/tag/v1.3.4)
+
+# v1.3.3
+
+2023-09-18
+
+**🐛 fix**
+
+- **@visactor/vchart**: fix the issue of player component updateSpec, fixed [#967](https://github.com/VisActor/VChart/issues/967)
+
+[more detail about v1.3.3](https://github.com/VisActor/VChart/releases/tag/v1.3.3)
+
+# v1.3.2
+
+2023-09-14
+
+**🆕 feat**
+
+- **@visactor/vchart**: the setDimensionIndex api supports deselecting ability by passing in null
+- **@visactor/vchart**: use precision calculations in waterfall charts to avoid unexpected values for labels, details in [#721](https://github.com/VisActor/VChart/issues/721)
+- **@visactor/vchart**: interactive default config.
+
+**🐛 fix**
+
+- **@visactor/vchart**: log scale has no result about zero when bar stack has a zero baseline value. fix [#634](https://github.com/VisActor/VChart/issues/634)
+- **@visactor/vchart**: fix the user event listener becomes invalid after updateSpec
+- **@visactor/vchart**: fix bug of series mark static style are not updated when updateSpec
+- **@visactor/vchart**: fix bug data fields are not updated when updateSpec, details in [#829](https://github.com/VisActor/VChart/issues/829)
+- **@visactor/vchart**: fix the issue of animation config not work in common chart, related [#814](https://github.com/VisActor/VChart/issues/814)
+
+**⚡ perf**
+
+- **@visactor/vchart**: optimize the performance of dimension-statistics
+- **@visactor/vchart**: only calculate dimensionTree when need
+
+[more detail about v1.3.2](https://github.com/VisActor/VChart/releases/tag/v1.3.2)
+
+# v1.3.1
+
+2023-09-05
+
+**🆕 feat**
+
+- **@visactor/vchart**: `lineHeight` supports string proportional values, related [#744](https://github.com/VisActor/VChart/issues/744)
+- **@visactor/vchart**: upgrade vdataset for clone source data when call updateData
+
+**🐛 fix**
+
+- **@visactor/vchart**: move \'SeriesMarkNameEnum\' to single file, solve the issue of codesandbox can not work, it looks like an error in the Codesandbox' bundler, see https://github.com/codesandbox/codesandbox-client/issues/6435
+- **@visactor/vchart**: fix sortDataByAxis not work after updateData
+- **@visactor/vchart**: fix the issue of legend does not update after updateData, fix [#769](https://github.com/VisActor/VChart/issues/769)
+- **@visactor/vchart**: fix the issue of legend's maxHeight not work
+- **@visactor/vchart**: the issue of pie chart with null value, fixed https://github.com/VisActor/VChart/issues/748
+- **@visactor/vchart**: fix the problem that the pie chart draws a full circle when the data is all 0, because the endAngle of the last piece of data is forced to configure the endAngle of polar coordinates
+- **@visactor/vchart**: fix the issue of `seriesIndex` not work in discrete legend, see [#732](https://github.com/VisActor/VChart/issues/732)
+
+[more detail about v1.3.1](https://github.com/VisActor/VChart/releases/tag/v1.3.1)
diff --git a/docs/assets/changelog/zh/release.md b/docs/assets/changelog/zh/release.md
index c6986d87d0..f838dba723 100644
--- a/docs/assets/changelog/zh/release.md
+++ b/docs/assets/changelog/zh/release.md
@@ -1,3 +1,25 @@
+# v1.11.7
+
+2024-07-06
+
+**🆕 新增功能**
+
+- **@visactor/vchart**:支持在指标文本样式属性中配置回调函数,相关[#2540](https://github.com/VisActor/VChart/issues/2540)
+- **@visactor/vchart**:在工具提示中添加选项 hideTimer,以通过计时器隐藏工具提示
+- **@visactor/vchart**:支持 updateIndicatorDataById/updateIndicatorDataByIndex API,相关 [#2776](https://github.com/VisActor/VChart/issues/2776)
+- **@visactor/vchart**:添加 userUpdateOptions 让用户指定图表的更新类型,修复一些动画错误
+
+**🐛功能修复**
+
+- **barbackground**:设置自定义数据键修复时数据键未定义[#2908](https://github.com/VisActor/VChart/issues/2908)
+- **@visactor/vchart**:修复配置 barWidth 时 barMaxWidth 不起作用的问题,修复[#2885](https://github.com/VisActor/VChart/issues/2885)
+- **@visactor/vchart**:方向不正确的线/区域剪辑动画
+- **十字线**:修复图例过滤数据时十字线位置的错误。修复修复[#2905](https://github.com/VisActor/VChart/issues/2905)
+- **@visactor/vchart**:修复雷达图的极坐标动画逻辑
+- **@visactor/vchart**:类型定义修复
+
+[更多详情请查看 v1.11.7](https://github.com/VisActor/VChart/releases/tag/v1.11.7)
+
# v1.11.6
2024-06-27
diff --git a/docs/assets/examples/en/bar-chart/bar-markPoint.md b/docs/assets/examples/en/bar-chart/bar-markPoint.md
index b9f738a59e..5f31dadc0a 100644
--- a/docs/assets/examples/en/bar-chart/bar-markPoint.md
+++ b/docs/assets/examples/en/bar-chart/bar-markPoint.md
@@ -83,8 +83,8 @@ const spec = {
type: 'text',
autoRotate: false,
text: {
+ dy: 14,
text: '2 mins',
- dx: -26,
style: {
fill: 'white',
fontSize: 14
@@ -105,7 +105,7 @@ const spec = {
angle: Math.PI,
scaleY: 0.4,
fill: '#000',
- dy: 2,
+ dy: 4,
stroke: '#000'
}
},
diff --git a/docs/assets/examples/en/layout/grid-layout.md b/docs/assets/examples/en/layout/grid-layout.md
index 7c9eaaa02d..f21b200534 100644
--- a/docs/assets/examples/en/layout/grid-layout.md
+++ b/docs/assets/examples/en/layout/grid-layout.md
@@ -75,27 +75,28 @@ const spec = {
},
seriesField: 'type',
outerRadius: 0.45,
- innerRadius: 0.4,
- indicator: {
- visible: true,
- title: {
- visible: true,
- autoFit: true,
- style: {
- text: 'max percent'
- }
- },
- content: {
- visible: true,
- autoFit: true,
- style: {
- text: '70%'
- }
- }
- }
+ innerRadius: 0.4
}
],
indicator: [
+ {
+ regionId: 'circularProgress',
+ visible: true,
+ title: {
+ visible: true,
+ autoFit: true,
+ style: {
+ text: 'percent'
+ }
+ },
+ content: {
+ visible: true,
+ autoFit: true,
+ style: {
+ text: '70%'
+ }
+ }
+ },
{
regionId: 'indicator',
visible: true,
diff --git a/docs/assets/examples/zh/bar-chart/bar-markPoint.md b/docs/assets/examples/zh/bar-chart/bar-markPoint.md
index fd9cbf6969..a86ac7a1ae 100644
--- a/docs/assets/examples/zh/bar-chart/bar-markPoint.md
+++ b/docs/assets/examples/zh/bar-chart/bar-markPoint.md
@@ -79,12 +79,12 @@ const spec = {
cost: 2
},
itemContent: {
- offsetY: -10,
type: 'text',
autoRotate: false,
+ offsetY: -10,
text: {
+ dy: 14,
text: '2分钟',
- dx: -26,
style: {
fill: 'white',
fontSize: 14
@@ -105,7 +105,7 @@ const spec = {
angle: Math.PI,
scaleY: 0.4,
fill: '#000',
- dy: 2,
+ dy: 4,
stroke: '#000'
}
},
diff --git a/docs/assets/examples/zh/layout/grid-layout.md b/docs/assets/examples/zh/layout/grid-layout.md
index 8afd1302f5..b634d23210 100644
--- a/docs/assets/examples/zh/layout/grid-layout.md
+++ b/docs/assets/examples/zh/layout/grid-layout.md
@@ -75,27 +75,28 @@ const spec = {
},
seriesField: 'type',
outerRadius: 0.45,
- innerRadius: 0.4,
- indicator: {
- visible: true,
- title: {
- visible: true,
- autoFit: true,
- style: {
- text: 'max percent'
- }
- },
- content: {
- visible: true,
- autoFit: true,
- style: {
- text: '70%'
- }
- }
- }
+ innerRadius: 0.4
}
],
indicator: [
+ {
+ regionId: 'circularProgress',
+ visible: true,
+ title: {
+ visible: true,
+ autoFit: true,
+ style: {
+ text: 'percent'
+ }
+ },
+ content: {
+ visible: true,
+ autoFit: true,
+ style: {
+ text: '70%'
+ }
+ }
+ },
{
regionId: 'indicator',
visible: true,
diff --git a/docs/assets/option/en/component/indicator/indicator-item.md b/docs/assets/option/en/component/indicator/indicator-item.md
index 0fc8b4b4af..079d351797 100644
--- a/docs/assets/option/en/component/indicator/indicator-item.md
+++ b/docs/assets/option/en/component/indicator/indicator-item.md
@@ -37,7 +37,23 @@ Strategies employed in adaptive text computing. Options:
#${prefix} style(Object)
-Text style
+Text style.
+
+Since version `1.11.7`, in addition to supporting normal attribute assignments, the graphic attributes of the text style also allow configuration of callback functions. For example:
+
+```ts
+indicator: {
+ visible: true,
+ content: [
+ {
+ visible: true,
+ style: {
+ fill: (data) => data['value'] > 100 ? "red": 'black',
+ }
+ }
+ ]
+}
+```
##${prefix} type(string)
diff --git a/docs/assets/option/en/component/mark-point.md b/docs/assets/option/en/component/mark-point.md
index 381593195c..bc5334d201 100644
--- a/docs/assets/option/en/component/mark-point.md
+++ b/docs/assets/option/en/component/mark-point.md
@@ -50,7 +50,7 @@ Since the `1.11.0` version, you can configure the geographical location of the a
** Note that this property is used in a geographic coordinate system **
-### coordinates(Object)
+### coordinate(Object)
Mark target: data element.
Specifies the mark area for the data point. Draw the mark area based on the specified data point.
@@ -296,7 +296,6 @@ For mark content type 'richText', the richText style.
Supported since version `1.11.1`, prefixed tag.
-
#### offset
The gap between the marked content and the marked line.
@@ -318,4 +317,4 @@ The style of targetSymbol.
{{ use: graphic-symbol(
prefix = '####'
-) }}
\ No newline at end of file
+) }}
diff --git a/docs/assets/option/en/component/tooltip.md b/docs/assets/option/en/component/tooltip.md
index 5dd913448d..eb619ed6cc 100644
--- a/docs/assets/option/en/component/tooltip.md
+++ b/docs/assets/option/en/component/tooltip.md
@@ -40,6 +40,14 @@ Locks the tooltip after clicking, usually used in scenarios where `trigger` is `
**_(works on all handlers)_**
+##${prefix} hideTimer(Number)
+
+Supported since version `1.11.7`
+
+hide the tooltip after a certain time, the unit is `ms`.
+
+this option not work with `triggerOff` set to `'none'`.
+
##${prefix} mark(Object)
Customized configuration of the mark tooltip. **_(supports setting on series)(only works on default handler)_**
diff --git a/docs/assets/option/en/series/word-cloud.md b/docs/assets/option/en/series/word-cloud.md
index fba1918086..6343bf5ceb 100644
--- a/docs/assets/option/en/series/word-cloud.md
+++ b/docs/assets/option/en/series/word-cloud.md
@@ -46,7 +46,8 @@ Color mode.
Optional values:
-- `'linear'`: Linear coloring (to be opened)
+
+
- `'ordinal'`: Ordinal coloring
#${prefix} colorList(Array)
diff --git a/docs/assets/option/en/series/word-cloud3d.md b/docs/assets/option/en/series/word-cloud3d.md
index 34d61882ca..fac51e9abf 100644
--- a/docs/assets/option/en/series/word-cloud3d.md
+++ b/docs/assets/option/en/series/word-cloud3d.md
@@ -44,7 +44,8 @@ Color mode.
Optional values:
-- `'linear'`: Linear coloring (to be opened)
+
+
- `'ordinal'`: Ordinal coloring
#${prefix} colorList(Array)
diff --git a/docs/assets/option/zh/component/crosshair.md b/docs/assets/option/zh/component/crosshair.md
index afea5783a9..2668000444 100644
--- a/docs/assets/option/zh/component/crosshair.md
+++ b/docs/assets/option/zh/component/crosshair.md
@@ -39,19 +39,18 @@ crosshair 的触发方式,默认为 'hover',即鼠标悬浮时触发。可
配置十字准星指示器是否跟随`tooltip`显示或者隐藏;注意当使用这种触发模式时,`crosshais`本身的`trigger`、`triggerOff`、`lockAfterClick`这三个配置,将不再生效
当`followTooltip`为对象格式时,类型定义如下:
-
- ```ts
- {
- group?: boolean;
- mark?: boolean;
- dimension?: boolean;
- }
- ```
-
- * `followTooltip.group` 的值为`false`,表示显示的`tooltip`类型为`group`(即分组信息提示)时,不显示`crosshair`
- * `followTooltip.mark` 的值为`false`,表示显示的`tooltip`类型为`mark`(即mark标记信息提示)时,不显示`crosshair`
- * `followTooltip.dimension` 的值为`false`,表示显示的`tooltip`类型为`dimension`(即维度信息提示)时,不显示`crosshair`
+```ts
+{
+ group?: boolean;
+ mark?: boolean;
+ dimension?: boolean;
+}
+```
+
+- `followTooltip.group` 的值为`false`,表示显示的`tooltip`类型为`group`(即分组信息提示)时,不显示`crosshair`
+- `followTooltip.mark` 的值为`false`,表示显示的`tooltip`类型为`mark`(即 mark 标记信息提示)时,不显示`crosshair`
+- `followTooltip.dimension` 的值为`false`,表示显示的`tooltip`类型为`dimension`(即维度信息提示)时,不显示`crosshair`
### labelZIndex(number) = 500
diff --git a/docs/assets/option/zh/component/indicator/indicator-item.md b/docs/assets/option/zh/component/indicator/indicator-item.md
index 6e5b8f53cb..d8adcf1659 100644
--- a/docs/assets/option/zh/component/indicator/indicator-item.md
+++ b/docs/assets/option/zh/component/indicator/indicator-item.md
@@ -37,7 +37,23 @@
#${prefix} style(Object)
-文字样式
+文字样式。
+
+自 `1.11.7` 版本后,指标卡文字样式上的图形属性除了支持正常的属性赋值外,也允许配置回调函数。例如:
+
+```ts
+indicator: {
+ visible: true,
+ content: [
+ {
+ visible: true,
+ style: {
+ fill: (data) => data['value'] > 100 ? "red": 'black',
+ }
+ }
+ ]
+}
+```
##${prefix} type(string)
diff --git a/docs/assets/option/zh/component/mark-point.md b/docs/assets/option/zh/component/mark-point.md
index 0f9bcf1090..bba755a413 100644
--- a/docs/assets/option/zh/component/mark-point.md
+++ b/docs/assets/option/zh/component/mark-point.md
@@ -27,25 +27,30 @@
- 回调函数
### angle(string|number|function)
-自`1.11.0`版本开始支持, 该参考线在极坐标系的angle轴上, 可以配置标注点在angle轴上的值, 或者聚合计算,或者以回调的形式通过数据自行计算。
+
+自`1.11.0`版本开始支持, 该参考线在极坐标系的 angle 轴上, 可以配置标注点在 angle 轴上的值, 或者聚合计算,或者以回调的形式通过数据自行计算。
**注意该属性的使用场景为极坐标系下:**
+
1. 配合配置 angle,radius 属性,用于标注坐标在(angle, radius)上的数据点
### radius(string|number|function)
-自`1.11.0`版本开始支持, 可以配置标注点在angle轴上的值, 或者聚合计算,或者以回调的形式通过数据自行计算。
+
+自`1.11.0`版本开始支持, 可以配置标注点在 angle 轴上的值, 或者聚合计算,或者以回调的形式通过数据自行计算。
**注意该属性的使用场景为极坐标系下:**
+
1. 配合配置 angle,radius 属性,用于标注坐标在(angle, radius)上的数据点
### areaName(string|number|function)
+
自`1.11.0`版本开始支持, 可以配置标注点在地图上的地理位置, 以回调的形式通过数据自行计算。
**注意该属性的使用场景为地理坐标系**
{{ use: component-marker-aggregation-type() }}
-### coordinates(Object)
+### coordinate(Object)
标注目标:数据元素。
指定数据点的标注区域。基于指定数据点进行标注区域的绘制。
@@ -104,9 +109,7 @@
#### arcRatio(number)
-自`1.11.1`版本支持, 当type为type-arc时生效, 数值决定圆心到终点连线的偏移量, 绝对值越小, 曲率越大, 符号决定法向, 不能等于0。
-
-
+自`1.11.1`版本支持, 当 type 为 type-arc 时生效, 数值决定圆心到终点连线的偏移量, 绝对值越小, 曲率越大, 符号决定法向, 不能等于 0。
#### decorativeLine(Object)
@@ -185,22 +188,26 @@
标注内容相对于标注点的 x 方向偏移量。
-除了直接配置偏移量数值外,自`1.11.0` 版本起提供了:
-1. `'regionRight' | 'regionLeft'`: 用于放置在region最左端或最右端。
+除了直接配置偏移量数值外,自`1.11.0` 版本起提供了:
+
+1. `'regionRight' | 'regionLeft'`: 用于放置在 region 最左端或最右端。
2. 回调形式
+
```ts
-(region: IRegion) => number
+(region: IRegion) => number;
```
#### offsetY(number)
标注内容相对于标注点的 y 方向偏移量。
-除了直接配置偏移量数值外,自`1.11.0` 版本起提供了:
-1. `'regionTop' | 'regionBottom'`: 用于放置在region最顶端或最底端。
+除了直接配置偏移量数值外,自`1.11.0` 版本起提供了:
+
+1. `'regionTop' | 'regionBottom'`: 用于放置在 region 最顶端或最底端。
2. 回调形式
+
```ts
-(region: IRegion) => number
+(region: IRegion) => number;
```
{{ use: component-marker-ref(
@@ -208,9 +215,11 @@
) }}
#### confine(boolean) = false
+
自 1.8.7 版本开始, 是否自动调整 item content 使其展示在 marker 可见区域内。
#### symbol(Object)
+
标注内容类型为 symbol 时, 状态和样式配置。
{{ use: component-marker-state(
@@ -230,6 +239,7 @@
) }}
#### image(Object)
+
标注内容类型为 image 时, 状态和样式配置。
{{ use: component-marker-state(
@@ -256,6 +266,7 @@
) }}
#### richText(Object)
+
标注内容类型为 richText 时, 状态和样式配置。
{{ use: component-marker-style-callback(
@@ -281,14 +292,10 @@
animationType = 'callIn | fadeIn'
) }}
-
### targetSymbol(Object)
自`1.11.1`版本支持, 前置标记。
-
-
-
#### offset
被标注内容与标记线间的间隙。
diff --git a/docs/assets/option/zh/component/tooltip.md b/docs/assets/option/zh/component/tooltip.md
index 38ea0b8c0a..15368879fc 100644
--- a/docs/assets/option/zh/component/tooltip.md
+++ b/docs/assets/option/zh/component/tooltip.md
@@ -40,6 +40,14 @@ tooltip 配置。
**_(作用于所有 handler)_**
+##${prefix} hideTimer(Number)
+
+`1.11.7` 版本后支持该配置;
+
+定时隐藏 tooltip,单位为 `ms`。
+
+当 `triggerOff` 设置为 `'none'` 时,该配置不生效。
+
##${prefix} mark(Object)
图元 tooltip 的自定义配置。 **_(支持在系列上设置)(只作用于默认 handler)_**
diff --git a/docs/assets/option/zh/series/word-cloud.md b/docs/assets/option/zh/series/word-cloud.md
index 893ec438c0..0a82eeb741 100644
--- a/docs/assets/option/zh/series/word-cloud.md
+++ b/docs/assets/option/zh/series/word-cloud.md
@@ -46,7 +46,8 @@
可选值:
-- `'linear'`: 线性着色(待开放)
+
+
- `'ordinal'`: 序数着色
#${prefix} colorList(Array)
@@ -67,7 +68,7 @@
当 valueField 存在时,默认值[20,40]; 当 valueField 不存在时,默认值[10, 10]。
-自 1.8.7 版本支持'auto'配置。即如果配置为'auto', 则fontSizeRange不传入, 字体大小会随画布大小改变而改变。
+自 1.8.7 版本支持'auto'配置。即如果配置为'auto', 则 fontSizeRange 不传入, 字体大小会随画布大小改变而改变。
#${prefix} maskShape(string)
@@ -83,7 +84,7 @@
- `'cardioid'`: 心形
- `'circle'`: 圆形
- `'pentagon'`: 五角形
-- `rect`: 矩形(自1.9.3版本支持)
+- `rect`: 矩形(自 1.9.3 版本支持)
#${prefix} random(boolean)
diff --git a/docs/assets/option/zh/series/word-cloud3d.md b/docs/assets/option/zh/series/word-cloud3d.md
index 865dee0191..e980a62d81 100644
--- a/docs/assets/option/zh/series/word-cloud3d.md
+++ b/docs/assets/option/zh/series/word-cloud3d.md
@@ -44,7 +44,8 @@
可选值:
-- `'linear'`: 线性着色(待开放)
+
+
- `'ordinal'`: 序数着色
#${prefix} colorList(Array)
@@ -65,7 +66,7 @@
当 valueField 存在时,默认值[20,40]; 当 valueField 不存在时,默认值[10, 10]。
-自 1.8.7 版本支持'auto'配置。即如果配置为'auto', 则fontSizeRange不传入, 字体大小会随画布大小改变而改变。
+自 1.8.7 版本支持'auto'配置。即如果配置为'auto', 则 fontSizeRange 不传入, 字体大小会随画布大小改变而改变。
#${prefix} maskShape(string)
@@ -81,7 +82,7 @@
- `'cardioid'`: 心形
- `'circle'`: 圆形
- `'pentagon'`: 五角形
-- `rect`: 矩形(自1.9.3版本支持)
+- `rect`: 矩形(自 1.9.3 版本支持)
#${prefix} random(boolean)
diff --git a/docs/package.json b/docs/package.json
index 4d00ffc954..8614a034d0 100644
--- a/docs/package.json
+++ b/docs/package.json
@@ -18,9 +18,9 @@
"@visactor/vchart-theme": "~1.6.6",
"@visactor/vmind": "1.2.4-alpha.5",
"@visactor/vutils": "~0.18.10",
- "@visactor/vrender": "0.19.15",
- "@visactor/vrender-kits": "0.19.15",
- "@visactor/vgrammar": "0.13.12",
+ "@visactor/vrender": "0.19.17",
+ "@visactor/vrender-kits": "0.19.17",
+ "@visactor/vgrammar": "0.13.14",
"markdown-it": "^13.0.0",
"highlight.js": "^11.8.0",
"axios": "^1.4.0",
diff --git a/packages/harmony_vchart/library/CHANGELOG.md b/packages/harmony_vchart/library/CHANGELOG.md
index f5c074ce23..a987acf4b9 100644
--- a/packages/harmony_vchart/library/CHANGELOG.md
+++ b/packages/harmony_vchart/library/CHANGELOG.md
@@ -1,3 +1,26 @@
+# v1.11.7
+
+2024-07-06
+
+
+**🆕 New feature**
+
+- **@visactor/vchart**: support configuring callback function in indicator text style attributes, [#2540](https://github.com/VisActor/VChart/issues/2540)
+- **@visactor/vchart**: add options `hideTimer` in toolti, to hide tooltip by timer
+- **@visactor/vchart**: support `updateIndicatorDataById`/`updateIndicatorDataByIndex` API, related [#2776](https://github.com/VisActor/VChart/issues/2776)
+- **@visactor/vchart**: add `userUpdateOptions` to let user specify update type of charts, fix some animation bug
+
+**🐛 Bug fix**
+
+- **barbackground**: datakey is undefined when set custom datakey fix [#2908](https://github.com/VisActor/VChart/issues/2908)
+- **@visactor/vchart**: fix the issue where `barMaxWidth` does not work when `barWidth` is configured, [#2885](https://github.com/VisActor/VChart/issues/2885)`
+- **@visactor/vchart**: line/area clip animation by incorrect direction
+- **crosshair**: fix bug of crosshair position when legend filter data. fix [#2905](https://github.com/VisActor/VChart/issues/2905)
+- **@visactor/vchart**: fix polar animation logic for radar charts
+- **@visactor/vchart**: type define fix
+
+[more detail about v1.11.7](https://github.com/VisActor/VChart/releases/tag/v1.11.7)
+
# v1.11.6
2024-06-27
diff --git a/packages/openinula-vchart/package.json b/packages/openinula-vchart/package.json
index 33b250a5d4..ad8091a350 100644
--- a/packages/openinula-vchart/package.json
+++ b/packages/openinula-vchart/package.json
@@ -30,9 +30,9 @@
"dependencies": {
"@visactor/vchart": "workspace:1.11.6",
"@visactor/vutils": "~0.18.10",
- "@visactor/vrender-core": "0.19.15",
- "@visactor/vrender-kits": "0.19.15",
- "@visactor/vgrammar-core": "0.13.12",
+ "@visactor/vrender-core": "0.19.17",
+ "@visactor/vrender-kits": "0.19.17",
+ "@visactor/vgrammar-core": "0.13.14",
"react-is": "^18.2.0"
},
"devDependencies": {
diff --git a/packages/react-vchart/package.json b/packages/react-vchart/package.json
index a917de1c52..e599f08412 100644
--- a/packages/react-vchart/package.json
+++ b/packages/react-vchart/package.json
@@ -30,9 +30,9 @@
"dependencies": {
"@visactor/vchart": "workspace:1.11.6",
"@visactor/vutils": "~0.18.10",
- "@visactor/vrender-core": "0.19.15",
- "@visactor/vrender-kits": "0.19.15",
- "@visactor/vgrammar-core": "0.13.12",
+ "@visactor/vrender-core": "0.19.17",
+ "@visactor/vrender-kits": "0.19.17",
+ "@visactor/vgrammar-core": "0.13.14",
"react-is": "^18.2.0"
},
"devDependencies": {
diff --git a/packages/vchart-extension/package.json b/packages/vchart-extension/package.json
index b123992595..ceff598a1e 100644
--- a/packages/vchart-extension/package.json
+++ b/packages/vchart-extension/package.json
@@ -20,8 +20,8 @@
},
"dependencies": {
"@visactor/vchart": "workspace:1.11.6",
- "@visactor/vrender-core": "0.19.15",
- "@visactor/vrender-kits": "0.19.15",
+ "@visactor/vrender-core": "0.19.17",
+ "@visactor/vrender-kits": "0.19.17",
"@visactor/vutils": "~0.18.10"
},
"devDependencies": {
diff --git a/packages/vchart/__tests__/runtime/browser/test-page/area.ts b/packages/vchart/__tests__/runtime/browser/test-page/area.ts
index a718100b7e..d4570bc481 100644
--- a/packages/vchart/__tests__/runtime/browser/test-page/area.ts
+++ b/packages/vchart/__tests__/runtime/browser/test-page/area.ts
@@ -55,6 +55,7 @@ const spec: IAreaChartSpec = {
seriesField: 'country',
legends: [{ visible: true, position: 'middle', orient: 'bottom' }],
crosshair: {
+ followTooltip: true,
xField: { visible: true, label: { visible: true } },
yField: { visible: true, label: { visible: true } }
},
@@ -97,6 +98,8 @@ const spec: IAreaChartSpec = {
}
},
tooltip: {
+ trigger: 'click',
+ hideTimer: 3000,
group: {
triggerMark: ['point']
}
diff --git a/packages/vchart/package.json b/packages/vchart/package.json
index 9f247f438f..79c3288147 100644
--- a/packages/vchart/package.json
+++ b/packages/vchart/package.json
@@ -119,17 +119,17 @@
"@visactor/vutils": "~0.18.10",
"@visactor/vdataset": "~0.18.10",
"@visactor/vscale": "~0.18.10",
- "@visactor/vrender-core": "0.19.15",
- "@visactor/vrender-kits": "0.19.15",
- "@visactor/vrender-components": "0.19.15",
- "@visactor/vgrammar-core": "0.13.12",
- "@visactor/vgrammar-projection": "0.13.12",
- "@visactor/vgrammar-wordcloud": "0.13.12",
- "@visactor/vgrammar-wordcloud-shape": "0.13.12",
- "@visactor/vgrammar-hierarchy": "0.13.12",
- "@visactor/vgrammar-sankey": "0.13.12",
- "@visactor/vgrammar-venn": "0.13.12",
- "@visactor/vgrammar-util": "0.13.12",
+ "@visactor/vrender-core": "0.19.17",
+ "@visactor/vrender-kits": "0.19.17",
+ "@visactor/vrender-components": "0.19.17",
+ "@visactor/vgrammar-core": "0.13.14",
+ "@visactor/vgrammar-projection": "0.13.14",
+ "@visactor/vgrammar-wordcloud": "0.13.14",
+ "@visactor/vgrammar-wordcloud-shape": "0.13.14",
+ "@visactor/vgrammar-hierarchy": "0.13.14",
+ "@visactor/vgrammar-sankey": "0.13.14",
+ "@visactor/vgrammar-venn": "0.13.14",
+ "@visactor/vgrammar-util": "0.13.14",
"@visactor/vutils-extension": "workspace:1.11.6"
},
"publishConfig": {
diff --git a/packages/vchart/src/component/crosshair/cartesian.ts b/packages/vchart/src/component/crosshair/cartesian.ts
index 424e09b05e..6151aa7780 100644
--- a/packages/vchart/src/component/crosshair/cartesian.ts
+++ b/packages/vchart/src/component/crosshair/cartesian.ts
@@ -220,24 +220,29 @@ export class CartesianCrossHair dimData.datum.length > 0);
+ let pos;
+ if (datumIndex > -1) {
+ const dimensionData = dimensionInfo.data[datumIndex];
+ pos = dimensionData.series.dataToPosition(dimensionData.datum[0]);
+ }
const isY = isValid(dimensionInfo.dimType)
? dimensionInfo.dimType === 'y'
: isYAxis(dimensionInfo?.axis?.getOrient() as IOrientType);
if (isY) {
- y = pos.y;
+ y = pos?.y;
} else {
- x = pos.x;
+ x = pos?.x;
}
} else if (activeType === 'mark') {
const dimensionData = (tooltipData as IDimensionData[])[0];
const pos = dimensionData.series.dataToPosition(dimensionData.datum[0]);
- x = pos.x;
- y = pos.y;
+ x = pos?.x;
+ y = pos?.y;
}
}
diff --git a/packages/vchart/src/component/indicator/indicator.ts b/packages/vchart/src/component/indicator/indicator.ts
index 66cbe5bdd9..572f693d44 100644
--- a/packages/vchart/src/component/indicator/indicator.ts
+++ b/packages/vchart/src/component/indicator/indicator.ts
@@ -7,9 +7,9 @@ import type { IRegion } from '../../region/interface';
import type { IIndicator, IIndicatorItemSpec, IIndicatorSpec } from './interface';
import type { Maybe } from '../../typings';
import { mergeSpec } from '@visactor/vutils-extension';
-import { transformToGraphic } from '../../util/style';
+import { transformIndicatorStyle } from '../../util/style';
import { getActualNumValue } from '../../util/space';
-import { isEqual, isValid, isFunction, array, isArray } from '@visactor/vutils';
+import { isEqual, isValid, isFunction, array, isArray, pickWithout } from '@visactor/vutils';
import { indicatorMapper } from './util';
import type { IModelSpecInfo } from '../../model/interface';
import { registerDataSetInstanceTransform } from '../../data/register';
@@ -145,7 +145,7 @@ export class Indicator extends BaseComponent implem
}
}
- private updateDatum(datum: any) {
+ updateDatum(datum: any) {
this._activeDatum = datum;
this._displayData.updateData();
const attrs = this._getIndicatorAttrs();
@@ -193,7 +193,7 @@ export class Indicator extends BaseComponent implem
fitPercent: contentSpec.fitPercent,
fitStrategy: contentSpec.fitStrategy,
style: {
- ...transformToGraphic(contentSpec.style),
+ ...transformIndicatorStyle(pickWithout(contentSpec.style, ['text']), this._activeDatum),
text: this._createText(contentSpec.field, contentSpec.style.text)
}
});
@@ -219,7 +219,7 @@ export class Indicator extends BaseComponent implem
fitPercent: this._spec.title.fitPercent,
fitStrategy: this._spec.title.fitStrategy,
style: {
- ...transformToGraphic(this._spec.title.style),
+ ...transformIndicatorStyle(pickWithout(this._spec.title.style, ['text']), this._activeDatum),
text: this._createText(this._spec.title.field, this._spec.title.style.text as any) // FIXME: type
}
},
diff --git a/packages/vchart/src/component/indicator/interface.ts b/packages/vchart/src/component/indicator/interface.ts
index a76bb421ac..2a6ad3a13b 100644
--- a/packages/vchart/src/component/indicator/interface.ts
+++ b/packages/vchart/src/component/indicator/interface.ts
@@ -58,7 +58,9 @@ export interface IIndicatorItemSpec {
};
}
-export type IIndicator = IComponent;
+export type IIndicator = IComponent & {
+ updateDatum: (datum: any) => void;
+};
export interface IIndicatorSpec extends IComponentSpec {
/**
diff --git a/packages/vchart/src/component/tooltip/interface/spec.ts b/packages/vchart/src/component/tooltip/interface/spec.ts
index 8bd24b8f0f..cc5163fb19 100644
--- a/packages/vchart/src/component/tooltip/interface/spec.ts
+++ b/packages/vchart/src/component/tooltip/interface/spec.ts
@@ -41,6 +41,11 @@ export interface ITooltipSpec
* (*会影响自定义handler)
*/
triggerOff?: MaybeArray<'hover' | 'click'> | 'none';
+ /**
+ * 隐藏计时器
+ * @since 1.11.7
+ */
+ hideTimer?: number;
/**
* 点击后锁定,只有点击才可以更新位置或者解锁,通常用于 trigger 为 `['hover', 'click']` 的场景
* (*会影响自定义handler)
diff --git a/packages/vchart/src/component/tooltip/tooltip.ts b/packages/vchart/src/component/tooltip/tooltip.ts
index a76bdaa1e4..b1c0f68ad7 100644
--- a/packages/vchart/src/component/tooltip/tooltip.ts
+++ b/packages/vchart/src/component/tooltip/tooltip.ts
@@ -50,7 +50,7 @@ export class Tooltip extends BaseComponent implements ITooltip {
specKey = 'tooltip';
layoutType: 'none' = 'none';
-
+ private _timer?: number;
protected declare _spec: ITooltipSpec;
static getSpecInfo(chartSpec: any): Maybe {
@@ -132,6 +132,9 @@ export class Tooltip extends BaseComponent implements ITooltip {
release() {
super.release();
+ if (this._timer) {
+ clearTimeout(this._timer);
+ }
this._eventList.forEach(({ eventType, handler }) => {
this.event.off(eventType, handler);
@@ -240,7 +243,7 @@ export class Tooltip extends BaseComponent implements ITooltip {
this._handleChartMouseOut(params);
};
- protected _handleChartMouseOut = (params: BaseEventParams) => {
+ protected _handleChartMouseOut = (params?: BaseEventParams) => {
if (this._alwaysShow) {
return;
}
@@ -345,6 +348,9 @@ export class Tooltip extends BaseComponent implements ITooltip {
) {
return false;
}
+ if (this._timer) {
+ clearTimeout(this._timer);
+ }
let success: boolean;
if (useCache) {
@@ -365,6 +371,10 @@ export class Tooltip extends BaseComponent implements ITooltip {
this._isTooltipShown = true;
if (isClick && this._spec.lockAfterClick && !this._clickLock) {
this._clickLock = true;
+ } else if (Number.isFinite(this._spec.hideTimer)) {
+ this._timer = setTimeout(() => {
+ this._handleChartMouseOut();
+ }, this._spec.hideTimer as number) as unknown as number;
}
}
// 全局唯一 tooltip
diff --git a/packages/vchart/src/core/interface.ts b/packages/vchart/src/core/interface.ts
index 162ac0eb56..79cce2c6e1 100644
--- a/packages/vchart/src/core/interface.ts
+++ b/packages/vchart/src/core/interface.ts
@@ -28,6 +28,7 @@ import type { IChart, IChartSpecInfo } from '../chart/interface';
import type { Stage } from '@visactor/vrender-core';
import type { IContainerSize } from '@visactor/vrender-components';
import type { IBaseScale } from '@visactor/vscale';
+import type { IUpdateSpecResult } from '../model/interface';
export type DataLinkSeries = {
/**
@@ -119,7 +120,7 @@ export interface IVChart {
spec: ISpec,
forceMerge?: boolean,
morphConfig?: IMorphConfig,
- resetMediaQuery?: boolean
+ userUpdateOptions?: IUpdateSpecResult
) => Promise;
/**
@@ -128,7 +129,12 @@ export interface IVChart {
* @param forceMerge
* @returns
*/
- updateSpecSync: (spec: ISpec, forceMerge?: boolean, morphConfig?: IMorphConfig, resetMediaQuery?: boolean) => void;
+ updateSpecSync: (
+ spec: ISpec,
+ forceMerge?: boolean,
+ morphConfig?: IMorphConfig,
+ userUpdateOptions?: IUpdateSpecResult
+ ) => void;
/**
* **同步方法** 模块 spec 更新
diff --git a/packages/vchart/src/core/vchart.ts b/packages/vchart/src/core/vchart.ts
index a4ca248bb2..44e528b029 100644
--- a/packages/vchart/src/core/vchart.ts
+++ b/packages/vchart/src/core/vchart.ts
@@ -67,7 +67,7 @@ import { AnimationStateEnum } from '../animation/interface';
import type { IBoundsLike, ILogger } from '@visactor/vutils';
import { ThemeManager } from '../theme/theme-manager';
import type { ITheme } from '../theme';
-import type { IModel, IUpdateSpecResult } from '../model/interface';
+import type { IModel, IUpdateDataResult, IUpdateSpecResult } from '../model/interface';
import { Compiler } from '../compile/compiler';
import type { IMorphConfig } from '../animation/spec';
import type { ILegend } from '../component/legend/interface';
@@ -114,6 +114,7 @@ import {
registerElementHighlight as registerHoverInteraction,
registerElementSelect as registerSelectInteraction
} from '../interaction';
+import type { IIndicator } from '../component/indicator';
export class VChart implements IVChart {
readonly id = createID();
@@ -601,6 +602,12 @@ export class VChart implements IVChart {
if (isFunction(updateSpecResult)) {
updateSpecResult = updateSpecResult();
}
+
+ if (updateSpecResult.reAnimate) {
+ this.stopAnimation();
+ this._updateAnimateState(true);
+ }
+
this._reCompile(updateSpecResult);
if (sync) {
return this._renderSync(option);
@@ -744,13 +751,14 @@ export class VChart implements IVChart {
return this._renderSync(option);
}
- private _updateAnimateState() {
+ private _updateAnimateState(initial?: boolean) {
if (this._option.animation) {
+ const animationState = initial ? AnimationStateEnum.appear : AnimationStateEnum.update;
this._chart?.getAllRegions().forEach(region => {
- region.animate?.updateAnimateState(AnimationStateEnum.update, true);
+ region.animate?.updateAnimateState(animationState, true);
});
this._chart?.getAllComponents().forEach(component => {
- component.animate?.updateAnimateState(AnimationStateEnum.update, true);
+ component.animate?.updateAnimateState(animationState, true);
});
}
}
@@ -797,20 +805,25 @@ export class VChart implements IVChart {
* **异步方法** 更新数据。
* @param id 数据 id
* @param data 数据值
- * @param options 数据参数
+ * @param parserOptions 数据参数
* @returns VChart 实例
*/
- async updateData(id: StringOrNumber, data: DataView | Datum[] | string, options?: IParserOptions): Promise {
- return this.updateDataSync(id, data, options);
+ async updateData(
+ id: StringOrNumber,
+ data: DataView | Datum[] | string,
+ parserOptions?: IParserOptions,
+ userUpdateOptions?: IUpdateDataResult
+ ): Promise {
+ return this.updateDataSync(id, data, parserOptions, userUpdateOptions);
}
- private _updateDataById(id: StringOrNumber, data: DataView | Datum[] | string, options?: IParserOptions) {
+ private _updateDataById(id: StringOrNumber, data: DataView | Datum[] | string, parserOptions?: IParserOptions) {
const preDV = this._spec.data.find((dv: any) => dv.name === id || dv.id === id);
if (preDV) {
if (preDV.id === id) {
preDV.values = data;
} else if (preDV.name === id) {
- preDV.parse(data, options);
+ preDV.parse(data, parserOptions);
}
} else {
if (isArray(data)) {
@@ -852,15 +865,25 @@ export class VChart implements IVChart {
* **同步方法** 更新数据
* @param id 数据 id
* @param data 数据值
- * @param options 数据参数
+ * @param parserOptions 数据参数
* @returns VChart 实例
*/
- updateDataSync(id: StringOrNumber, data: DataView | Datum[] | string, options?: IParserOptions) {
+ updateDataSync(
+ id: StringOrNumber,
+ data: DataView | Datum[] | string,
+ parserOptions?: IParserOptions,
+ userUpdateOptions?: IUpdateDataResult
+ ) {
if (isNil(this._dataSet)) {
return this as unknown as IVChart;
}
if (this._chart) {
- this._chart.updateData(id, data, true, options);
+ if (userUpdateOptions?.reAnimate) {
+ this.stopAnimation();
+ this._updateAnimateState(true);
+ }
+
+ this._chart.updateData(id, data, true, parserOptions);
// after layout
this._compiler.render();
@@ -868,7 +891,7 @@ export class VChart implements IVChart {
}
this._spec.data = array(this._spec.data);
- this._updateDataById(id, data, options);
+ this._updateDataById(id, data, parserOptions);
return this as unknown as IVChart;
}
@@ -878,8 +901,16 @@ export class VChart implements IVChart {
* @returns VChart 实例
* @since 1.3.0
*/
- updateFullDataSync(data: IDataValues | IDataValues[], reRender: boolean = true) {
+ updateFullDataSync(
+ data: IDataValues | IDataValues[],
+ reRender: boolean = true,
+ userUpdateOptions?: IUpdateSpecResult
+ ) {
if (this._chart) {
+ if (userUpdateOptions?.reAnimate) {
+ this.stopAnimation();
+ this._updateAnimateState(true);
+ }
this._chart.updateFullData(data);
if (reRender) {
this._compiler.render();
@@ -932,8 +963,13 @@ export class VChart implements IVChart {
* @param forceMerge
* @returns
*/
- async updateSpec(spec: ISpec, forceMerge: boolean = false, morphConfig?: IMorphConfig) {
- const result = this._updateSpec(spec, forceMerge);
+ async updateSpec(
+ spec: ISpec,
+ forceMerge: boolean = false,
+ morphConfig?: IMorphConfig,
+ userUpdateOptions?: IUpdateSpecResult
+ ) {
+ const result = this._updateSpec(spec, forceMerge, userUpdateOptions);
if (!result) {
return this as unknown as IVChart;
@@ -953,8 +989,13 @@ export class VChart implements IVChart {
* @param forceMerge
* @returns
*/
- updateSpecSync(spec: ISpec, forceMerge: boolean = false, morphConfig?: IMorphConfig) {
- const result = this._updateSpec(spec, forceMerge);
+ updateSpecSync(
+ spec: ISpec,
+ forceMerge: boolean = false,
+ morphConfig?: IMorphConfig,
+ userUpdateOptions?: IUpdateSpecResult
+ ) {
+ const result = this._updateSpec(spec, forceMerge, userUpdateOptions);
if (!result) {
return this as unknown as IVChart;
@@ -977,7 +1018,11 @@ export class VChart implements IVChart {
});
}
- private _updateSpec(spec: ISpec, forceMerge: boolean = false): IUpdateSpecResult | undefined {
+ private _updateSpec(
+ spec: ISpec,
+ forceMerge: boolean = false,
+ userUpdateOptions?: IUpdateSpecResult
+ ): IUpdateSpecResult | undefined {
const lastSpec = this._spec;
if (!this._setNewSpec(spec, forceMerge)) {
@@ -1002,13 +1047,20 @@ export class VChart implements IVChart {
}
this._initChartSpec(this._spec, 'render');
- return mergeUpdateResult(this._chart.updateSpec(this._spec), {
+ const res = mergeUpdateResult(this._chart.updateSpec(this._spec), {
reTransformSpec: false,
change: reSize,
reMake: false,
reCompile: false,
reSize
});
+
+ return userUpdateOptions
+ ? {
+ ...res,
+ ...userUpdateOptions
+ }
+ : res;
}
/**
@@ -1942,6 +1994,28 @@ export class VChart implements IVChart {
this._updateSpecInfo();
}
+ /**
+ * 根据 indicator 组件 id 更新 indicator 数据
+ * @since 1.11.7
+ */
+ updateIndicatorDataById(id: string, datum?: Datum) {
+ const indicator = this._chart?.getComponentByUserId(id) as unknown as IIndicator;
+ if (indicator) {
+ indicator.updateDatum(datum);
+ }
+ }
+
+ /**
+ * 根据 indicator 组件索引更新 indicator 数据
+ * @since 1.11.7
+ */
+ updateIndicatorDataByIndex(index: number = 0, datum?: Datum) {
+ const indicators = this._chart?.getComponentsByType(ComponentTypeEnum.indicator) as unknown as IIndicator[];
+ if (indicators && indicators[index]) {
+ indicators[index].updateDatum(datum);
+ }
+ }
+
private _initChartPlugin() {
const pluginList = Factory.getChartPlugins();
if (pluginList.length > 0) {
diff --git a/packages/vchart/src/model/interface.ts b/packages/vchart/src/model/interface.ts
index 34bad40238..026022abfc 100644
--- a/packages/vchart/src/model/interface.ts
+++ b/packages/vchart/src/model/interface.ts
@@ -57,6 +57,11 @@ export interface IUpdateSpecResult {
// TODO: compile 的判断应不应该出现在这里?
reCompile?: boolean;
reTransformSpec?: boolean;
+ reAnimate?: boolean;
+}
+
+export interface IUpdateDataResult {
+ reAnimate?: boolean;
}
export interface IModelProduct {
diff --git a/packages/vchart/src/series/bar/bar.ts b/packages/vchart/src/series/bar/bar.ts
index 82d2b75749..b8a5c8fd72 100644
--- a/packages/vchart/src/series/bar/bar.ts
+++ b/packages/vchart/src/series/bar/bar.ts
@@ -7,6 +7,7 @@ import type { IMark, IMarkProgressiveConfig } from '../../mark/interface';
import { MarkTypeEnum } from '../../mark/interface/type';
import {
AttributeLevel,
+ DEFAULT_DATA_KEY,
STACK_FIELD_END,
STACK_FIELD_END_PERCENT,
STACK_FIELD_START,
@@ -171,11 +172,13 @@ export class BarSeries extends Cartes
continue;
}
const newDataCollect: Datum[] = [];
+ const dataKey = (this._spec.dataKey as string) ?? DEFAULT_DATA_KEY;
for (let j = 0; j < values.length; j++) {
for (let k = 0; k < dataCollect.length; k++) {
newDataCollect.push({
...dataCollect[k],
- [field]: values[j]
+ [field]: values[j],
+ [dataKey]: values[j]
});
}
}
@@ -689,12 +692,12 @@ export class BarSeries extends Cartes
const bandWidth = axisHelper.getBandwidth?.(depth - 1) ?? DefaultBandWidth;
const hasBarWidth = this._spec.barWidth !== undefined && depth === depthFromSpec;
- if (hasBarWidth) {
- return getActualNumValue(this._spec.barWidth, bandWidth);
- }
const hasBarMinWidth = this._spec.barMinWidth !== undefined;
const hasBarMaxWidth = this._spec.barMaxWidth !== undefined;
let width = bandWidth;
+ if (hasBarWidth) {
+ width = getActualNumValue(this._spec.barWidth, bandWidth);
+ }
if (hasBarMinWidth) {
width = Math.max(width, getActualNumValue(this._spec.barMinWidth, bandWidth));
}
diff --git a/packages/vchart/src/series/base/base-series.ts b/packages/vchart/src/series/base/base-series.ts
index 18180dae69..5ee7fc1200 100644
--- a/packages/vchart/src/series/base/base-series.ts
+++ b/packages/vchart/src/series/base/base-series.ts
@@ -87,7 +87,7 @@ import {
maxInArray
} from '@visactor/vutils';
import { ColorOrdinalScale } from '../../scale/color-ordinal-scale';
-import { baseSeriesMark } from './constant';
+import { baseSeriesMark, defaultSeriesIgnoreCheckKeys, defaultSeriesCompileCheckKeys } from './constant';
import { animationConfig, userAnimationConfig, isAnimationEnabledForSeries } from '../../animation/utils';
import { BaseSeriesSpecTransformer } from './base-series-transformer';
import type { EventType } from '@visactor/vgrammar-core';
@@ -1027,7 +1027,11 @@ export abstract class BaseSeries extends BaseModel imp
return result;
}
- ignoreCheckKeys = ignoreCheckKeys ?? { data: true };
+ ignoreCheckKeys = {
+ ...defaultSeriesIgnoreCheckKeys,
+ ...defaultSeriesCompileCheckKeys,
+ ...ignoreCheckKeys
+ };
ignoreCheckKeys.invalidType = true;
if (spec.invalidType !== prevSpec.invalidType) {
@@ -1065,14 +1069,18 @@ export abstract class BaseSeries extends BaseModel imp
result.reCompile = true;
}
+ // check default compile keys
if (
- currentKeys.some(k => {
- if (ignoreCheckKeys[k]) {
- return false;
- } else if (!isEqual(spec[k], prevSpec[k])) {
- return true;
- }
- return false;
+ currentKeys.some((k: string) => {
+ return defaultSeriesCompileCheckKeys[k] && !isEqual(spec[k], prevSpec[k]);
+ })
+ ) {
+ result.reCompile = true;
+ }
+
+ if (
+ currentKeys.some((k: string) => {
+ return !ignoreCheckKeys[k] && !isEqual(spec[k], prevSpec[k]);
})
) {
result.reMake = true;
@@ -1107,6 +1115,12 @@ export abstract class BaseSeries extends BaseModel imp
if (this._tooltipHelper) {
this._tooltipHelper.updateTooltipSpec();
}
+
+ // update animation config
+ const hasAnimation = isAnimationEnabledForSeries(this);
+ if (hasAnimation) {
+ this.initAnimation();
+ }
}
// 首次布局完成后填充系列数据
diff --git a/packages/vchart/src/series/base/constant.ts b/packages/vchart/src/series/base/constant.ts
index 6351b1f456..867b5ce4d3 100644
--- a/packages/vchart/src/series/base/constant.ts
+++ b/packages/vchart/src/series/base/constant.ts
@@ -11,3 +11,16 @@ export const RECT_X = `${PREFIX}_rect_x`;
export const RECT_X1 = `${PREFIX}_rect_x1`;
export const RECT_Y = `${PREFIX}_rect_y`;
export const RECT_Y1 = `${PREFIX}_rect_y1`;
+
+export const defaultSeriesIgnoreCheckKeys: { [key: string]: true } = {
+ data: true
+};
+
+export const defaultSeriesCompileCheckKeys: { [key: string]: true } = {
+ animation: true,
+ animationAppear: true,
+ animationEnter: true,
+ animationUpdate: true,
+ animationExit: true,
+ animationNormal: true
+};
diff --git a/packages/vchart/src/series/word-cloud/interface.ts b/packages/vchart/src/series/word-cloud/interface.ts
index 2747fc6ef7..82eff26e77 100644
--- a/packages/vchart/src/series/word-cloud/interface.ts
+++ b/packages/vchart/src/series/word-cloud/interface.ts
@@ -213,8 +213,9 @@ export interface IWordCloudSeriesBaseSpec extends ISeriesSpec, IAnimationSpec {
+ if (isFunction(style[key])) {
+ newStateStyle[key] = style[key](datum);
+ } else {
+ newStateStyle[key] = style[key];
+ }
+ });
+ return transformToGraphic(newStateStyle);
+}
+
export function transformToGraphic(style: any) {
if (style?.angle) {
style.angle = degreeToRadian(style.angle);
diff --git a/packages/vstory/package.json b/packages/vstory/package.json
index 4abad4acf9..40c5d5e414 100644
--- a/packages/vstory/package.json
+++ b/packages/vstory/package.json
@@ -21,9 +21,9 @@
},
"dependencies": {
"@visactor/vchart": "workspace:1.11.0",
- "@visactor/vrender-core": "0.19.15",
- "@visactor/vrender-kits": "0.19.15",
- "@visactor/vrender-components": "0.19.15",
+ "@visactor/vrender-core": "0.19.17",
+ "@visactor/vrender-kits": "0.19.17",
+ "@visactor/vrender-components": "0.19.17",
"@visactor/vutils": "~0.18.10"
},
"devDependencies": {
diff --git a/tools/story-player/package.json b/tools/story-player/package.json
index 3591728616..ba072d44d5 100644
--- a/tools/story-player/package.json
+++ b/tools/story-player/package.json
@@ -56,10 +56,10 @@
"vite": "3.2.6"
},
"dependencies": {
- "@visactor/vrender-core": "0.19.15",
- "@visactor/vrender-kits": "0.19.15",
+ "@visactor/vrender-core": "0.19.17",
+ "@visactor/vrender-kits": "0.19.17",
"@visactor/vchart": "workspace:1.11.6",
- "@visactor/vrender": "0.19.15",
+ "@visactor/vrender": "0.19.17",
"@visactor/vutils": "~0.18.10"
}
}