@visactor/vchart-schema 1.13.0 → 1.13.1-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/vchart.json +13 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visactor/vchart-schema",
3
- "version": "1.13.0",
3
+ "version": "1.13.1-alpha.1",
4
4
  "description": "The VChart JSON schema file.",
5
5
  "sideEffects": false,
6
6
  "main": "vchart.json",
@@ -19,8 +19,8 @@
19
19
  "jest-electron": "^0.1.12",
20
20
  "ts-jest": "^26.0.0",
21
21
  "@types/semver": "7.3.12",
22
- "@internal/eslint-config": "0.0.1",
23
- "@internal/ts-config": "0.0.1"
22
+ "@internal/ts-config": "0.0.1",
23
+ "@internal/eslint-config": "0.0.1"
24
24
  },
25
25
  "homepage": "",
26
26
  "bugs": "https://github.com/VisActor/VChart/issues",
package/vchart.json CHANGED
@@ -49205,6 +49205,15 @@
49205
49205
  "description": "最小值,当且仅当该值小于数据最小值时,才能生效\n注意:不建议和配置`min`一起使用",
49206
49206
  "since": "1.11.0"
49207
49207
  },
49208
+ "tooltipFilterMode": {
49209
+ "default": "'multiple'",
49210
+ "description": "配置 tooltipFilterRange 后的数据筛选规则\n当 `tooltipFilterMode` 为 'multiple' 时,`tooltipFilterRange` 范围内的所有数据都将被选中。\n当 `tooltipFilterMode` 为 'single' 时,将会选中 `tooltipFilterRange` 范围内最近的数据。",
49211
+ "enum": [
49212
+ "multiple",
49213
+ "single"
49214
+ ],
49215
+ "type": "string"
49216
+ },
49208
49217
  "tooltipFilterRange": {
49209
49218
  "anyOf": [
49210
49219
  {
@@ -49220,11 +49229,14 @@
49220
49229
  "minItems": 2,
49221
49230
  "type": "array"
49222
49231
  },
49232
+ {
49233
+ "typeof": "function"
49234
+ },
49223
49235
  {
49224
49236
  "type": "number"
49225
49237
  }
49226
49238
  ],
49227
- "description": "连续轴上的 dimension tooltip 数据筛选范围\n如果配置为单个数字 d,则筛选区间为 [x0 - d, x0 + d];如果配置为二元组 [d1, d2],则筛选区间为 [x0 + d1, x0 + d2]",
49239
+ "description": "连续轴上的 dimension tooltip 数据筛选范围\n如果配置为单个数字 d,则筛选区间为 [x0 - d, x0 + d];如果配置为二元组 [d1, d2],则筛选区间为 [x0 + d1, x0 + d2]\n如果配置为函数 f, 函数的返回值将会作为数据筛选范围的值",
49228
49240
  "since": "1.4.0"
49229
49241
  },
49230
49242
  "zero": {