@visactor/vseed 0.1.50 → 0.2.0

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 (280) hide show
  1. package/dist/cjs/index.cjs +3 -3
  2. package/dist/cjs/index.cjs.map +1 -1
  3. package/dist/esm/builder/builder/buildAdvanced.js +1 -1
  4. package/dist/esm/builder/builder/buildAdvanced.js.map +1 -1
  5. package/dist/esm/builder/builder/buildSpec.js +1 -1
  6. package/dist/esm/builder/builder/buildSpec.js.map +1 -1
  7. package/dist/esm/builder/builder/builder.d.ts +817 -1
  8. package/dist/esm/builder/builder/builder.js +5 -1
  9. package/dist/esm/builder/builder/builder.js.map +1 -1
  10. package/dist/esm/dataSelector/selector.d.ts +5 -0
  11. package/dist/esm/dataSelector/selector.js +92 -50
  12. package/dist/esm/dataSelector/selector.js.map +1 -1
  13. package/dist/esm/pipeline/advanced/chart/pipeline/donut.js +3 -3
  14. package/dist/esm/pipeline/advanced/chart/pipeline/donut.js.map +1 -1
  15. package/dist/esm/pipeline/advanced/chart/pipeline/histogram.js +1 -2
  16. package/dist/esm/pipeline/advanced/chart/pipeline/histogram.js.map +1 -1
  17. package/dist/esm/pipeline/advanced/chart/pipeline/pie.js +3 -3
  18. package/dist/esm/pipeline/advanced/chart/pipeline/pie.js.map +1 -1
  19. package/dist/esm/pipeline/advanced/chart/pipes/config/boxplot.js +2 -1
  20. package/dist/esm/pipeline/advanced/chart/pipes/config/boxplot.js.map +1 -1
  21. package/dist/esm/pipeline/advanced/chart/pipes/config/column.js +2 -1
  22. package/dist/esm/pipeline/advanced/chart/pipes/config/column.js.map +1 -1
  23. package/dist/esm/pipeline/advanced/chart/pipes/config/dualAxis.js +2 -1
  24. package/dist/esm/pipeline/advanced/chart/pipes/config/dualAxis.js.map +1 -1
  25. package/dist/esm/pipeline/advanced/chart/pipes/config/histogram.js +2 -1
  26. package/dist/esm/pipeline/advanced/chart/pipes/config/histogram.js.map +1 -1
  27. package/dist/esm/pipeline/advanced/chart/pipes/config/line.js +2 -1
  28. package/dist/esm/pipeline/advanced/chart/pipes/config/line.js.map +1 -1
  29. package/dist/esm/pipeline/advanced/chart/pipes/config/scatter.js +2 -1
  30. package/dist/esm/pipeline/advanced/chart/pipes/config/scatter.js.map +1 -1
  31. package/dist/esm/pipeline/advanced/chart/pipes/encoding/pie.js +8 -6
  32. package/dist/esm/pipeline/advanced/chart/pipes/encoding/pie.js.map +1 -1
  33. package/dist/esm/pipeline/advanced/chart/pipes/markStyle/markStyle.js +3 -1
  34. package/dist/esm/pipeline/advanced/chart/pipes/markStyle/markStyle.js.map +1 -1
  35. package/dist/esm/pipeline/advanced/chart/pipes/measures/buildMeasures.js +2 -1
  36. package/dist/esm/pipeline/advanced/chart/pipes/measures/buildMeasures.js.map +1 -1
  37. package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithBoxplotEncoding.js +1 -1
  38. package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithBoxplotEncoding.js.map +1 -1
  39. package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithEncoding.js +1 -1
  40. package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithEncoding.js.map +1 -1
  41. package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithHistogramEncoding.js +1 -1
  42. package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithHistogramEncoding.js.map +1 -1
  43. package/dist/esm/pipeline/advanced/chart/pipes/reshape/reshapeWithEncoding.js +1 -1
  44. package/dist/esm/pipeline/advanced/chart/pipes/reshape/reshapeWithEncoding.js.map +1 -1
  45. package/dist/esm/pipeline/spec/chart/pipeline/area.js +3 -2
  46. package/dist/esm/pipeline/spec/chart/pipeline/area.js.map +1 -1
  47. package/dist/esm/pipeline/spec/chart/pipeline/areaPercent.js +3 -2
  48. package/dist/esm/pipeline/spec/chart/pipeline/areaPercent.js.map +1 -1
  49. package/dist/esm/pipeline/spec/chart/pipeline/bar.js +3 -2
  50. package/dist/esm/pipeline/spec/chart/pipeline/bar.js.map +1 -1
  51. package/dist/esm/pipeline/spec/chart/pipeline/barParallel.js +3 -2
  52. package/dist/esm/pipeline/spec/chart/pipeline/barParallel.js.map +1 -1
  53. package/dist/esm/pipeline/spec/chart/pipeline/barPercent.js +3 -2
  54. package/dist/esm/pipeline/spec/chart/pipeline/barPercent.js.map +1 -1
  55. package/dist/esm/pipeline/spec/chart/pipeline/boxplot.js +8 -6
  56. package/dist/esm/pipeline/spec/chart/pipeline/boxplot.js.map +1 -1
  57. package/dist/esm/pipeline/spec/chart/pipeline/column.js +3 -2
  58. package/dist/esm/pipeline/spec/chart/pipeline/column.js.map +1 -1
  59. package/dist/esm/pipeline/spec/chart/pipeline/columnParallel.js +3 -2
  60. package/dist/esm/pipeline/spec/chart/pipeline/columnParallel.js.map +1 -1
  61. package/dist/esm/pipeline/spec/chart/pipeline/columnPercent.js +3 -2
  62. package/dist/esm/pipeline/spec/chart/pipeline/columnPercent.js.map +1 -1
  63. package/dist/esm/pipeline/spec/chart/pipeline/dualAxis.js +19 -16
  64. package/dist/esm/pipeline/spec/chart/pipeline/dualAxis.js.map +1 -1
  65. package/dist/esm/pipeline/spec/chart/pipeline/histogram.js +3 -2
  66. package/dist/esm/pipeline/spec/chart/pipeline/histogram.js.map +1 -1
  67. package/dist/esm/pipeline/spec/chart/pipeline/line.js +3 -2
  68. package/dist/esm/pipeline/spec/chart/pipeline/line.js.map +1 -1
  69. package/dist/esm/pipeline/spec/chart/pipeline/scatter.js +6 -3
  70. package/dist/esm/pipeline/spec/chart/pipeline/scatter.js.map +1 -1
  71. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPointOfDualAxis.d.ts +2 -0
  72. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPointOfDualAxis.js +94 -0
  73. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPointOfDualAxis.js.map +1 -0
  74. package/dist/esm/pipeline/spec/chart/pipes/annotation/index.d.ts +1 -0
  75. package/dist/esm/pipeline/spec/chart/pipes/annotation/index.js +2 -1
  76. package/dist/esm/pipeline/spec/chart/pipes/annotation/utils.d.ts +1 -1
  77. package/dist/esm/pipeline/spec/chart/pipes/annotation/utils.js +2 -1
  78. package/dist/esm/pipeline/spec/chart/pipes/annotation/utils.js.map +1 -1
  79. package/dist/esm/pipeline/spec/chart/pipes/axes/xBand.js +12 -1
  80. package/dist/esm/pipeline/spec/chart/pipes/axes/xBand.js.map +1 -1
  81. package/dist/esm/pipeline/spec/chart/pipes/axes/yBand.js +12 -1
  82. package/dist/esm/pipeline/spec/chart/pipes/axes/yBand.js.map +1 -1
  83. package/dist/esm/pipeline/spec/chart/pipes/color/colorBoxPlotStyleFill.d.ts +2 -0
  84. package/dist/esm/pipeline/spec/chart/pipes/color/colorBoxPlotStyleFill.js +17 -0
  85. package/dist/esm/pipeline/spec/chart/pipes/color/colorBoxPlotStyleFill.js.map +1 -0
  86. package/dist/esm/pipeline/spec/chart/pipes/color/index.d.ts +1 -0
  87. package/dist/esm/pipeline/spec/chart/pipes/color/index.js +2 -1
  88. package/dist/esm/pipeline/spec/chart/pipes/crosshair/horizontalCrosshairLine.js +3 -0
  89. package/dist/esm/pipeline/spec/chart/pipes/crosshair/horizontalCrosshairLine.js.map +1 -1
  90. package/dist/esm/pipeline/spec/chart/pipes/crosshair/horizontalCrosshairRect.js +4 -1
  91. package/dist/esm/pipeline/spec/chart/pipes/crosshair/horizontalCrosshairRect.js.map +1 -1
  92. package/dist/esm/pipeline/spec/chart/pipes/crosshair/verticalCrosshairLine.js +3 -0
  93. package/dist/esm/pipeline/spec/chart/pipes/crosshair/verticalCrosshairLine.js.map +1 -1
  94. package/dist/esm/pipeline/spec/chart/pipes/crosshair/verticalCrosshairRect.js +4 -1
  95. package/dist/esm/pipeline/spec/chart/pipes/crosshair/verticalCrosshairRect.js.map +1 -1
  96. package/dist/esm/pipeline/spec/chart/pipes/index.d.ts +1 -0
  97. package/dist/esm/pipeline/spec/chart/pipes/index.js +1 -0
  98. package/dist/esm/pipeline/spec/chart/pipes/init/pivot.js +2 -2
  99. package/dist/esm/pipeline/spec/chart/pipes/init/pivot.js.map +1 -1
  100. package/dist/esm/pipeline/spec/chart/pipes/markStyle/boxPlotStyle.d.ts +2 -0
  101. package/dist/esm/pipeline/spec/chart/pipes/markStyle/boxPlotStyle.js +52 -0
  102. package/dist/esm/pipeline/spec/chart/pipes/markStyle/boxPlotStyle.js.map +1 -0
  103. package/dist/esm/pipeline/spec/chart/pipes/markStyle/index.d.ts +2 -0
  104. package/dist/esm/pipeline/spec/chart/pipes/markStyle/index.js +3 -1
  105. package/dist/esm/pipeline/spec/chart/pipes/markStyle/outlierStyle.d.ts +2 -0
  106. package/dist/esm/pipeline/spec/chart/pipes/markStyle/outlierStyle.js +67 -0
  107. package/dist/esm/pipeline/spec/chart/pipes/markStyle/outlierStyle.js.map +1 -0
  108. package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/areaStyleFilter.d.ts +2 -0
  109. package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/areaStyleFilter.js +7 -0
  110. package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/areaStyleFilter.js.map +1 -0
  111. package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/barStyleFilter.d.ts +2 -0
  112. package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/barStyleFilter.js +7 -0
  113. package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/barStyleFilter.js.map +1 -0
  114. package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/index.d.ts +4 -0
  115. package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/index.js +4 -0
  116. package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/lineStyleFilter.d.ts +2 -0
  117. package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/lineStyleFilter.js +7 -0
  118. package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/lineStyleFilter.js.map +1 -0
  119. package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/pointStyleFilter.d.ts +2 -0
  120. package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/pointStyleFilter.js +7 -0
  121. package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/pointStyleFilter.js.map +1 -0
  122. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/dimensionLinkage.d.ts +2 -0
  123. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/dimensionLinkage.js +47 -0
  124. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/dimensionLinkage.js.map +1 -0
  125. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/index.d.ts +1 -0
  126. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/index.js +2 -1
  127. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotAxisStyle.js +2 -0
  128. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotAxisStyle.js.map +1 -1
  129. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotGridStyle.js +16 -1
  130. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotGridStyle.js.map +1 -1
  131. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotIndicators.js +3 -2
  132. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotIndicators.js.map +1 -1
  133. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/columnRegressionLine.js +18 -12
  134. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/columnRegressionLine.js.map +1 -1
  135. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/common.d.ts +1 -0
  136. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/common.js +2 -1
  137. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/common.js.map +1 -1
  138. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/ecdfRegressionLine.js +9 -5
  139. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/ecdfRegressionLine.js.map +1 -1
  140. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/kdeRegressionLine.js +14 -6
  141. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/kdeRegressionLine.js.map +1 -1
  142. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/linearRegressionLine.js +69 -32
  143. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/linearRegressionLine.js.map +1 -1
  144. package/dist/esm/pipeline/spec/chart/pipes/stack/stackCornerRadius.js +2 -3
  145. package/dist/esm/pipeline/spec/chart/pipes/stack/stackCornerRadius.js.map +1 -1
  146. package/dist/esm/pipeline/spec/chart/pipes/tooltip/index.d.ts +1 -1
  147. package/dist/esm/pipeline/spec/chart/pipes/tooltip/index.js +2 -2
  148. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipBoxplot.js +8 -8
  149. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipBoxplot.js.map +1 -1
  150. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipDualAxis.d.ts +1 -0
  151. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipDualAxis.js +16 -2
  152. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipDualAxis.js.map +1 -1
  153. package/dist/esm/pipeline/utils/measures/find.d.ts +1 -0
  154. package/dist/esm/pipeline/utils/measures/find.js +13 -1
  155. package/dist/esm/pipeline/utils/measures/find.js.map +1 -1
  156. package/dist/esm/theme/common/axes.js +4 -4
  157. package/dist/esm/theme/common/axes.js.map +1 -1
  158. package/dist/esm/theme/common/boxPlot.d.ts +5 -0
  159. package/dist/esm/theme/common/boxPlot.js +15 -0
  160. package/dist/esm/theme/common/boxPlot.js.map +1 -0
  161. package/dist/esm/theme/common/crosshair.js +4 -4
  162. package/dist/esm/theme/common/crosshair.js.map +1 -1
  163. package/dist/esm/theme/common/table.js +2 -0
  164. package/dist/esm/theme/common/table.js.map +1 -1
  165. package/dist/esm/theme/dark/dark.js +4 -1
  166. package/dist/esm/theme/dark/dark.js.map +1 -1
  167. package/dist/esm/theme/light/light.js +4 -1
  168. package/dist/esm/theme/light/light.js.map +1 -1
  169. package/dist/esm/types/advancedVSeed.d.ts +533 -0
  170. package/dist/esm/types/advancedVSeed.js +1 -0
  171. package/dist/esm/types/advancedVSeed.js.map +1 -1
  172. package/dist/esm/types/chartType/area/area.d.ts +6 -1
  173. package/dist/esm/types/chartType/area/zArea.d.ts +5 -0
  174. package/dist/esm/types/chartType/area/zArea.js +2 -1
  175. package/dist/esm/types/chartType/area/zArea.js.map +1 -1
  176. package/dist/esm/types/chartType/areaPercent/areaPercent.d.ts +6 -1
  177. package/dist/esm/types/chartType/areaPercent/zAreaPercent.d.ts +5 -0
  178. package/dist/esm/types/chartType/areaPercent/zAreaPercent.js +2 -1
  179. package/dist/esm/types/chartType/areaPercent/zAreaPercent.js.map +1 -1
  180. package/dist/esm/types/chartType/bar/bar.d.ts +6 -1
  181. package/dist/esm/types/chartType/bar/zBar.d.ts +5 -0
  182. package/dist/esm/types/chartType/bar/zBar.js +2 -1
  183. package/dist/esm/types/chartType/bar/zBar.js.map +1 -1
  184. package/dist/esm/types/chartType/barParallel/barParallel.d.ts +6 -1
  185. package/dist/esm/types/chartType/barParallel/zBarParallel.d.ts +5 -0
  186. package/dist/esm/types/chartType/barParallel/zBarParallel.js +2 -1
  187. package/dist/esm/types/chartType/barParallel/zBarParallel.js.map +1 -1
  188. package/dist/esm/types/chartType/barPercent/barPercent.d.ts +6 -1
  189. package/dist/esm/types/chartType/barPercent/zBarPercent.d.ts +5 -0
  190. package/dist/esm/types/chartType/barPercent/zBarPercent.js +2 -1
  191. package/dist/esm/types/chartType/barPercent/zBarPercent.js.map +1 -1
  192. package/dist/esm/types/chartType/boxplot/boxplot.d.ts +14 -1
  193. package/dist/esm/types/chartType/boxplot/zBoxplot.d.ts +321 -0
  194. package/dist/esm/types/chartType/boxplot/zBoxplot.js +4 -1
  195. package/dist/esm/types/chartType/boxplot/zBoxplot.js.map +1 -1
  196. package/dist/esm/types/chartType/column/column.d.ts +6 -1
  197. package/dist/esm/types/chartType/column/zColumn.d.ts +5 -0
  198. package/dist/esm/types/chartType/column/zColumn.js +2 -1
  199. package/dist/esm/types/chartType/column/zColumn.js.map +1 -1
  200. package/dist/esm/types/chartType/columnParallel/columnParallel.d.ts +6 -1
  201. package/dist/esm/types/chartType/columnParallel/zColumnParallel.d.ts +5 -0
  202. package/dist/esm/types/chartType/columnParallel/zColumnParallel.js +2 -1
  203. package/dist/esm/types/chartType/columnParallel/zColumnParallel.js.map +1 -1
  204. package/dist/esm/types/chartType/columnPercent/columnPercent.d.ts +6 -1
  205. package/dist/esm/types/chartType/columnPercent/zColumnPercent.d.ts +5 -0
  206. package/dist/esm/types/chartType/columnPercent/zColumnPercent.js +2 -1
  207. package/dist/esm/types/chartType/columnPercent/zColumnPercent.js.map +1 -1
  208. package/dist/esm/types/chartType/dualAxis/dualAxis.d.ts +6 -1
  209. package/dist/esm/types/chartType/dualAxis/zDualAxis.d.ts +5 -0
  210. package/dist/esm/types/chartType/dualAxis/zDualAxis.js +2 -1
  211. package/dist/esm/types/chartType/dualAxis/zDualAxis.js.map +1 -1
  212. package/dist/esm/types/chartType/histogram/histogram.d.ts +6 -1
  213. package/dist/esm/types/chartType/histogram/zHistogram.d.ts +5 -0
  214. package/dist/esm/types/chartType/histogram/zHistogram.js +2 -1
  215. package/dist/esm/types/chartType/histogram/zHistogram.js.map +1 -1
  216. package/dist/esm/types/chartType/line/line.d.ts +6 -1
  217. package/dist/esm/types/chartType/line/zLine.d.ts +5 -0
  218. package/dist/esm/types/chartType/line/zLine.js +2 -1
  219. package/dist/esm/types/chartType/line/zLine.js.map +1 -1
  220. package/dist/esm/types/chartType/scatter/scatter.d.ts +6 -1
  221. package/dist/esm/types/chartType/scatter/zScatter.d.ts +5 -0
  222. package/dist/esm/types/chartType/scatter/zScatter.js +2 -1
  223. package/dist/esm/types/chartType/scatter/zScatter.js.map +1 -1
  224. package/dist/esm/types/index.d.ts +1 -0
  225. package/dist/esm/types/index.js +1 -0
  226. package/dist/esm/types/properties/config/area.d.ts +10 -0
  227. package/dist/esm/types/properties/config/area.js +3 -1
  228. package/dist/esm/types/properties/config/area.js.map +1 -1
  229. package/dist/esm/types/properties/config/bar.d.ts +15 -0
  230. package/dist/esm/types/properties/config/bar.js +3 -1
  231. package/dist/esm/types/properties/config/bar.js.map +1 -1
  232. package/dist/esm/types/properties/config/boxplot.d.ts +26 -0
  233. package/dist/esm/types/properties/config/boxplot.js +10 -1
  234. package/dist/esm/types/properties/config/boxplot.js.map +1 -1
  235. package/dist/esm/types/properties/config/column.d.ts +15 -0
  236. package/dist/esm/types/properties/config/column.js +3 -1
  237. package/dist/esm/types/properties/config/column.js.map +1 -1
  238. package/dist/esm/types/properties/config/config.d.ts +86 -0
  239. package/dist/esm/types/properties/config/dimensionLinkage/dimensionLinkage.d.ts +23 -0
  240. package/dist/esm/types/properties/config/dimensionLinkage/dimensionLinkage.js +9 -0
  241. package/dist/esm/types/properties/config/dimensionLinkage/dimensionLinkage.js.map +1 -0
  242. package/dist/esm/types/properties/config/dimensionLinkage/index.d.ts +1 -0
  243. package/dist/esm/types/properties/config/dimensionLinkage/index.js +1 -0
  244. package/dist/esm/types/properties/config/dualAxis.d.ts +5 -0
  245. package/dist/esm/types/properties/config/dualAxis.js +3 -1
  246. package/dist/esm/types/properties/config/dualAxis.js.map +1 -1
  247. package/dist/esm/types/properties/config/histogram.d.ts +5 -0
  248. package/dist/esm/types/properties/config/histogram.js +3 -1
  249. package/dist/esm/types/properties/config/histogram.js.map +1 -1
  250. package/dist/esm/types/properties/config/index.d.ts +1 -0
  251. package/dist/esm/types/properties/config/index.js +1 -0
  252. package/dist/esm/types/properties/config/label/pieLabel.d.ts +2 -2
  253. package/dist/esm/types/properties/config/line.d.ts +5 -0
  254. package/dist/esm/types/properties/config/line.js +3 -1
  255. package/dist/esm/types/properties/config/line.js.map +1 -1
  256. package/dist/esm/types/properties/config/scatter.d.ts +5 -0
  257. package/dist/esm/types/properties/config/scatter.js +3 -1
  258. package/dist/esm/types/properties/config/scatter.js.map +1 -1
  259. package/dist/esm/types/properties/markStyle/boxPlotStyle.d.ts +148 -0
  260. package/dist/esm/types/properties/markStyle/boxPlotStyle.js +14 -0
  261. package/dist/esm/types/properties/markStyle/boxPlotStyle.js.map +1 -0
  262. package/dist/esm/types/properties/markStyle/index.d.ts +2 -0
  263. package/dist/esm/types/properties/markStyle/index.js +2 -0
  264. package/dist/esm/types/properties/markStyle/markStyle.d.ts +316 -0
  265. package/dist/esm/types/properties/markStyle/markStyle.js +5 -1
  266. package/dist/esm/types/properties/markStyle/markStyle.js.map +1 -1
  267. package/dist/esm/types/properties/markStyle/outlierStyle.d.ts +161 -0
  268. package/dist/esm/types/properties/markStyle/outlierStyle.js +22 -0
  269. package/dist/esm/types/properties/markStyle/outlierStyle.js.map +1 -0
  270. package/dist/esm/types/properties/regressionLine/ecdfRegressionLine.d.ts +2 -2
  271. package/dist/esm/types/properties/regressionLine/kdeRegressionLine.d.ts +2 -2
  272. package/dist/esm/types/properties/regressionLine/linearRegressionLine.d.ts +2 -2
  273. package/dist/esm/types/properties/regressionLine/logisticRegressionLine.d.ts +2 -2
  274. package/dist/esm/types/properties/regressionLine/lowessRegressionLine.d.ts +2 -2
  275. package/dist/esm/types/properties/regressionLine/polynomialRegressionLine.d.ts +2 -2
  276. package/dist/esm/types/properties/theme/customTheme.d.ts +172 -0
  277. package/dist/esm/types/zVseed.d.ts +381 -0
  278. package/dist/umd/index.js +845 -279
  279. package/dist/umd/index.js.map +1 -1
  280. package/package.json +5 -5
@@ -453,6 +453,322 @@ export declare const zBoxplot: z.ZodObject<{
453
453
  labelVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
454
454
  labelBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
455
455
  }, z.core.$strip>>>;
456
+ boxPlotStyle: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
457
+ selector: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
458
+ field: z.ZodString;
459
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
460
+ "=": "=";
461
+ "==": "==";
462
+ "!=": "!=";
463
+ ">": ">";
464
+ "<": "<";
465
+ ">=": ">=";
466
+ "<=": "<=";
467
+ between: "between";
468
+ }>>>;
469
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
470
+ "=": "=";
471
+ "==": "==";
472
+ "!=": "!=";
473
+ ">": ">";
474
+ "<": "<";
475
+ ">=": ">=";
476
+ "<=": "<=";
477
+ between: "between";
478
+ }>>>;
479
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
480
+ }, z.core.$strip>, z.ZodObject<{
481
+ field: z.ZodString;
482
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
483
+ in: "in";
484
+ "not in": "not in";
485
+ }>>>;
486
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
487
+ in: "in";
488
+ "not in": "not in";
489
+ }>>>;
490
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
491
+ }, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
492
+ field: z.ZodString;
493
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
494
+ "=": "=";
495
+ "==": "==";
496
+ "!=": "!=";
497
+ ">": ">";
498
+ "<": "<";
499
+ ">=": ">=";
500
+ "<=": "<=";
501
+ between: "between";
502
+ }>>>;
503
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
504
+ "=": "=";
505
+ "==": "==";
506
+ "!=": "!=";
507
+ ">": ">";
508
+ "<": "<";
509
+ ">=": ">=";
510
+ "<=": "<=";
511
+ between: "between";
512
+ }>>>;
513
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
514
+ }, z.core.$strip>, z.ZodObject<{
515
+ field: z.ZodString;
516
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
517
+ in: "in";
518
+ "not in": "not in";
519
+ }>>>;
520
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
521
+ in: "in";
522
+ "not in": "not in";
523
+ }>>>;
524
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
525
+ }, z.core.$strip>]>>]>>>;
526
+ boxVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
527
+ boxColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
528
+ boxColorOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
529
+ boxBorderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
530
+ boxBorderWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
531
+ boxBorderOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
532
+ }, z.core.$strip>>, z.ZodObject<{
533
+ selector: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
534
+ field: z.ZodString;
535
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
536
+ "=": "=";
537
+ "==": "==";
538
+ "!=": "!=";
539
+ ">": ">";
540
+ "<": "<";
541
+ ">=": ">=";
542
+ "<=": "<=";
543
+ between: "between";
544
+ }>>>;
545
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
546
+ "=": "=";
547
+ "==": "==";
548
+ "!=": "!=";
549
+ ">": ">";
550
+ "<": "<";
551
+ ">=": ">=";
552
+ "<=": "<=";
553
+ between: "between";
554
+ }>>>;
555
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
556
+ }, z.core.$strip>, z.ZodObject<{
557
+ field: z.ZodString;
558
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
559
+ in: "in";
560
+ "not in": "not in";
561
+ }>>>;
562
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
563
+ in: "in";
564
+ "not in": "not in";
565
+ }>>>;
566
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
567
+ }, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
568
+ field: z.ZodString;
569
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
570
+ "=": "=";
571
+ "==": "==";
572
+ "!=": "!=";
573
+ ">": ">";
574
+ "<": "<";
575
+ ">=": ">=";
576
+ "<=": "<=";
577
+ between: "between";
578
+ }>>>;
579
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
580
+ "=": "=";
581
+ "==": "==";
582
+ "!=": "!=";
583
+ ">": ">";
584
+ "<": "<";
585
+ ">=": ">=";
586
+ "<=": "<=";
587
+ between: "between";
588
+ }>>>;
589
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
590
+ }, z.core.$strip>, z.ZodObject<{
591
+ field: z.ZodString;
592
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
593
+ in: "in";
594
+ "not in": "not in";
595
+ }>>>;
596
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
597
+ in: "in";
598
+ "not in": "not in";
599
+ }>>>;
600
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
601
+ }, z.core.$strip>]>>]>>>;
602
+ boxVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
603
+ boxColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
604
+ boxColorOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
605
+ boxBorderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
606
+ boxBorderWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
607
+ boxBorderOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
608
+ }, z.core.$strip>]>>>;
609
+ outlierStyle: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
610
+ selector: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
611
+ field: z.ZodString;
612
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
613
+ "=": "=";
614
+ "==": "==";
615
+ "!=": "!=";
616
+ ">": ">";
617
+ "<": "<";
618
+ ">=": ">=";
619
+ "<=": "<=";
620
+ between: "between";
621
+ }>>>;
622
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
623
+ "=": "=";
624
+ "==": "==";
625
+ "!=": "!=";
626
+ ">": ">";
627
+ "<": "<";
628
+ ">=": ">=";
629
+ "<=": "<=";
630
+ between: "between";
631
+ }>>>;
632
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
633
+ }, z.core.$strip>, z.ZodObject<{
634
+ field: z.ZodString;
635
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
636
+ in: "in";
637
+ "not in": "not in";
638
+ }>>>;
639
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
640
+ in: "in";
641
+ "not in": "not in";
642
+ }>>>;
643
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
644
+ }, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
645
+ field: z.ZodString;
646
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
647
+ "=": "=";
648
+ "==": "==";
649
+ "!=": "!=";
650
+ ">": ">";
651
+ "<": "<";
652
+ ">=": ">=";
653
+ "<=": "<=";
654
+ between: "between";
655
+ }>>>;
656
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
657
+ "=": "=";
658
+ "==": "==";
659
+ "!=": "!=";
660
+ ">": ">";
661
+ "<": "<";
662
+ ">=": ">=";
663
+ "<=": "<=";
664
+ between: "between";
665
+ }>>>;
666
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
667
+ }, z.core.$strip>, z.ZodObject<{
668
+ field: z.ZodString;
669
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
670
+ in: "in";
671
+ "not in": "not in";
672
+ }>>>;
673
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
674
+ in: "in";
675
+ "not in": "not in";
676
+ }>>>;
677
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
678
+ }, z.core.$strip>]>>]>>;
679
+ pointVisible: z.ZodOptional<z.ZodBoolean>;
680
+ pointSize: z.ZodOptional<z.ZodNumber>;
681
+ pointColor: z.ZodOptional<z.ZodString>;
682
+ pointColorOpacity: z.ZodOptional<z.ZodNumber>;
683
+ pointBorderColor: z.ZodOptional<z.ZodString>;
684
+ pointBorderWidth: z.ZodOptional<z.ZodNumber>;
685
+ pointBorderStyle: z.ZodOptional<z.ZodEnum<{
686
+ solid: "solid";
687
+ dashed: "dashed";
688
+ dotted: "dotted";
689
+ }>>;
690
+ }, z.core.$strip>>, z.ZodObject<{
691
+ selector: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
692
+ field: z.ZodString;
693
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
694
+ "=": "=";
695
+ "==": "==";
696
+ "!=": "!=";
697
+ ">": ">";
698
+ "<": "<";
699
+ ">=": ">=";
700
+ "<=": "<=";
701
+ between: "between";
702
+ }>>>;
703
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
704
+ "=": "=";
705
+ "==": "==";
706
+ "!=": "!=";
707
+ ">": ">";
708
+ "<": "<";
709
+ ">=": ">=";
710
+ "<=": "<=";
711
+ between: "between";
712
+ }>>>;
713
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
714
+ }, z.core.$strip>, z.ZodObject<{
715
+ field: z.ZodString;
716
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
717
+ in: "in";
718
+ "not in": "not in";
719
+ }>>>;
720
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
721
+ in: "in";
722
+ "not in": "not in";
723
+ }>>>;
724
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
725
+ }, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
726
+ field: z.ZodString;
727
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
728
+ "=": "=";
729
+ "==": "==";
730
+ "!=": "!=";
731
+ ">": ">";
732
+ "<": "<";
733
+ ">=": ">=";
734
+ "<=": "<=";
735
+ between: "between";
736
+ }>>>;
737
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
738
+ "=": "=";
739
+ "==": "==";
740
+ "!=": "!=";
741
+ ">": ">";
742
+ "<": "<";
743
+ ">=": ">=";
744
+ "<=": "<=";
745
+ between: "between";
746
+ }>>>;
747
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
748
+ }, z.core.$strip>, z.ZodObject<{
749
+ field: z.ZodString;
750
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
751
+ in: "in";
752
+ "not in": "not in";
753
+ }>>>;
754
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
755
+ in: "in";
756
+ "not in": "not in";
757
+ }>>>;
758
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
759
+ }, z.core.$strip>]>>]>>;
760
+ pointVisible: z.ZodOptional<z.ZodBoolean>;
761
+ pointSize: z.ZodOptional<z.ZodNumber>;
762
+ pointColor: z.ZodOptional<z.ZodString>;
763
+ pointColorOpacity: z.ZodOptional<z.ZodNumber>;
764
+ pointBorderColor: z.ZodOptional<z.ZodString>;
765
+ pointBorderWidth: z.ZodOptional<z.ZodNumber>;
766
+ pointBorderStyle: z.ZodOptional<z.ZodEnum<{
767
+ solid: "solid";
768
+ dashed: "dashed";
769
+ dotted: "dotted";
770
+ }>>;
771
+ }, z.core.$strip>]>>>;
456
772
  theme: z.ZodOptional<z.ZodNullable<z.ZodString>>;
457
773
  whiskers: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber>]>>>>;
458
774
  annotationPoint: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
@@ -1269,6 +1585,11 @@ export declare const zBoxplot: z.ZodObject<{
1269
1585
  areaLineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
1270
1586
  outerPadding: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
1271
1587
  }, z.core.$strip>]>>>;
1588
+ dimensionLinkage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1589
+ enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1590
+ showTooltip: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1591
+ showLabel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1592
+ }, z.core.$strip>>>;
1272
1593
  locale: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodEnum<{
1273
1594
  "zh-CN": "zh-CN";
1274
1595
  "en-US": "en-US";
@@ -1,6 +1,6 @@
1
1
  import { z } from "zod";
2
2
  import { zLocale } from "../../i18n/index.js";
3
- import { zAnnotationArea, zAnnotationHorizontalLine, zAnnotationPoint, zAnnotationVerticalLine, zBackgroundColor, zColor, zCrosshairRect, zDataset, zDimensions, zEncoding, zLabel, zLegend, zMeasureTree, zSort, zSortLegend, zTheme, zTooltip, zWhiskersConfig, zXBandAxis, zYLinearAxis } from "../../properties/index.js";
3
+ import { zAnnotationArea, zAnnotationHorizontalLine, zAnnotationPoint, zAnnotationVerticalLine, zBackgroundColor, zBoxPlotStyle, zColor, zCrosshairRect, zDataset, zDimensionLinkage, zDimensions, zEncoding, zLabel, zLegend, zMeasureTree, zOutlierStyle, zSort, zSortLegend, zTheme, zTooltip, zWhiskersConfig, zXBandAxis, zYLinearAxis } from "../../properties/index.js";
4
4
  const zBoxplot = z.object({
5
5
  chartType: z.literal('boxPlot'),
6
6
  dataset: zDataset.nullish(),
@@ -17,12 +17,15 @@ const zBoxplot = z.object({
17
17
  sort: zSort.nullish(),
18
18
  sortLegent: zSortLegend.nullish(),
19
19
  crosshairRect: zCrosshairRect.nullish(),
20
+ boxPlotStyle: z.array(zBoxPlotStyle).or(zBoxPlotStyle).nullish(),
21
+ outlierStyle: z.array(zOutlierStyle).or(zOutlierStyle).nullish(),
20
22
  theme: zTheme.nullish(),
21
23
  whiskers: zWhiskersConfig.nullish(),
22
24
  annotationPoint: z.array(zAnnotationPoint).or(zAnnotationPoint).nullish(),
23
25
  annotationVerticalLine: z.array(zAnnotationVerticalLine).or(zAnnotationVerticalLine).nullish(),
24
26
  annotationHorizontalLine: z.array(zAnnotationHorizontalLine).or(zAnnotationHorizontalLine).nullish(),
25
27
  annotationArea: z.array(zAnnotationArea).or(zAnnotationArea).nullish(),
28
+ dimensionLinkage: zDimensionLinkage.nullish(),
26
29
  locale: zLocale.nullish()
27
30
  });
28
31
  export { zBoxplot };
@@ -1 +1 @@
1
- {"version":3,"file":"types/chartType/boxplot/zBoxplot.js","sources":["webpack://@visactor/vseed/./src/types/chartType/boxplot/zBoxplot.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from '../../i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zBackgroundColor,\n zColor,\n zCrosshairRect,\n zDataset,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zMeasureTree,\n zSort,\n zSortLegend,\n zTheme,\n zTooltip,\n zWhiskersConfig,\n zXBandAxis,\n zYLinearAxis,\n} from '../../properties'\n\nexport const zBoxplot = z.object({\n chartType: z.literal('boxPlot'),\n dataset: zDataset.nullish(),\n encoding: zEncoding.nullish(),\n dimensions: zDimensions.nullish(),\n measures: zMeasureTree.nullish(),\n backgroundColor: zBackgroundColor.nullish(),\n color: zColor.nullish(),\n label: zLabel.nullish(),\n legend: zLegend.nullish(),\n tooltip: zTooltip.nullish(),\n xAxis: zXBandAxis.nullish(),\n yAxis: zYLinearAxis.nullish(),\n sort: zSort.nullish(),\n sortLegent: zSortLegend.nullish(),\n crosshairRect: zCrosshairRect.nullish(),\n theme: zTheme.nullish(),\n whiskers: zWhiskersConfig.nullish(),\n annotationPoint: z.array(zAnnotationPoint).or(zAnnotationPoint).nullish(),\n annotationVerticalLine: z.array(zAnnotationVerticalLine).or(zAnnotationVerticalLine).nullish(),\n annotationHorizontalLine: z.array(zAnnotationHorizontalLine).or(zAnnotationHorizontalLine).nullish(),\n annotationArea: z.array(zAnnotationArea).or(zAnnotationArea).nullish(),\n locale: zLocale.nullish(),\n})\n"],"names":["zBoxplot","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXBandAxis","zYLinearAxis","zSort","zSortLegend","zCrosshairRect","zTheme","zWhiskersConfig","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zLocale"],"mappings":";;;AAyBO,MAAMA,WAAWC,EAAE,MAAM,CAAC;IAC/B,WAAWA,EAAE,OAAO,CAAC;IACrB,SAASC,SAAS,OAAO;IACzB,UAAUC,UAAU,OAAO;IAC3B,YAAYC,YAAY,OAAO;IAC/B,UAAUC,aAAa,OAAO;IAC9B,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,OAAO;IACrB,QAAQC,QAAQ,OAAO;IACvB,SAASC,SAAS,OAAO;IACzB,OAAOC,WAAW,OAAO;IACzB,OAAOC,aAAa,OAAO;IAC3B,MAAMC,MAAM,OAAO;IACnB,YAAYC,YAAY,OAAO;IAC/B,eAAeC,eAAe,OAAO;IACrC,OAAOC,OAAO,OAAO;IACrB,UAAUC,gBAAgB,OAAO;IACjC,iBAAiBhB,EAAE,KAAK,CAACiB,kBAAkB,EAAE,CAACA,kBAAkB,OAAO;IACvE,wBAAwBjB,EAAE,KAAK,CAACkB,yBAAyB,EAAE,CAACA,yBAAyB,OAAO;IAC5F,0BAA0BlB,EAAE,KAAK,CAACmB,2BAA2B,EAAE,CAACA,2BAA2B,OAAO;IAClG,gBAAgBnB,EAAE,KAAK,CAACoB,iBAAiB,EAAE,CAACA,iBAAiB,OAAO;IACpE,QAAQC,QAAQ,OAAO;AACzB"}
1
+ {"version":3,"file":"types/chartType/boxplot/zBoxplot.js","sources":["webpack://@visactor/vseed/./src/types/chartType/boxplot/zBoxplot.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from '../../i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zBackgroundColor,\n zBoxPlotStyle,\n zColor,\n zCrosshairRect,\n zDataset,\n zDimensionLinkage,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zMeasureTree,\n zOutlierStyle,\n zSort,\n zSortLegend,\n zTheme,\n zTooltip,\n zWhiskersConfig,\n zXBandAxis,\n zYLinearAxis,\n} from '../../properties'\n\nexport const zBoxplot = z.object({\n chartType: z.literal('boxPlot'),\n dataset: zDataset.nullish(),\n encoding: zEncoding.nullish(),\n dimensions: zDimensions.nullish(),\n measures: zMeasureTree.nullish(),\n backgroundColor: zBackgroundColor.nullish(),\n color: zColor.nullish(),\n label: zLabel.nullish(),\n legend: zLegend.nullish(),\n tooltip: zTooltip.nullish(),\n xAxis: zXBandAxis.nullish(),\n yAxis: zYLinearAxis.nullish(),\n sort: zSort.nullish(),\n sortLegent: zSortLegend.nullish(),\n crosshairRect: zCrosshairRect.nullish(),\n boxPlotStyle: z.array(zBoxPlotStyle).or(zBoxPlotStyle).nullish(),\n outlierStyle: z.array(zOutlierStyle).or(zOutlierStyle).nullish(),\n theme: zTheme.nullish(),\n whiskers: zWhiskersConfig.nullish(),\n annotationPoint: z.array(zAnnotationPoint).or(zAnnotationPoint).nullish(),\n annotationVerticalLine: z.array(zAnnotationVerticalLine).or(zAnnotationVerticalLine).nullish(),\n annotationHorizontalLine: z.array(zAnnotationHorizontalLine).or(zAnnotationHorizontalLine).nullish(),\n annotationArea: z.array(zAnnotationArea).or(zAnnotationArea).nullish(),\n dimensionLinkage: zDimensionLinkage.nullish(),\n locale: zLocale.nullish(),\n})\n"],"names":["zBoxplot","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXBandAxis","zYLinearAxis","zSort","zSortLegend","zCrosshairRect","zBoxPlotStyle","zOutlierStyle","zTheme","zWhiskersConfig","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zDimensionLinkage","zLocale"],"mappings":";;;AA4BO,MAAMA,WAAWC,EAAE,MAAM,CAAC;IAC/B,WAAWA,EAAE,OAAO,CAAC;IACrB,SAASC,SAAS,OAAO;IACzB,UAAUC,UAAU,OAAO;IAC3B,YAAYC,YAAY,OAAO;IAC/B,UAAUC,aAAa,OAAO;IAC9B,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,OAAO;IACrB,QAAQC,QAAQ,OAAO;IACvB,SAASC,SAAS,OAAO;IACzB,OAAOC,WAAW,OAAO;IACzB,OAAOC,aAAa,OAAO;IAC3B,MAAMC,MAAM,OAAO;IACnB,YAAYC,YAAY,OAAO;IAC/B,eAAeC,eAAe,OAAO;IACrC,cAAcd,EAAE,KAAK,CAACe,eAAe,EAAE,CAACA,eAAe,OAAO;IAC9D,cAAcf,EAAE,KAAK,CAACgB,eAAe,EAAE,CAACA,eAAe,OAAO;IAC9D,OAAOC,OAAO,OAAO;IACrB,UAAUC,gBAAgB,OAAO;IACjC,iBAAiBlB,EAAE,KAAK,CAACmB,kBAAkB,EAAE,CAACA,kBAAkB,OAAO;IACvE,wBAAwBnB,EAAE,KAAK,CAACoB,yBAAyB,EAAE,CAACA,yBAAyB,OAAO;IAC5F,0BAA0BpB,EAAE,KAAK,CAACqB,2BAA2B,EAAE,CAACA,2BAA2B,OAAO;IAClG,gBAAgBrB,EAAE,KAAK,CAACsB,iBAAiB,EAAE,CAACA,iBAAiB,OAAO;IACpE,kBAAkBC,kBAAkB,OAAO;IAC3C,QAAQC,QAAQ,OAAO;AACzB"}
@@ -1,5 +1,5 @@
1
1
  import type { Locale } from '../../i18n';
2
- import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, BarStyle, Color, CrosshairRect, Dataset, Dimensions, Label, Legend, StackCornerRadius, Theme, Tooltip, XBandAxis, YLinearAxis, MeasureTree, Sort, SortLegend, BarMaxWidth, PolynomialRegressionLine } from '../../properties';
2
+ import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, BarStyle, Color, CrosshairRect, Dataset, Dimensions, Label, Legend, StackCornerRadius, Theme, Tooltip, XBandAxis, YLinearAxis, MeasureTree, Sort, SortLegend, BarMaxWidth, PolynomialRegressionLine, DimensionLinkage } from '../../properties';
3
3
  /**
4
4
  * @description 柱状图,适用于纵向数据对比场景,X轴为类目轴(分类数据),Y轴为数值轴(连续数据),柱子纵向排列
5
5
  * 适用场景:
@@ -152,6 +152,11 @@ export interface Column {
152
152
  * @description 多项式回归线配置, 包括多项式的阶数、回归线的样式等.
153
153
  */
154
154
  polynomialRegressionLine?: boolean | PolynomialRegressionLine | PolynomialRegressionLine[];
155
+ /**
156
+ * 当图表开启透视功能或者指标组合的是否,是否开启维度联动功能
157
+ * 当hover 到某个维度值时,联动高亮其他图表中相同维度值的数据
158
+ */
159
+ dimensionLinkage?: DimensionLinkage;
155
160
  /**
156
161
  * @description 图表语言配置, 支持'zh-CN'与'en-US'两种语言, 另外可以调用 intl.setLocale('zh-CN') 方法设置语言
157
162
  * @default 'zh-CN'
@@ -1452,6 +1452,11 @@ export declare const zColumn: z.ZodObject<{
1452
1452
  confidenceIntervalOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1453
1453
  degree: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1454
1454
  }, z.core.$strip>]>, z.ZodBoolean]>>>;
1455
+ dimensionLinkage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1456
+ enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1457
+ showTooltip: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1458
+ showLabel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1459
+ }, z.core.$strip>>>;
1455
1460
  locale: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodEnum<{
1456
1461
  "zh-CN": "zh-CN";
1457
1462
  "en-US": "en-US";
@@ -1,6 +1,6 @@
1
1
  import { z } from "zod";
2
2
  import { zLocale } from "../../i18n/index.js";
3
- import { zAnnotationArea, zAnnotationHorizontalLine, zAnnotationPoint, zAnnotationVerticalLine, zBackgroundColor, zBarMaxWidth, zBarStyle, zColor, zCrosshairRect, zDataset, zDimensions, zEncoding, zLabel, zLegend, zMeasureTree, zPolynomialRegressionLine, zSort, zSortLegend, zStackCornerRadius, zTheme, zTooltip, zXBandAxis, zYLinearAxis } from "../../properties/index.js";
3
+ import { zAnnotationArea, zAnnotationHorizontalLine, zAnnotationPoint, zAnnotationVerticalLine, zBackgroundColor, zBarMaxWidth, zBarStyle, zColor, zCrosshairRect, zDataset, zDimensionLinkage, zDimensions, zEncoding, zLabel, zLegend, zMeasureTree, zPolynomialRegressionLine, zSort, zSortLegend, zStackCornerRadius, zTheme, zTooltip, zXBandAxis, zYLinearAxis } from "../../properties/index.js";
4
4
  const zColumn = z.object({
5
5
  chartType: z.literal('column'),
6
6
  dataset: zDataset.nullish(),
@@ -26,6 +26,7 @@ const zColumn = z.object({
26
26
  annotationHorizontalLine: z.array(zAnnotationHorizontalLine).or(zAnnotationHorizontalLine).nullish(),
27
27
  annotationArea: z.array(zAnnotationArea).or(zAnnotationArea).nullish(),
28
28
  polynomialRegressionLine: z.array(zPolynomialRegressionLine).or(zPolynomialRegressionLine).or(z.boolean()).nullish(),
29
+ dimensionLinkage: zDimensionLinkage.nullish(),
29
30
  locale: zLocale.nullish()
30
31
  });
31
32
  export { zColumn };
@@ -1 +1 @@
1
- {"version":3,"file":"types/chartType/column/zColumn.js","sources":["webpack://@visactor/vseed/./src/types/chartType/column/zColumn.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from '../../i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zBackgroundColor,\n zBarMaxWidth,\n zBarStyle,\n zColor,\n zCrosshairRect,\n zDataset,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zMeasureTree,\n zPolynomialRegressionLine,\n zSort,\n zSortLegend,\n zStackCornerRadius,\n zTheme,\n zTooltip,\n zXBandAxis,\n zYLinearAxis,\n} from '../../properties'\n\nexport const zColumn = z.object({\n chartType: z.literal('column'),\n dataset: zDataset.nullish(),\n encoding: zEncoding.nullish(),\n dimensions: zDimensions.nullish(),\n measures: zMeasureTree.nullish(),\n backgroundColor: zBackgroundColor.nullish(),\n color: zColor.nullish(),\n label: zLabel.nullish(),\n legend: zLegend.nullish(),\n tooltip: zTooltip.nullish(),\n xAxis: zXBandAxis.nullish(),\n yAxis: zYLinearAxis.nullish(),\n sort: zSort.nullish(),\n sortLegent: zSortLegend.nullish(),\n crosshairRect: zCrosshairRect.nullish(),\n stackCornerRadius: zStackCornerRadius.nullish(),\n barMaxWidth: zBarMaxWidth.nullish(),\n theme: zTheme.nullish(),\n barStyle: z.array(zBarStyle).or(zBarStyle).nullish(),\n annotationPoint: z.array(zAnnotationPoint).or(zAnnotationPoint).nullish(),\n annotationVerticalLine: z.array(zAnnotationVerticalLine).or(zAnnotationVerticalLine).nullish(),\n annotationHorizontalLine: z.array(zAnnotationHorizontalLine).or(zAnnotationHorizontalLine).nullish(),\n annotationArea: z.array(zAnnotationArea).or(zAnnotationArea).nullish(),\n polynomialRegressionLine: z.array(zPolynomialRegressionLine).or(zPolynomialRegressionLine).or(z.boolean()).nullish(),\n locale: zLocale.nullish(),\n})\n"],"names":["zColumn","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXBandAxis","zYLinearAxis","zSort","zSortLegend","zCrosshairRect","zStackCornerRadius","zBarMaxWidth","zTheme","zBarStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zPolynomialRegressionLine","zLocale"],"mappings":";;;AA4BO,MAAMA,UAAUC,EAAE,MAAM,CAAC;IAC9B,WAAWA,EAAE,OAAO,CAAC;IACrB,SAASC,SAAS,OAAO;IACzB,UAAUC,UAAU,OAAO;IAC3B,YAAYC,YAAY,OAAO;IAC/B,UAAUC,aAAa,OAAO;IAC9B,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,OAAO;IACrB,QAAQC,QAAQ,OAAO;IACvB,SAASC,SAAS,OAAO;IACzB,OAAOC,WAAW,OAAO;IACzB,OAAOC,aAAa,OAAO;IAC3B,MAAMC,MAAM,OAAO;IACnB,YAAYC,YAAY,OAAO;IAC/B,eAAeC,eAAe,OAAO;IACrC,mBAAmBC,mBAAmB,OAAO;IAC7C,aAAaC,aAAa,OAAO;IACjC,OAAOC,OAAO,OAAO;IACrB,UAAUjB,EAAE,KAAK,CAACkB,WAAW,EAAE,CAACA,WAAW,OAAO;IAClD,iBAAiBlB,EAAE,KAAK,CAACmB,kBAAkB,EAAE,CAACA,kBAAkB,OAAO;IACvE,wBAAwBnB,EAAE,KAAK,CAACoB,yBAAyB,EAAE,CAACA,yBAAyB,OAAO;IAC5F,0BAA0BpB,EAAE,KAAK,CAACqB,2BAA2B,EAAE,CAACA,2BAA2B,OAAO;IAClG,gBAAgBrB,EAAE,KAAK,CAACsB,iBAAiB,EAAE,CAACA,iBAAiB,OAAO;IACpE,0BAA0BtB,EAAE,KAAK,CAACuB,2BAA2B,EAAE,CAACA,2BAA2B,EAAE,CAACvB,EAAE,OAAO,IAAI,OAAO;IAClH,QAAQwB,QAAQ,OAAO;AACzB"}
1
+ {"version":3,"file":"types/chartType/column/zColumn.js","sources":["webpack://@visactor/vseed/./src/types/chartType/column/zColumn.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from '../../i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zBackgroundColor,\n zBarMaxWidth,\n zBarStyle,\n zColor,\n zCrosshairRect,\n zDataset,\n zDimensionLinkage,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zMeasureTree,\n zPolynomialRegressionLine,\n zSort,\n zSortLegend,\n zStackCornerRadius,\n zTheme,\n zTooltip,\n zXBandAxis,\n zYLinearAxis,\n} from '../../properties'\n\nexport const zColumn = z.object({\n chartType: z.literal('column'),\n dataset: zDataset.nullish(),\n encoding: zEncoding.nullish(),\n dimensions: zDimensions.nullish(),\n measures: zMeasureTree.nullish(),\n backgroundColor: zBackgroundColor.nullish(),\n color: zColor.nullish(),\n label: zLabel.nullish(),\n legend: zLegend.nullish(),\n tooltip: zTooltip.nullish(),\n xAxis: zXBandAxis.nullish(),\n yAxis: zYLinearAxis.nullish(),\n sort: zSort.nullish(),\n sortLegent: zSortLegend.nullish(),\n crosshairRect: zCrosshairRect.nullish(),\n stackCornerRadius: zStackCornerRadius.nullish(),\n barMaxWidth: zBarMaxWidth.nullish(),\n theme: zTheme.nullish(),\n barStyle: z.array(zBarStyle).or(zBarStyle).nullish(),\n annotationPoint: z.array(zAnnotationPoint).or(zAnnotationPoint).nullish(),\n annotationVerticalLine: z.array(zAnnotationVerticalLine).or(zAnnotationVerticalLine).nullish(),\n annotationHorizontalLine: z.array(zAnnotationHorizontalLine).or(zAnnotationHorizontalLine).nullish(),\n annotationArea: z.array(zAnnotationArea).or(zAnnotationArea).nullish(),\n polynomialRegressionLine: z.array(zPolynomialRegressionLine).or(zPolynomialRegressionLine).or(z.boolean()).nullish(),\n dimensionLinkage: zDimensionLinkage.nullish(),\n locale: zLocale.nullish(),\n})\n"],"names":["zColumn","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXBandAxis","zYLinearAxis","zSort","zSortLegend","zCrosshairRect","zStackCornerRadius","zBarMaxWidth","zTheme","zBarStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zPolynomialRegressionLine","zDimensionLinkage","zLocale"],"mappings":";;;AA6BO,MAAMA,UAAUC,EAAE,MAAM,CAAC;IAC9B,WAAWA,EAAE,OAAO,CAAC;IACrB,SAASC,SAAS,OAAO;IACzB,UAAUC,UAAU,OAAO;IAC3B,YAAYC,YAAY,OAAO;IAC/B,UAAUC,aAAa,OAAO;IAC9B,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,OAAO;IACrB,QAAQC,QAAQ,OAAO;IACvB,SAASC,SAAS,OAAO;IACzB,OAAOC,WAAW,OAAO;IACzB,OAAOC,aAAa,OAAO;IAC3B,MAAMC,MAAM,OAAO;IACnB,YAAYC,YAAY,OAAO;IAC/B,eAAeC,eAAe,OAAO;IACrC,mBAAmBC,mBAAmB,OAAO;IAC7C,aAAaC,aAAa,OAAO;IACjC,OAAOC,OAAO,OAAO;IACrB,UAAUjB,EAAE,KAAK,CAACkB,WAAW,EAAE,CAACA,WAAW,OAAO;IAClD,iBAAiBlB,EAAE,KAAK,CAACmB,kBAAkB,EAAE,CAACA,kBAAkB,OAAO;IACvE,wBAAwBnB,EAAE,KAAK,CAACoB,yBAAyB,EAAE,CAACA,yBAAyB,OAAO;IAC5F,0BAA0BpB,EAAE,KAAK,CAACqB,2BAA2B,EAAE,CAACA,2BAA2B,OAAO;IAClG,gBAAgBrB,EAAE,KAAK,CAACsB,iBAAiB,EAAE,CAACA,iBAAiB,OAAO;IACpE,0BAA0BtB,EAAE,KAAK,CAACuB,2BAA2B,EAAE,CAACA,2BAA2B,EAAE,CAACvB,EAAE,OAAO,IAAI,OAAO;IAClH,kBAAkBwB,kBAAkB,OAAO;IAC3C,QAAQC,QAAQ,OAAO;AACzB"}
@@ -1,5 +1,5 @@
1
1
  import type { Locale } from '../../i18n';
2
- import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, BarStyle, Color, CrosshairRect, Dataset, Dimensions, Label, Legend, StackCornerRadius, Theme, Tooltip, XBandAxis, YLinearAxis, MeasureTree, SortLegend, Sort, BarMaxWidth, BarGapInGroup } from '../../properties';
2
+ import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, BarStyle, Color, CrosshairRect, Dataset, Dimensions, Label, Legend, StackCornerRadius, Theme, Tooltip, XBandAxis, YLinearAxis, MeasureTree, SortLegend, Sort, BarMaxWidth, BarGapInGroup, DimensionLinkage } from '../../properties';
3
3
  /**
4
4
  * @description 并列柱状图,适用于多指标并行对比场景,多个柱子并列排列展示不同指标值
5
5
  * 适用场景:
@@ -154,6 +154,11 @@ export interface ColumnParallel {
154
154
  * @description 标注区域配置, 根据选择的数据, 定义图表的标注区域, 包括标注区域的位置, 样式等.
155
155
  */
156
156
  annotationArea?: AnnotationArea | AnnotationArea[];
157
+ /**
158
+ * 当图表开启透视功能或者指标组合的是否,是否开启维度联动功能
159
+ * 当hover 到某个维度值时,联动高亮其他图表中相同维度值的数据
160
+ */
161
+ dimensionLinkage?: DimensionLinkage;
157
162
  /**
158
163
  * 语言
159
164
  * @description 图表语言配置, 支持'zh-CN'与'en-US'两种语言, 另外可以调用 intl.setLocale('zh-CN') 方法设置语言
@@ -1410,6 +1410,11 @@ export declare const zColumnParallel: z.ZodObject<{
1410
1410
  areaLineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
1411
1411
  outerPadding: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
1412
1412
  }, z.core.$strip>]>>>;
1413
+ dimensionLinkage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1414
+ enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1415
+ showTooltip: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1416
+ showLabel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1417
+ }, z.core.$strip>>>;
1413
1418
  locale: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodEnum<{
1414
1419
  "zh-CN": "zh-CN";
1415
1420
  "en-US": "en-US";
@@ -1,6 +1,6 @@
1
1
  import { z } from "zod";
2
2
  import { zLocale } from "../../i18n/index.js";
3
- import { zAnnotationArea, zAnnotationHorizontalLine, zAnnotationPoint, zAnnotationVerticalLine, zBackgroundColor, zBarGapInGroup, zBarMaxWidth, zBarStyle, zColor, zCrosshairRect, zDataset, zDimensions, zEncoding, zLabel, zLegend, zMeasureTree, zStackCornerRadius, zTheme, zTooltip, zXBandAxis, zYLinearAxis } from "../../properties/index.js";
3
+ import { zAnnotationArea, zAnnotationHorizontalLine, zAnnotationPoint, zAnnotationVerticalLine, zBackgroundColor, zBarGapInGroup, zBarMaxWidth, zBarStyle, zColor, zCrosshairRect, zDataset, zDimensionLinkage, zDimensions, zEncoding, zLabel, zLegend, zMeasureTree, zStackCornerRadius, zTheme, zTooltip, zXBandAxis, zYLinearAxis } from "../../properties/index.js";
4
4
  const zColumnParallel = z.object({
5
5
  chartType: z.literal('columnParallel'),
6
6
  dataset: zDataset.nullish(),
@@ -24,6 +24,7 @@ const zColumnParallel = z.object({
24
24
  annotationVerticalLine: z.array(zAnnotationVerticalLine).or(zAnnotationVerticalLine).nullish(),
25
25
  annotationHorizontalLine: z.array(zAnnotationHorizontalLine).or(zAnnotationHorizontalLine).nullish(),
26
26
  annotationArea: z.array(zAnnotationArea).or(zAnnotationArea).nullish(),
27
+ dimensionLinkage: zDimensionLinkage.nullish(),
27
28
  locale: zLocale.nullish()
28
29
  });
29
30
  export { zColumnParallel };
@@ -1 +1 @@
1
- {"version":3,"file":"types/chartType/columnParallel/zColumnParallel.js","sources":["webpack://@visactor/vseed/./src/types/chartType/columnParallel/zColumnParallel.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from '../../i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zBackgroundColor,\n zBarGapInGroup,\n zBarMaxWidth,\n zBarStyle,\n zColor,\n zCrosshairRect,\n zDataset,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zMeasureTree,\n zStackCornerRadius,\n zTheme,\n zTooltip,\n zXBandAxis,\n zYLinearAxis,\n} from '../../properties'\n\nexport const zColumnParallel = z.object({\n chartType: z.literal('columnParallel'),\n dataset: zDataset.nullish(),\n encoding: zEncoding.nullish(),\n dimensions: zDimensions.nullish(),\n measures: zMeasureTree.nullish(),\n backgroundColor: zBackgroundColor.nullish(),\n color: zColor.nullish(),\n label: zLabel.nullish(),\n legend: zLegend.nullish(),\n tooltip: zTooltip.nullish(),\n xAxis: zXBandAxis.nullish(),\n yAxis: zYLinearAxis.nullish(),\n crosshairRect: zCrosshairRect.nullish(),\n stackCornerRadius: zStackCornerRadius.nullish(),\n barMaxWidth: zBarMaxWidth.nullish(),\n barGapInGroup: zBarGapInGroup.nullish(),\n theme: zTheme.nullish(),\n barStyle: z.array(zBarStyle).or(zBarStyle).nullish(),\n annotationPoint: z.array(zAnnotationPoint).or(zAnnotationPoint).nullish(),\n annotationVerticalLine: z.array(zAnnotationVerticalLine).or(zAnnotationVerticalLine).nullish(),\n annotationHorizontalLine: z.array(zAnnotationHorizontalLine).or(zAnnotationHorizontalLine).nullish(),\n annotationArea: z.array(zAnnotationArea).or(zAnnotationArea).nullish(),\n locale: zLocale.nullish(),\n})\n"],"names":["zColumnParallel","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXBandAxis","zYLinearAxis","zCrosshairRect","zStackCornerRadius","zBarMaxWidth","zBarGapInGroup","zTheme","zBarStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zLocale"],"mappings":";;;AA0BO,MAAMA,kBAAkBC,EAAE,MAAM,CAAC;IACtC,WAAWA,EAAE,OAAO,CAAC;IACrB,SAASC,SAAS,OAAO;IACzB,UAAUC,UAAU,OAAO;IAC3B,YAAYC,YAAY,OAAO;IAC/B,UAAUC,aAAa,OAAO;IAC9B,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,OAAO;IACrB,QAAQC,QAAQ,OAAO;IACvB,SAASC,SAAS,OAAO;IACzB,OAAOC,WAAW,OAAO;IACzB,OAAOC,aAAa,OAAO;IAC3B,eAAeC,eAAe,OAAO;IACrC,mBAAmBC,mBAAmB,OAAO;IAC7C,aAAaC,aAAa,OAAO;IACjC,eAAeC,eAAe,OAAO;IACrC,OAAOC,OAAO,OAAO;IACrB,UAAUhB,EAAE,KAAK,CAACiB,WAAW,EAAE,CAACA,WAAW,OAAO;IAClD,iBAAiBjB,EAAE,KAAK,CAACkB,kBAAkB,EAAE,CAACA,kBAAkB,OAAO;IACvE,wBAAwBlB,EAAE,KAAK,CAACmB,yBAAyB,EAAE,CAACA,yBAAyB,OAAO;IAC5F,0BAA0BnB,EAAE,KAAK,CAACoB,2BAA2B,EAAE,CAACA,2BAA2B,OAAO;IAClG,gBAAgBpB,EAAE,KAAK,CAACqB,iBAAiB,EAAE,CAACA,iBAAiB,OAAO;IACpE,QAAQC,QAAQ,OAAO;AACzB"}
1
+ {"version":3,"file":"types/chartType/columnParallel/zColumnParallel.js","sources":["webpack://@visactor/vseed/./src/types/chartType/columnParallel/zColumnParallel.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from '../../i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zBackgroundColor,\n zBarGapInGroup,\n zBarMaxWidth,\n zBarStyle,\n zColor,\n zCrosshairRect,\n zDataset,\n zDimensionLinkage,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zMeasureTree,\n zStackCornerRadius,\n zTheme,\n zTooltip,\n zXBandAxis,\n zYLinearAxis,\n} from '../../properties'\n\nexport const zColumnParallel = z.object({\n chartType: z.literal('columnParallel'),\n dataset: zDataset.nullish(),\n encoding: zEncoding.nullish(),\n dimensions: zDimensions.nullish(),\n measures: zMeasureTree.nullish(),\n backgroundColor: zBackgroundColor.nullish(),\n color: zColor.nullish(),\n label: zLabel.nullish(),\n legend: zLegend.nullish(),\n tooltip: zTooltip.nullish(),\n xAxis: zXBandAxis.nullish(),\n yAxis: zYLinearAxis.nullish(),\n crosshairRect: zCrosshairRect.nullish(),\n stackCornerRadius: zStackCornerRadius.nullish(),\n barMaxWidth: zBarMaxWidth.nullish(),\n barGapInGroup: zBarGapInGroup.nullish(),\n theme: zTheme.nullish(),\n barStyle: z.array(zBarStyle).or(zBarStyle).nullish(),\n annotationPoint: z.array(zAnnotationPoint).or(zAnnotationPoint).nullish(),\n annotationVerticalLine: z.array(zAnnotationVerticalLine).or(zAnnotationVerticalLine).nullish(),\n annotationHorizontalLine: z.array(zAnnotationHorizontalLine).or(zAnnotationHorizontalLine).nullish(),\n annotationArea: z.array(zAnnotationArea).or(zAnnotationArea).nullish(),\n dimensionLinkage: zDimensionLinkage.nullish(),\n locale: zLocale.nullish(),\n})\n"],"names":["zColumnParallel","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXBandAxis","zYLinearAxis","zCrosshairRect","zStackCornerRadius","zBarMaxWidth","zBarGapInGroup","zTheme","zBarStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zDimensionLinkage","zLocale"],"mappings":";;;AA2BO,MAAMA,kBAAkBC,EAAE,MAAM,CAAC;IACtC,WAAWA,EAAE,OAAO,CAAC;IACrB,SAASC,SAAS,OAAO;IACzB,UAAUC,UAAU,OAAO;IAC3B,YAAYC,YAAY,OAAO;IAC/B,UAAUC,aAAa,OAAO;IAC9B,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,OAAO;IACrB,QAAQC,QAAQ,OAAO;IACvB,SAASC,SAAS,OAAO;IACzB,OAAOC,WAAW,OAAO;IACzB,OAAOC,aAAa,OAAO;IAC3B,eAAeC,eAAe,OAAO;IACrC,mBAAmBC,mBAAmB,OAAO;IAC7C,aAAaC,aAAa,OAAO;IACjC,eAAeC,eAAe,OAAO;IACrC,OAAOC,OAAO,OAAO;IACrB,UAAUhB,EAAE,KAAK,CAACiB,WAAW,EAAE,CAACA,WAAW,OAAO;IAClD,iBAAiBjB,EAAE,KAAK,CAACkB,kBAAkB,EAAE,CAACA,kBAAkB,OAAO;IACvE,wBAAwBlB,EAAE,KAAK,CAACmB,yBAAyB,EAAE,CAACA,yBAAyB,OAAO;IAC5F,0BAA0BnB,EAAE,KAAK,CAACoB,2BAA2B,EAAE,CAACA,2BAA2B,OAAO;IAClG,gBAAgBpB,EAAE,KAAK,CAACqB,iBAAiB,EAAE,CAACA,iBAAiB,OAAO;IACpE,kBAAkBC,kBAAkB,OAAO;IAC3C,QAAQC,QAAQ,OAAO;AACzB"}
@@ -1,5 +1,5 @@
1
1
  import type { Locale } from '../../i18n';
2
- import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, BarStyle, Color, CrosshairRect, Dataset, Dimensions, Label, Legend, StackCornerRadius, Theme, Tooltip, XBandAxis, YLinearAxis, MeasureTree, Sort, SortLegend, BarMaxWidth } from '../../properties';
2
+ import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, BarStyle, Color, CrosshairRect, Dataset, Dimensions, Label, Legend, StackCornerRadius, Theme, Tooltip, XBandAxis, YLinearAxis, MeasureTree, Sort, SortLegend, BarMaxWidth, DimensionLinkage } from '../../properties';
3
3
  /**
4
4
  * @description 百分比柱状图,适用于展示各类别占比关系的场景,Y轴以百分比形式展示数据占比
5
5
  * 适用场景:
@@ -150,6 +150,11 @@ export interface ColumnPercent {
150
150
  * @description 标注区域配置, 根据选择的数据, 定义图表的标注区域, 包括标注区域的位置, 样式等.
151
151
  */
152
152
  annotationArea?: AnnotationArea | AnnotationArea[];
153
+ /**
154
+ * 当图表开启透视功能或者指标组合的是否,是否开启维度联动功能
155
+ * 当hover 到某个维度值时,联动高亮其他图表中相同维度值的数据
156
+ */
157
+ dimensionLinkage?: DimensionLinkage;
153
158
  /**
154
159
  * @description 图表语言配置, 支持'zh-CN'与'en-US'两种语言, 另外可以调用 intl.setLocale('zh-CN') 方法设置语言
155
160
  * @default 'zh-CN'
@@ -1409,6 +1409,11 @@ export declare const zColumnPercent: z.ZodObject<{
1409
1409
  areaLineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
1410
1410
  outerPadding: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
1411
1411
  }, z.core.$strip>]>>>;
1412
+ dimensionLinkage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1413
+ enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1414
+ showTooltip: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1415
+ showLabel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1416
+ }, z.core.$strip>>>;
1412
1417
  locale: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodEnum<{
1413
1418
  "zh-CN": "zh-CN";
1414
1419
  "en-US": "en-US";
@@ -1,5 +1,5 @@
1
1
  import { zLocale } from "../../i18n/index.js";
2
- import { zAnnotationArea, zAnnotationHorizontalLine, zAnnotationPoint, zAnnotationVerticalLine, zBackgroundColor, zBarMaxWidth, zBarStyle, zColor, zCrosshairRect, zDataset, zDimensions, zEncoding, zLabel, zLegend, zMeasureTree, zStackCornerRadius, zTheme, zTooltip, zXBandAxis, zYLinearAxis } from "../../properties/index.js";
2
+ import { zAnnotationArea, zAnnotationHorizontalLine, zAnnotationPoint, zAnnotationVerticalLine, zBackgroundColor, zBarMaxWidth, zBarStyle, zColor, zCrosshairRect, zDataset, zDimensionLinkage, zDimensions, zEncoding, zLabel, zLegend, zMeasureTree, zStackCornerRadius, zTheme, zTooltip, zXBandAxis, zYLinearAxis } from "../../properties/index.js";
3
3
  import { z } from "zod";
4
4
  const zColumnPercent = z.object({
5
5
  chartType: z.literal('columnPercent'),
@@ -23,6 +23,7 @@ const zColumnPercent = z.object({
23
23
  annotationVerticalLine: z.array(zAnnotationVerticalLine).or(zAnnotationVerticalLine).nullish(),
24
24
  annotationHorizontalLine: z.array(zAnnotationHorizontalLine).or(zAnnotationHorizontalLine).nullish(),
25
25
  annotationArea: z.array(zAnnotationArea).or(zAnnotationArea).nullish(),
26
+ dimensionLinkage: zDimensionLinkage.nullish(),
26
27
  locale: zLocale.nullish()
27
28
  });
28
29
  export { zColumnPercent };
@@ -1 +1 @@
1
- {"version":3,"file":"types/chartType/columnPercent/zColumnPercent.js","sources":["webpack://@visactor/vseed/./src/types/chartType/columnPercent/zColumnPercent.ts"],"sourcesContent":["import { zLocale } from '../../i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zBackgroundColor,\n zBarMaxWidth,\n zBarStyle,\n zColor,\n zCrosshairRect,\n zDataset,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zMeasureTree,\n zStackCornerRadius,\n zTheme,\n zTooltip,\n zXBandAxis,\n zYLinearAxis,\n} from '../../properties'\n\nimport { z } from 'zod'\n\nexport const zColumnPercent = z.object({\n chartType: z.literal('columnPercent'),\n dataset: zDataset.nullish(),\n encoding: zEncoding.nullish(),\n dimensions: zDimensions.nullish(),\n measures: zMeasureTree.nullish(),\n backgroundColor: zBackgroundColor.nullish(),\n color: zColor.nullish(),\n label: zLabel.nullish(),\n legend: zLegend.nullish(),\n tooltip: zTooltip.nullish(),\n xAxis: zXBandAxis.nullish(),\n yAxis: zYLinearAxis.nullish(),\n crosshairRect: zCrosshairRect.nullish(),\n stackCornerRadius: zStackCornerRadius.nullish(),\n barMaxWidth: zBarMaxWidth.nullish(),\n theme: zTheme.nullish(),\n barStyle: z.array(zBarStyle).or(zBarStyle).nullish(),\n annotationPoint: z.array(zAnnotationPoint).or(zAnnotationPoint).nullish(),\n annotationVerticalLine: z.array(zAnnotationVerticalLine).or(zAnnotationVerticalLine).nullish(),\n annotationHorizontalLine: z.array(zAnnotationHorizontalLine).or(zAnnotationHorizontalLine).nullish(),\n annotationArea: z.array(zAnnotationArea).or(zAnnotationArea).nullish(),\n locale: zLocale.nullish(),\n})\n"],"names":["zColumnPercent","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXBandAxis","zYLinearAxis","zCrosshairRect","zStackCornerRadius","zBarMaxWidth","zTheme","zBarStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zLocale"],"mappings":";;;AA0BO,MAAMA,iBAAiBC,EAAE,MAAM,CAAC;IACrC,WAAWA,EAAE,OAAO,CAAC;IACrB,SAASC,SAAS,OAAO;IACzB,UAAUC,UAAU,OAAO;IAC3B,YAAYC,YAAY,OAAO;IAC/B,UAAUC,aAAa,OAAO;IAC9B,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,OAAO;IACrB,QAAQC,QAAQ,OAAO;IACvB,SAASC,SAAS,OAAO;IACzB,OAAOC,WAAW,OAAO;IACzB,OAAOC,aAAa,OAAO;IAC3B,eAAeC,eAAe,OAAO;IACrC,mBAAmBC,mBAAmB,OAAO;IAC7C,aAAaC,aAAa,OAAO;IACjC,OAAOC,OAAO,OAAO;IACrB,UAAUf,EAAE,KAAK,CAACgB,WAAW,EAAE,CAACA,WAAW,OAAO;IAClD,iBAAiBhB,EAAE,KAAK,CAACiB,kBAAkB,EAAE,CAACA,kBAAkB,OAAO;IACvE,wBAAwBjB,EAAE,KAAK,CAACkB,yBAAyB,EAAE,CAACA,yBAAyB,OAAO;IAC5F,0BAA0BlB,EAAE,KAAK,CAACmB,2BAA2B,EAAE,CAACA,2BAA2B,OAAO;IAClG,gBAAgBnB,EAAE,KAAK,CAACoB,iBAAiB,EAAE,CAACA,iBAAiB,OAAO;IACpE,QAAQC,QAAQ,OAAO;AACzB"}
1
+ {"version":3,"file":"types/chartType/columnPercent/zColumnPercent.js","sources":["webpack://@visactor/vseed/./src/types/chartType/columnPercent/zColumnPercent.ts"],"sourcesContent":["import { zLocale } from '../../i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zBackgroundColor,\n zBarMaxWidth,\n zBarStyle,\n zColor,\n zCrosshairRect,\n zDataset,\n zDimensionLinkage,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zMeasureTree,\n zStackCornerRadius,\n zTheme,\n zTooltip,\n zXBandAxis,\n zYLinearAxis,\n} from '../../properties'\n\nimport { z } from 'zod'\n\nexport const zColumnPercent = z.object({\n chartType: z.literal('columnPercent'),\n dataset: zDataset.nullish(),\n encoding: zEncoding.nullish(),\n dimensions: zDimensions.nullish(),\n measures: zMeasureTree.nullish(),\n backgroundColor: zBackgroundColor.nullish(),\n color: zColor.nullish(),\n label: zLabel.nullish(),\n legend: zLegend.nullish(),\n tooltip: zTooltip.nullish(),\n xAxis: zXBandAxis.nullish(),\n yAxis: zYLinearAxis.nullish(),\n crosshairRect: zCrosshairRect.nullish(),\n stackCornerRadius: zStackCornerRadius.nullish(),\n barMaxWidth: zBarMaxWidth.nullish(),\n theme: zTheme.nullish(),\n barStyle: z.array(zBarStyle).or(zBarStyle).nullish(),\n annotationPoint: z.array(zAnnotationPoint).or(zAnnotationPoint).nullish(),\n annotationVerticalLine: z.array(zAnnotationVerticalLine).or(zAnnotationVerticalLine).nullish(),\n annotationHorizontalLine: z.array(zAnnotationHorizontalLine).or(zAnnotationHorizontalLine).nullish(),\n annotationArea: z.array(zAnnotationArea).or(zAnnotationArea).nullish(),\n dimensionLinkage: zDimensionLinkage.nullish(),\n locale: zLocale.nullish(),\n})\n"],"names":["zColumnPercent","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXBandAxis","zYLinearAxis","zCrosshairRect","zStackCornerRadius","zBarMaxWidth","zTheme","zBarStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zDimensionLinkage","zLocale"],"mappings":";;;AA2BO,MAAMA,iBAAiBC,EAAE,MAAM,CAAC;IACrC,WAAWA,EAAE,OAAO,CAAC;IACrB,SAASC,SAAS,OAAO;IACzB,UAAUC,UAAU,OAAO;IAC3B,YAAYC,YAAY,OAAO;IAC/B,UAAUC,aAAa,OAAO;IAC9B,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,OAAO;IACrB,QAAQC,QAAQ,OAAO;IACvB,SAASC,SAAS,OAAO;IACzB,OAAOC,WAAW,OAAO;IACzB,OAAOC,aAAa,OAAO;IAC3B,eAAeC,eAAe,OAAO;IACrC,mBAAmBC,mBAAmB,OAAO;IAC7C,aAAaC,aAAa,OAAO;IACjC,OAAOC,OAAO,OAAO;IACrB,UAAUf,EAAE,KAAK,CAACgB,WAAW,EAAE,CAACA,WAAW,OAAO;IAClD,iBAAiBhB,EAAE,KAAK,CAACiB,kBAAkB,EAAE,CAACA,kBAAkB,OAAO;IACvE,wBAAwBjB,EAAE,KAAK,CAACkB,yBAAyB,EAAE,CAACA,yBAAyB,OAAO;IAC5F,0BAA0BlB,EAAE,KAAK,CAACmB,2BAA2B,EAAE,CAACA,2BAA2B,OAAO;IAClG,gBAAgBnB,EAAE,KAAK,CAACoB,iBAAiB,EAAE,CAACA,iBAAiB,OAAO;IACpE,kBAAkBC,kBAAkB,OAAO;IAC3C,QAAQC,QAAQ,OAAO;AACzB"}
@@ -1,5 +1,5 @@
1
1
  import type { Locale } from '../../i18n';
2
- import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, AreaStyle, BackgroundColor, BarGapInGroup, BarMaxWidth, BarStyle, Color, CrosshairRect, Dataset, Dimensions, DualChartType, DualMeasures, Label, Legend, LineStyle, MeasureTree, PointStyle, Sort, SortLegend, Theme, Tooltip, XBandAxis, YLinearAxis } from '../../properties';
2
+ import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, AreaStyle, BackgroundColor, BarGapInGroup, BarMaxWidth, BarStyle, Color, CrosshairRect, Dataset, DimensionLinkage, Dimensions, DualChartType, DualMeasures, Label, Legend, LineStyle, MeasureTree, PointStyle, Sort, SortLegend, Theme, Tooltip, XBandAxis, YLinearAxis } from '../../properties';
3
3
  /**
4
4
  * @description 双轴图,适用于展示两个不同量级或不同单位指标的对比关系,包含主坐标轴和次坐标轴
5
5
  * 适用场景:
@@ -268,6 +268,11 @@ export interface DualAxis {
268
268
  * @description 标注区域配置, 根据选择的数据, 定义图表的标注区域, 包括标注区域的位置, 样式等.
269
269
  */
270
270
  annotationArea?: AnnotationArea | AnnotationArea[];
271
+ /**
272
+ * 当图表开启透视功能或者指标组合的是否,是否开启维度联动功能
273
+ * 当hover 到某个维度值时,联动高亮其他图表中相同维度值的数据
274
+ */
275
+ dimensionLinkage?: DimensionLinkage;
271
276
  /**
272
277
  * @description 国际化配置, 图表语言配置, 支持'zh-CN'与'en-US'两种语言, 另外可以调用 intl.setLocale('zh-CN') 方法设置语言
273
278
  * @default 'zh-CN'
@@ -2425,6 +2425,11 @@ export declare const zDualAxis: z.ZodObject<{
2425
2425
  areaLineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
2426
2426
  outerPadding: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
2427
2427
  }, z.core.$strip>]>>>;
2428
+ dimensionLinkage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2429
+ enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2430
+ showTooltip: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2431
+ showLabel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2432
+ }, z.core.$strip>>>;
2428
2433
  locale: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodEnum<{
2429
2434
  "zh-CN": "zh-CN";
2430
2435
  "en-US": "en-US";