@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
@@ -14,6 +14,7 @@ const zAdvancedVSeed = z.object({
14
14
  chartType: zChartType,
15
15
  dataset: zDataset,
16
16
  datasetReshapeInfo: zDatasetReshapeInfo,
17
+ pivotAllDatasetReshapeInfo: zDatasetReshapeInfo,
17
18
  dimensions: zDimensionTree,
18
19
  measures: zMeasureTree,
19
20
  reshapeMeasures: zMeasureTree.optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"types/advancedVSeed.js","sources":["webpack://@visactor/vseed/./src/types/advancedVSeed.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zChartType } from './properties/chartType'\nimport { zDataset } from './properties/dataset'\nimport { zDimensionTree } from './properties/dimensions'\nimport { zMeasureTree } from './properties/measures'\nimport { zEncoding } from './properties/encoding'\nimport { zDatasetReshapeInfo } from './properties/datasetReshapeInfo'\nimport { zTheme, zCustomThemeConfig } from './properties/theme'\nimport { zConfig } from './properties/config'\nimport { zAnalysis, zAnnotation, zRegressionLine, zMarkStyle } from './properties'\nimport { zLocale } from './i18n'\nimport { zCellStyle } from './properties/cellStyle/cellStyle'\n\nexport const zAdvancedVSeed = z.object({\n chartType: zChartType,\n dataset: zDataset,\n datasetReshapeInfo: zDatasetReshapeInfo,\n dimensions: zDimensionTree,\n measures: zMeasureTree,\n reshapeMeasures: zMeasureTree.optional(),\n reshapeDimensions: zDimensionTree.optional(),\n encoding: zEncoding,\n config: zConfig,\n analysis: zAnalysis,\n theme: zTheme,\n markStyle: zMarkStyle,\n cellStyle: zCellStyle,\n customTheme: zCustomThemeConfig,\n annotation: zAnnotation,\n locale: zLocale,\n regressionLine: zRegressionLine,\n})\n\nexport type AdvancedVSeed = z.infer<typeof zAdvancedVSeed>\n"],"names":["zAdvancedVSeed","z","zChartType","zDataset","zDatasetReshapeInfo","zDimensionTree","zMeasureTree","zEncoding","zConfig","zAnalysis","zTheme","zMarkStyle","zCellStyle","zCustomThemeConfig","zAnnotation","zLocale","zRegressionLine"],"mappings":";;;;;;;;;;;;AAaO,MAAMA,iBAAiBC,EAAE,MAAM,CAAC;IACrC,WAAWC;IACX,SAASC;IACT,oBAAoBC;IACpB,YAAYC;IACZ,UAAUC;IACV,iBAAiBA,aAAa,QAAQ;IACtC,mBAAmBD,eAAe,QAAQ;IAC1C,UAAUE;IACV,QAAQC;IACR,UAAUC;IACV,OAAOC;IACP,WAAWC;IACX,WAAWC;IACX,aAAaC;IACb,YAAYC;IACZ,QAAQC;IACR,gBAAgBC;AAClB"}
1
+ {"version":3,"file":"types/advancedVSeed.js","sources":["webpack://@visactor/vseed/./src/types/advancedVSeed.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zChartType } from './properties/chartType'\nimport { zDataset } from './properties/dataset'\nimport { zDimensionTree } from './properties/dimensions'\nimport { zMeasureTree } from './properties/measures'\nimport { zEncoding } from './properties/encoding'\nimport { zDatasetReshapeInfo } from './properties/datasetReshapeInfo'\nimport { zTheme, zCustomThemeConfig } from './properties/theme'\nimport { zConfig } from './properties/config'\nimport { zAnalysis, zAnnotation, zRegressionLine, zMarkStyle } from './properties'\nimport { zLocale } from './i18n'\nimport { zCellStyle } from './properties/cellStyle/cellStyle'\n\nexport const zAdvancedVSeed = z.object({\n chartType: zChartType,\n dataset: zDataset,\n datasetReshapeInfo: zDatasetReshapeInfo,\n pivotAllDatasetReshapeInfo: zDatasetReshapeInfo,\n dimensions: zDimensionTree,\n measures: zMeasureTree,\n reshapeMeasures: zMeasureTree.optional(),\n reshapeDimensions: zDimensionTree.optional(),\n encoding: zEncoding,\n config: zConfig,\n analysis: zAnalysis,\n theme: zTheme,\n markStyle: zMarkStyle,\n cellStyle: zCellStyle,\n customTheme: zCustomThemeConfig,\n annotation: zAnnotation,\n locale: zLocale,\n regressionLine: zRegressionLine,\n})\n\nexport type AdvancedVSeed = z.infer<typeof zAdvancedVSeed>\n"],"names":["zAdvancedVSeed","z","zChartType","zDataset","zDatasetReshapeInfo","zDimensionTree","zMeasureTree","zEncoding","zConfig","zAnalysis","zTheme","zMarkStyle","zCellStyle","zCustomThemeConfig","zAnnotation","zLocale","zRegressionLine"],"mappings":";;;;;;;;;;;;AAaO,MAAMA,iBAAiBC,EAAE,MAAM,CAAC;IACrC,WAAWC;IACX,SAASC;IACT,oBAAoBC;IACpB,4BAA4BA;IAC5B,YAAYC;IACZ,UAAUC;IACV,iBAAiBA,aAAa,QAAQ;IACtC,mBAAmBD,eAAe,QAAQ;IAC1C,UAAUE;IACV,QAAQC;IACR,UAAUC;IACV,OAAOC;IACP,WAAWC;IACX,WAAWC;IACX,aAAaC;IACb,YAAYC;IACZ,QAAQC;IACR,gBAAgBC;AAClB"}
@@ -1,5 +1,5 @@
1
1
  import type { Locale } from '../../i18n';
2
- import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, AreaStyle, BackgroundColor, Color, Dataset, Dimensions, Label, Legend, LineStyle, PointStyle, Theme, Tooltip, XBandAxis, YLinearAxis, CrosshairLine, MeasureTree, Sort, SortLegend } from '../../properties';
2
+ import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, AreaStyle, BackgroundColor, Color, Dataset, Dimensions, Label, Legend, LineStyle, PointStyle, Theme, Tooltip, XBandAxis, YLinearAxis, CrosshairLine, MeasureTree, Sort, SortLegend, DimensionLinkage } from '../../properties';
3
3
  /**
4
4
  * @recommend
5
5
  * - 推荐字段配置: `1`个指标, `2`个维度
@@ -176,6 +176,11 @@ export interface Area {
176
176
  * @description 标注区域配置, 根据选择的数据, 定义图表的标注区域, 包括标注区域的位置, 样式等.
177
177
  */
178
178
  annotationArea?: AnnotationArea | AnnotationArea[];
179
+ /**
180
+ * @description 当图表开启透视功能或者指标组合的是否,是否开启维度联动功能
181
+ * 当hover 到某个维度值时,联动高亮其他图表中相同维度值的数据
182
+ */
183
+ dimensionLinkage?: DimensionLinkage;
179
184
  /**
180
185
  * 语言
181
186
  * @description 图表语言配置, 支持'zh-CN'与'en-US'两种语言, 另外可以调用 intl.setLocale('zh-CN') 方法设置语言
@@ -1724,6 +1724,11 @@ export declare const zArea: z.ZodObject<{
1724
1724
  areaLineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
1725
1725
  outerPadding: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
1726
1726
  }, z.core.$strip>]>>>;
1727
+ dimensionLinkage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1728
+ enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1729
+ showTooltip: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1730
+ showLabel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1731
+ }, z.core.$strip>>>;
1727
1732
  locale: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodEnum<{
1728
1733
  "zh-CN": "zh-CN";
1729
1734
  "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, zAreaStyle, zBackgroundColor, zColor, zCrosshairLine, zDataset, zDimensions, zEncoding, zLabel, zLegend, zLineStyle, zMeasureTree, zPointStyle, zTheme, zTooltip, zXBandAxis, zYLinearAxis } from "../../properties/index.js";
3
+ import { zAnnotationArea, zAnnotationHorizontalLine, zAnnotationPoint, zAnnotationVerticalLine, zAreaStyle, zBackgroundColor, zColor, zCrosshairLine, zDataset, zDimensionLinkage, zDimensions, zEncoding, zLabel, zLegend, zLineStyle, zMeasureTree, zPointStyle, zTheme, zTooltip, zXBandAxis, zYLinearAxis } from "../../properties/index.js";
4
4
  const zArea = z.object({
5
5
  chartType: z.literal('area'),
6
6
  dataset: zDataset.nullish(),
@@ -23,6 +23,7 @@ const zArea = 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 { zArea };
@@ -1 +1 @@
1
- {"version":3,"file":"types/chartType/area/zArea.js","sources":["webpack://@visactor/vseed/./src/types/chartType/area/zArea.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from '../../i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zAreaStyle,\n zBackgroundColor,\n zColor,\n zCrosshairLine,\n zDataset,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zLineStyle,\n zMeasureTree,\n zPointStyle,\n zTheme,\n zTooltip,\n zXBandAxis,\n zYLinearAxis,\n} from '../../properties'\n\nexport const zArea = z.object({\n chartType: z.literal('area'),\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 crosshairLine: zCrosshairLine.nullish(),\n theme: zTheme.nullish(),\n pointStyle: z.array(zPointStyle).or(zPointStyle).nullish(),\n lineStyle: z.array(zLineStyle).or(zLineStyle).nullish(),\n areaStyle: z.array(zAreaStyle).or(zAreaStyle).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":["zArea","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXBandAxis","zYLinearAxis","zCrosshairLine","zTheme","zPointStyle","zLineStyle","zAreaStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zLocale"],"mappings":";;;AAyBO,MAAMA,QAAQC,EAAE,MAAM,CAAC;IAC5B,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,OAAOC,OAAO,OAAO;IACrB,YAAYb,EAAE,KAAK,CAACc,aAAa,EAAE,CAACA,aAAa,OAAO;IACxD,WAAWd,EAAE,KAAK,CAACe,YAAY,EAAE,CAACA,YAAY,OAAO;IACrD,WAAWf,EAAE,KAAK,CAACgB,YAAY,EAAE,CAACA,YAAY,OAAO;IACrD,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/area/zArea.js","sources":["webpack://@visactor/vseed/./src/types/chartType/area/zArea.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from '../../i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zAreaStyle,\n zBackgroundColor,\n zColor,\n zCrosshairLine,\n zDataset,\n zDimensionLinkage,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zLineStyle,\n zMeasureTree,\n zPointStyle,\n zTheme,\n zTooltip,\n zXBandAxis,\n zYLinearAxis,\n} from '../../properties'\n\nexport const zArea = z.object({\n chartType: z.literal('area'),\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 crosshairLine: zCrosshairLine.nullish(),\n theme: zTheme.nullish(),\n pointStyle: z.array(zPointStyle).or(zPointStyle).nullish(),\n lineStyle: z.array(zLineStyle).or(zLineStyle).nullish(),\n areaStyle: z.array(zAreaStyle).or(zAreaStyle).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":["zArea","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXBandAxis","zYLinearAxis","zCrosshairLine","zTheme","zPointStyle","zLineStyle","zAreaStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zDimensionLinkage","zLocale"],"mappings":";;;AA0BO,MAAMA,QAAQC,EAAE,MAAM,CAAC;IAC5B,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,OAAOC,OAAO,OAAO;IACrB,YAAYb,EAAE,KAAK,CAACc,aAAa,EAAE,CAACA,aAAa,OAAO;IACxD,WAAWd,EAAE,KAAK,CAACe,YAAY,EAAE,CAACA,YAAY,OAAO;IACrD,WAAWf,EAAE,KAAK,CAACgB,YAAY,EAAE,CAACA,YAAY,OAAO;IACrD,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, Color, Dataset, Dimensions, Label, Legend, LineStyle, PointStyle, Theme, Tooltip, XBandAxis, YLinearAxis, CrosshairLine, MeasureTree, Sort, SortLegend } from '../../properties';
2
+ import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, AreaStyle, BackgroundColor, Color, Dataset, Dimensions, Label, Legend, LineStyle, PointStyle, Theme, Tooltip, XBandAxis, YLinearAxis, CrosshairLine, MeasureTree, Sort, SortLegend, DimensionLinkage } from '../../properties';
3
3
  /**
4
4
  * @description 百分比面积图,适用于展示多类别占比随时间变化的趋势,Y轴以百分比形式展示占比关系
5
5
  * 适用场景:
@@ -174,6 +174,11 @@ export interface AreaPercent {
174
174
  * @description 标注区域配置, 根据选择的数据, 定义图表的标注区域, 包括标注区域的位置, 样式等.
175
175
  */
176
176
  annotationArea?: AnnotationArea | AnnotationArea[];
177
+ /**
178
+ * 当图表开启透视功能或者指标组合的是否,是否开启维度联动功能
179
+ * 当hover 到某个维度值时,联动高亮其他图表中相同维度值的数据
180
+ */
181
+ dimensionLinkage?: DimensionLinkage;
177
182
  /**
178
183
  * 语言
179
184
  * @description 图表语言配置, 支持'zh-CN'与'en-US'两种语言, 另外可以调用 intl.setLocale('zh-CN') 方法设置语言
@@ -1724,6 +1724,11 @@ export declare const zAreaPercent: z.ZodObject<{
1724
1724
  areaLineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
1725
1725
  outerPadding: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
1726
1726
  }, z.core.$strip>]>>>;
1727
+ dimensionLinkage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1728
+ enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1729
+ showTooltip: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1730
+ showLabel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1731
+ }, z.core.$strip>>>;
1727
1732
  locale: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodEnum<{
1728
1733
  "zh-CN": "zh-CN";
1729
1734
  "en-US": "en-US";
@@ -1,5 +1,5 @@
1
1
  import { zLocale } from "../../i18n/index.js";
2
- import { zAnnotationArea, zAnnotationHorizontalLine, zAnnotationPoint, zAnnotationVerticalLine, zAreaStyle, zBackgroundColor, zColor, zCrosshairLine, zDataset, zDimensions, zEncoding, zLabel, zLegend, zLineStyle, zMeasureTree, zPointStyle, zTheme, zTooltip, zXBandAxis, zYLinearAxis } from "../../properties/index.js";
2
+ import { zAnnotationArea, zAnnotationHorizontalLine, zAnnotationPoint, zAnnotationVerticalLine, zAreaStyle, zBackgroundColor, zColor, zCrosshairLine, zDataset, zDimensionLinkage, zDimensions, zEncoding, zLabel, zLegend, zLineStyle, zMeasureTree, zPointStyle, zTheme, zTooltip, zXBandAxis, zYLinearAxis } from "../../properties/index.js";
3
3
  import { z } from "zod";
4
4
  const zAreaPercent = z.object({
5
5
  chartType: z.literal('areaPercent'),
@@ -23,6 +23,7 @@ const zAreaPercent = 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 { zAreaPercent };
@@ -1 +1 @@
1
- {"version":3,"file":"types/chartType/areaPercent/zAreaPercent.js","sources":["webpack://@visactor/vseed/./src/types/chartType/areaPercent/zAreaPercent.ts"],"sourcesContent":["import { zLocale } from '../../i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zAreaStyle,\n zBackgroundColor,\n zColor,\n zCrosshairLine,\n zDataset,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zLineStyle,\n zMeasureTree,\n zPointStyle,\n zTheme,\n zTooltip,\n zXBandAxis,\n zYLinearAxis,\n} from '../../properties'\n\nimport { z } from 'zod'\n\nexport const zAreaPercent = z.object({\n chartType: z.literal('areaPercent'),\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 crosshairLine: zCrosshairLine.nullish(),\n theme: zTheme.nullish(),\n pointStyle: z.array(zPointStyle).or(zPointStyle).nullish(),\n lineStyle: z.array(zLineStyle).or(zLineStyle).nullish(),\n areaStyle: z.array(zAreaStyle).or(zAreaStyle).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":["zAreaPercent","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXBandAxis","zYLinearAxis","zCrosshairLine","zTheme","zPointStyle","zLineStyle","zAreaStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zLocale"],"mappings":";;;AA0BO,MAAMA,eAAeC,EAAE,MAAM,CAAC;IACnC,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,OAAOC,OAAO,OAAO;IACrB,YAAYb,EAAE,KAAK,CAACc,aAAa,EAAE,CAACA,aAAa,OAAO;IACxD,WAAWd,EAAE,KAAK,CAACe,YAAY,EAAE,CAACA,YAAY,OAAO;IACrD,WAAWf,EAAE,KAAK,CAACgB,YAAY,EAAE,CAACA,YAAY,OAAO;IACrD,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/areaPercent/zAreaPercent.js","sources":["webpack://@visactor/vseed/./src/types/chartType/areaPercent/zAreaPercent.ts"],"sourcesContent":["import { zLocale } from '../../i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zAreaStyle,\n zBackgroundColor,\n zColor,\n zCrosshairLine,\n zDataset,\n zDimensionLinkage,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zLineStyle,\n zMeasureTree,\n zPointStyle,\n zTheme,\n zTooltip,\n zXBandAxis,\n zYLinearAxis,\n} from '../../properties'\n\nimport { z } from 'zod'\n\nexport const zAreaPercent = z.object({\n chartType: z.literal('areaPercent'),\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 crosshairLine: zCrosshairLine.nullish(),\n theme: zTheme.nullish(),\n pointStyle: z.array(zPointStyle).or(zPointStyle).nullish(),\n lineStyle: z.array(zLineStyle).or(zLineStyle).nullish(),\n areaStyle: z.array(zAreaStyle).or(zAreaStyle).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":["zAreaPercent","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXBandAxis","zYLinearAxis","zCrosshairLine","zTheme","zPointStyle","zLineStyle","zAreaStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zDimensionLinkage","zLocale"],"mappings":";;;AA2BO,MAAMA,eAAeC,EAAE,MAAM,CAAC;IACnC,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,OAAOC,OAAO,OAAO;IACrB,YAAYb,EAAE,KAAK,CAACc,aAAa,EAAE,CAACA,aAAa,OAAO;IACxD,WAAWd,EAAE,KAAK,CAACe,YAAY,EAAE,CAACA,YAAY,OAAO;IACrD,WAAWf,EAAE,KAAK,CAACgB,YAAY,EAAE,CAACA,YAAY,OAAO;IACrD,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 { BarMaxWidth, MeasureTree, Sort, SortLegend } from '../../properties';
2
+ import type { BarMaxWidth, DimensionLinkage, MeasureTree, Sort, SortLegend } from '../../properties';
3
3
  import { type AnnotationArea, type AnnotationHorizontalLine, type AnnotationPoint, type AnnotationVerticalLine, type BackgroundColor, type BarStyle, type Color, type CrosshairRect, type Dataset, type Dimensions, type Label, type Legend, type StackCornerRadius, type Theme, type Tooltip, type XLinearAxis, type YBandAxis } from '../../properties';
4
4
  /**
5
5
  * @description 条形图,适用于横向数据对比场景,Y轴为类目轴(分类数据),X轴为数值轴(连续数据),柱子横向排列
@@ -149,6 +149,11 @@ export interface Bar {
149
149
  * @description 标注区域配置, 根据选择的数据, 定义图表的标注区域, 包括标注区域的位置, 样式等.
150
150
  */
151
151
  annotationArea?: AnnotationArea | AnnotationArea[];
152
+ /**
153
+ * 当图表开启透视功能或者指标组合的是否,是否开启维度联动功能
154
+ * 当hover 到某个维度值时,联动高亮其他图表中相同维度值的数据
155
+ */
156
+ dimensionLinkage?: DimensionLinkage;
152
157
  /**
153
158
  * @description 图表语言配置, 支持'zh-CN'与'en-US'两种语言, 另外可以调用 intl.setLocale('zh-CN') 方法设置语言
154
159
  * @default 'zh-CN'
@@ -1409,6 +1409,11 @@ export declare const zBar: 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, zXLinearAxis, zYBandAxis } 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, zXLinearAxis, zYBandAxis } from "../../properties/index.js";
3
3
  import { z } from "zod";
4
4
  const zBar = z.object({
5
5
  chartType: z.literal('bar'),
@@ -23,6 +23,7 @@ const zBar = 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 { zBar };
@@ -1 +1 @@
1
- {"version":3,"file":"types/chartType/bar/zBar.js","sources":["webpack://@visactor/vseed/./src/types/chartType/bar/zBar.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 zXLinearAxis,\n zYBandAxis,\n} from '../../properties'\n\nimport { z } from 'zod'\n\nexport const zBar = z.object({\n chartType: z.literal('bar'),\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: zXLinearAxis.nullish(),\n yAxis: zYBandAxis.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":["zBar","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXLinearAxis","zYBandAxis","zCrosshairRect","zStackCornerRadius","zBarMaxWidth","zTheme","zBarStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zLocale"],"mappings":";;;AA0BO,MAAMA,OAAOC,EAAE,MAAM,CAAC;IAC3B,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,aAAa,OAAO;IAC3B,OAAOC,WAAW,OAAO;IACzB,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/bar/zBar.js","sources":["webpack://@visactor/vseed/./src/types/chartType/bar/zBar.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 zXLinearAxis,\n zYBandAxis,\n} from '../../properties'\n\nimport { z } from 'zod'\n\nexport const zBar = z.object({\n chartType: z.literal('bar'),\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: zXLinearAxis.nullish(),\n yAxis: zYBandAxis.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":["zBar","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXLinearAxis","zYBandAxis","zCrosshairRect","zStackCornerRadius","zBarMaxWidth","zTheme","zBarStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zDimensionLinkage","zLocale"],"mappings":";;;AA2BO,MAAMA,OAAOC,EAAE,MAAM,CAAC;IAC3B,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,aAAa,OAAO;IAC3B,OAAOC,WAAW,OAAO;IACzB,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, BackgroundColor, BarStyle, Color, CrosshairRect, Dataset, Dimensions, Label, Legend, StackCornerRadius, Theme, Tooltip, XLinearAxis, YBandAxis, MeasureTree, Sort, SortLegend, BarMaxWidth, BarGapInGroup } from '../../properties';
2
+ import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, BarStyle, Color, CrosshairRect, Dataset, Dimensions, Label, Legend, StackCornerRadius, Theme, Tooltip, XLinearAxis, YBandAxis, MeasureTree, Sort, SortLegend, BarMaxWidth, BarGapInGroup, DimensionLinkage } from '../../properties';
3
3
  /**
4
4
  * @description 并列条形图,适用于多指标横向并行对比场景,多个条形平行排列展示不同指标值
5
5
  * 适用场景:
@@ -151,6 +151,11 @@ export interface BarParallel {
151
151
  * @description 标注区域配置, 根据选择的数据, 定义图表的标注区域, 包括标注区域的位置, 样式等.
152
152
  */
153
153
  annotationArea?: AnnotationArea | AnnotationArea[];
154
+ /**
155
+ * 当图表开启透视功能或者指标组合的是否,是否开启维度联动功能
156
+ * 当hover 到某个维度值时,联动高亮其他图表中相同维度值的数据
157
+ */
158
+ dimensionLinkage?: DimensionLinkage;
154
159
  /**
155
160
  * @description 图表语言配置, 支持'zh-CN'与'en-US'两种语言, 另外可以调用 intl.setLocale('zh-CN') 方法设置语言
156
161
  * @default 'zh-CN'
@@ -1410,6 +1410,11 @@ export declare const zBarParallel: 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, zXLinearAxis, zYBandAxis } 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, zXLinearAxis, zYBandAxis } from "../../properties/index.js";
4
4
  const zBarParallel = z.object({
5
5
  chartType: z.literal('barParallel'),
6
6
  dataset: zDataset.nullish(),
@@ -24,6 +24,7 @@ const zBarParallel = 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 { zBarParallel };
@@ -1 +1 @@
1
- {"version":3,"file":"types/chartType/barParallel/zBarParallel.js","sources":["webpack://@visactor/vseed/./src/types/chartType/barParallel/zBarParallel.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 zXLinearAxis,\n zYBandAxis,\n} from '../../properties'\n\nexport const zBarParallel = z.object({\n chartType: z.literal('barParallel'),\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: zXLinearAxis.nullish(),\n yAxis: zYBandAxis.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":["zBarParallel","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXLinearAxis","zYBandAxis","zCrosshairRect","zStackCornerRadius","zBarMaxWidth","zBarGapInGroup","zTheme","zBarStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zLocale"],"mappings":";;;AA0BO,MAAMA,eAAeC,EAAE,MAAM,CAAC;IACnC,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,aAAa,OAAO;IAC3B,OAAOC,WAAW,OAAO;IACzB,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/barParallel/zBarParallel.js","sources":["webpack://@visactor/vseed/./src/types/chartType/barParallel/zBarParallel.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 zXLinearAxis,\n zYBandAxis,\n} from '../../properties'\n\nexport const zBarParallel = z.object({\n chartType: z.literal('barParallel'),\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: zXLinearAxis.nullish(),\n yAxis: zYBandAxis.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":["zBarParallel","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXLinearAxis","zYBandAxis","zCrosshairRect","zStackCornerRadius","zBarMaxWidth","zBarGapInGroup","zTheme","zBarStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zDimensionLinkage","zLocale"],"mappings":";;;AA2BO,MAAMA,eAAeC,EAAE,MAAM,CAAC;IACnC,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,aAAa,OAAO;IAC3B,OAAOC,WAAW,OAAO;IACzB,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, XLinearAxis, YBandAxis, MeasureTree, Sort, SortLegend, BarMaxWidth } from '../../properties';
2
+ import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, BarStyle, Color, CrosshairRect, Dataset, Dimensions, Label, Legend, StackCornerRadius, Theme, Tooltip, XLinearAxis, YBandAxis, MeasureTree, Sort, SortLegend, BarMaxWidth, DimensionLinkage } from '../../properties';
3
3
  /**
4
4
  * @description 百分比条形图,适用于横向展示各类别占比关系的场景,X轴以百分比形式展示数据占比
5
5
  * 适用场景:
@@ -153,6 +153,11 @@ export interface BarPercent {
153
153
  * @description 标注区域配置, 根据选择的数据, 定义图表的标注区域, 包括标注区域的位置, 样式等.
154
154
  */
155
155
  annotationArea?: AnnotationArea | AnnotationArea[];
156
+ /**
157
+ * 当图表开启透视功能或者指标组合的是否,是否开启维度联动功能
158
+ * 当hover 到某个维度值时,联动高亮其他图表中相同维度值的数据
159
+ */
160
+ dimensionLinkage?: DimensionLinkage;
156
161
  /**
157
162
  * 语言
158
163
  * @description 图表语言配置, 支持'zh-CN'与'en-US'两种语言, 另外可以调用 intl.setLocale('zh-CN') 方法设置语言
@@ -1409,6 +1409,11 @@ export declare const zBarPercent: 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,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, zStackCornerRadius, zTheme, zTooltip, zXLinearAxis, zYBandAxis } from "../../properties/index.js";
3
+ import { zAnnotationArea, zAnnotationHorizontalLine, zAnnotationPoint, zAnnotationVerticalLine, zBackgroundColor, zBarMaxWidth, zBarStyle, zColor, zCrosshairRect, zDataset, zDimensionLinkage, zDimensions, zEncoding, zLabel, zLegend, zMeasureTree, zStackCornerRadius, zTheme, zTooltip, zXLinearAxis, zYBandAxis } from "../../properties/index.js";
4
4
  const zBarPercent = z.object({
5
5
  chartType: z.literal('barPercent'),
6
6
  dataset: zDataset.nullish(),
@@ -23,6 +23,7 @@ const zBarPercent = 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 { zBarPercent };
@@ -1 +1 @@
1
- {"version":3,"file":"types/chartType/barPercent/zBarPercent.js","sources":["webpack://@visactor/vseed/./src/types/chartType/barPercent/zBarPercent.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 zStackCornerRadius,\n zTheme,\n zTooltip,\n zXLinearAxis,\n zYBandAxis,\n} from '../../properties'\n\nexport const zBarPercent = z.object({\n chartType: z.literal('barPercent'),\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: zXLinearAxis.nullish(),\n yAxis: zYBandAxis.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":["zBarPercent","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXLinearAxis","zYBandAxis","zCrosshairRect","zStackCornerRadius","zBarMaxWidth","zTheme","zBarStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zLocale"],"mappings":";;;AAyBO,MAAMA,cAAcC,EAAE,MAAM,CAAC;IAClC,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,aAAa,OAAO;IAC3B,OAAOC,WAAW,OAAO;IACzB,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/barPercent/zBarPercent.js","sources":["webpack://@visactor/vseed/./src/types/chartType/barPercent/zBarPercent.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 zStackCornerRadius,\n zTheme,\n zTooltip,\n zXLinearAxis,\n zYBandAxis,\n} from '../../properties'\n\nexport const zBarPercent = z.object({\n chartType: z.literal('barPercent'),\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: zXLinearAxis.nullish(),\n yAxis: zYBandAxis.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":["zBarPercent","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXLinearAxis","zYBandAxis","zCrosshairRect","zStackCornerRadius","zBarMaxWidth","zTheme","zBarStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zDimensionLinkage","zLocale"],"mappings":";;;AA0BO,MAAMA,cAAcC,EAAE,MAAM,CAAC;IAClC,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,aAAa,OAAO;IAC3B,OAAOC,WAAW,OAAO;IACzB,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, BackgroundColor, Color, CrosshairRect, Dataset, Dimensions, Label, Legend, Theme, Tooltip, XBandAxis, YLinearAxis, MeasureTree, Sort, SortLegend, WhiskersConfig } from '../../properties';
2
+ import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, BoxPlotStyle, Color, CrosshairRect, Dataset, DimensionLinkage, Dimensions, Label, Legend, MeasureTree, OutlierStyle, Sort, SortLegend, Theme, Tooltip, WhiskersConfig, XBandAxis, YLinearAxis } from '../../properties';
3
3
  /**
4
4
  * @description 箱线图,适用于展示数据分布情况,X轴为类目轴(分类数据),Y轴为数值轴(连续数据),箱体纵向排列
5
5
  * 适用场景:
@@ -113,6 +113,14 @@ export interface Boxplot {
113
113
  * @description 垂直提示框配置, 用于定义图表的垂直提示框, 包括垂直提示框的颜色、标签样式等.
114
114
  */
115
115
  crosshairRect?: CrosshairRect;
116
+ /**
117
+ * @description 箱线图箱体的样式配置,支持全局或选择器粒度生效
118
+ */
119
+ boxPlotStyle?: BoxPlotStyle | BoxPlotStyle[];
120
+ /**
121
+ * @description 异常点的样式配置,支持全局或选择器粒度生效
122
+ */
123
+ outlierStyle?: OutlierStyle | OutlierStyle[];
116
124
  /**
117
125
  * @description 直方图的须长配置,支持标量值和长度为2 的数组
118
126
  * 当值为标量的时候,使用 whiskers * IQR 来计算上界值和下界值
@@ -136,6 +144,11 @@ export interface Boxplot {
136
144
  * @description 标注区域配置, 根据选择的数据, 定义图表的标注区域, 包括标注区域的位置, 样式等.
137
145
  */
138
146
  annotationArea?: AnnotationArea | AnnotationArea[];
147
+ /**
148
+ * 当图表开启透视功能或者指标组合的是否,是否开启维度联动功能
149
+ * 当hover 到某个维度值时,联动高亮其他图表中相同维度值的数据
150
+ */
151
+ dimensionLinkage?: DimensionLinkage;
139
152
  /**
140
153
  * @description 图表语言配置, 支持'zh-CN'与'en-US'两种语言, 另外可以调用 intl.setLocale('zh-CN') 方法设置语言
141
154
  * @default 'zh-CN'