vccs 0.6.0 → 1.0.0-beta.2

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 (728) hide show
  1. package/LICENSE +25 -0
  2. package/README.md +133 -112
  3. package/dist/animation/ActiveDot.d.ts +14 -0
  4. package/dist/animation/MovingLabels.d.ts +57 -0
  5. package/dist/animation/SweepClip.d.ts +56 -0
  6. package/dist/animation/gridTransition.d.ts +38 -0
  7. package/dist/animation/motion.d.ts +78 -0
  8. package/dist/animation/ridingLabels.d.ts +29 -0
  9. package/dist/animation/useAnimationCallbacks.d.ts +5 -0
  10. package/dist/animation/useKeyedTransition.d.ts +86 -0
  11. package/dist/animation/usePointTransition.d.ts +40 -0
  12. package/dist/animation/useReducedMotion.d.ts +2 -0
  13. package/dist/animation/useTickMotion.d.ts +22 -0
  14. package/dist/cartesian/ActivePoints.d.ts +71 -0
  15. package/dist/cartesian/GraphicalItemClipPath.d.ts +27 -2
  16. package/dist/cartesian/area/Area.d.ts +229 -14
  17. package/dist/cartesian/area/RenderArea.d.ts +1 -16
  18. package/dist/cartesian/area/hooks/useArea.d.ts +13 -18
  19. package/dist/cartesian/area/type.d.ts +32 -81
  20. package/dist/cartesian/axis/AxisProps.d.ts +101 -0
  21. package/dist/cartesian/axis/XAxis.d.ts +144 -83
  22. package/dist/cartesian/axis/YAxis.d.ts +152 -94
  23. package/dist/cartesian/bar/Bar.d.ts +229 -2
  24. package/dist/cartesian/bar/components/BarBackground.d.ts +1 -1
  25. package/dist/cartesian/bar/hooks/useBar.d.ts +31 -15
  26. package/dist/cartesian/bar/type.d.ts +46 -77
  27. package/dist/cartesian/brush/Brush.d.ts +150 -2
  28. package/dist/cartesian/brush/components/BrushText.d.ts +7 -7
  29. package/dist/cartesian/brush/components/Panorama.d.ts +7 -5
  30. package/dist/cartesian/brush/components/Slide.d.ts +4 -4
  31. package/dist/cartesian/brush/components/TravellerLayer.d.ts +21 -13
  32. package/dist/cartesian/brush/hooks/useBrushHandlers.d.ts +3 -4
  33. package/dist/cartesian/brush/hooks/useBrushState.d.ts +16 -16
  34. package/dist/cartesian/brush/type.d.ts +14 -33
  35. package/dist/cartesian/brush/utils.d.ts +5 -6
  36. package/dist/cartesian/cartesian-axis/CartesianAxis.d.ts +37 -63
  37. package/dist/cartesian/cartesian-grid/Background.d.ts +1 -1
  38. package/dist/cartesian/cartesian-grid/CartesianGrid.d.ts +68 -16
  39. package/dist/cartesian/cartesian-grid/HorizontalGridLines.d.ts +18 -11
  40. package/dist/cartesian/cartesian-grid/HorizontalStripes.d.ts +6 -5
  41. package/dist/cartesian/cartesian-grid/VerticalGridLines.d.ts +17 -10
  42. package/dist/cartesian/cartesian-grid/VerticalStripes.d.ts +6 -5
  43. package/dist/cartesian/cartesian-grid/const.d.ts +2 -6
  44. package/dist/cartesian/cartesian-grid/type.d.ts +21 -30
  45. package/dist/cartesian/cartesian-grid/utils.d.ts +3 -1
  46. package/dist/cartesian/cartesianPositionToCSSTranslate.d.ts +1 -1
  47. package/dist/cartesian/error-bar/ErrorBar.d.ts +11 -30
  48. package/dist/cartesian/error-bar/ErrorBarContext.d.ts +12 -15
  49. package/dist/cartesian/funnel/Funnel.d.ts +161 -2
  50. package/dist/cartesian/funnel/type.d.ts +20 -57
  51. package/dist/cartesian/getCartesianPosition.d.ts +1 -3
  52. package/dist/cartesian/line/Line.d.ts +177 -77
  53. package/dist/cartesian/line/StaticLine.d.ts +0 -15
  54. package/dist/cartesian/line/hooks/useLine.d.ts +14 -15
  55. package/dist/cartesian/line/type.d.ts +52 -104
  56. package/dist/cartesian/reference-area/ReferenceArea.d.ts +42 -90
  57. package/dist/cartesian/reference-dot/ReferenceDot.d.ts +21 -63
  58. package/dist/cartesian/reference-line/ReferenceLine.d.ts +35 -67
  59. package/dist/cartesian/scatter/Scatter.d.ts +72 -53
  60. package/dist/cartesian/scatter/hooks/useScatter.d.ts +6 -5
  61. package/dist/cartesian/scatter/type.d.ts +89 -0
  62. package/dist/cartesian/useNeedsClip.d.ts +3 -2
  63. package/dist/cartesian/utils/get-ticks.d.ts +5 -6
  64. package/dist/cartesian/z-axis/ZAxis.d.ts +20 -21
  65. package/dist/chart/AreaChart.d.ts +231 -1
  66. package/dist/chart/BarChart.d.ts +231 -1
  67. package/dist/chart/BarList.d.ts +172 -0
  68. package/dist/chart/CalendarHeatmap.d.ts +308 -0
  69. package/dist/chart/CellGridLayer.d.ts +136 -0
  70. package/dist/chart/ChartShell.d.ts +85 -0
  71. package/dist/chart/ChartWrapper.d.ts +167 -0
  72. package/dist/chart/ChartsWrapper.d.ts +75 -87
  73. package/dist/chart/CohortChart.d.ts +254 -0
  74. package/dist/chart/ComposedChart.d.ts +231 -1
  75. package/dist/chart/FunnelChart.d.ts +201 -1
  76. package/dist/chart/Heatmap.d.ts +687 -0
  77. package/dist/chart/JourneySankey.d.ts +261 -0
  78. package/dist/chart/LineChart.d.ts +231 -1
  79. package/dist/chart/PieChart.d.ts +243 -1
  80. package/dist/chart/RadarChart.d.ts +243 -1
  81. package/dist/chart/RadialBarChart.d.ts +273 -1
  82. package/dist/chart/Sankey.d.ts +85 -157
  83. package/dist/chart/ScatterChart.d.ts +231 -1
  84. package/dist/chart/Sparkline.d.ts +257 -0
  85. package/dist/chart/SunburstChart.d.ts +101 -132
  86. package/dist/chart/Tracker.d.ts +211 -0
  87. package/dist/chart/Treemap.d.ts +101 -147
  88. package/dist/chart/cellGridProps.d.ts +40 -0
  89. package/dist/chart/cellGridUtils.d.ts +53 -0
  90. package/dist/chart/chartProps.d.ts +402 -0
  91. package/dist/chart/chartRoot.d.ts +144 -0
  92. package/dist/chart/const.d.ts +0 -2
  93. package/dist/chart/directChartTypes.d.ts +13 -0
  94. package/dist/chart/journeyTypes.d.ts +99 -0
  95. package/dist/chart/journeyUtils.d.ts +102 -0
  96. package/dist/chart/sankeyUtils.d.ts +2 -2
  97. package/dist/chart/shell.d.ts +14 -0
  98. package/dist/chart/sunburstUtils.d.ts +7 -3
  99. package/dist/chart/treemapUtils.d.ts +8 -6
  100. package/dist/componentNames.d.ts +2 -0
  101. package/dist/components/Cell.d.ts +1 -1
  102. package/dist/components/Customized.d.ts +12 -7
  103. package/dist/components/Text.d.ts +31 -31
  104. package/dist/components/label/Label.d.ts +14 -26
  105. package/dist/components/label/LabelList.d.ts +24 -14
  106. package/dist/components/label/LabelListView.d.ts +23 -0
  107. package/dist/components/label/LabelView.d.ts +79 -0
  108. package/dist/components/label/types.d.ts +70 -15
  109. package/dist/components/label/utils.d.ts +24 -12
  110. package/dist/components/legend/Legend.d.ts +109 -4
  111. package/dist/components/legend/LegendSymbol.d.ts +2 -3
  112. package/dist/components/legend/hooks/useLegend.d.ts +8 -10
  113. package/dist/components/legend/hooks/useLegendContent.d.ts +7 -14
  114. package/dist/components/legend/type.d.ts +17 -25
  115. package/dist/components/legend/utils.d.ts +4 -4
  116. package/dist/components/tooltip/Cursor.d.ts +19 -0
  117. package/dist/components/tooltip/DefaultTooltipContent.d.ts +35 -0
  118. package/dist/components/{Tooltip.d.ts → tooltip/Tooltip.d.ts} +72 -100
  119. package/dist/components/tooltip/TooltipBoundingBox.d.ts +40 -0
  120. package/dist/components/tooltip/types.d.ts +59 -0
  121. package/dist/components/types.d.ts +6 -6
  122. package/dist/components/utils.d.ts +3 -3
  123. package/dist/container/ClipPath.d.ts +1 -1
  124. package/dist/container/Layer.d.ts +1 -1
  125. package/dist/container/ResponsiveContainer.d.ts +10 -13
  126. package/dist/container/Surface.d.ts +9 -1
  127. package/dist/container/useSizeContext.d.ts +4 -10
  128. package/dist/context/cartesianLabelListContext.d.ts +6 -2
  129. package/dist/context/polarLabelViewBoxContext.d.ts +1 -1
  130. package/dist/core/area.d.ts +32 -0
  131. package/dist/core/axis/data.d.ts +28 -0
  132. package/dist/core/axis/domain.d.ts +11 -0
  133. package/dist/core/axis/key.d.ts +7 -0
  134. package/dist/core/axis/polar.d.ts +11 -0
  135. package/dist/core/axis/polarSettings.d.ts +5 -0
  136. package/dist/core/axis/position.d.ts +76 -0
  137. package/dist/core/axis/range.d.ts +8 -0
  138. package/dist/core/axis/references.d.ts +6 -0
  139. package/dist/core/axis/scale.d.ts +21 -0
  140. package/dist/core/axis/settings.d.ts +4 -0
  141. package/dist/core/axis/stacks.d.ts +14 -0
  142. package/dist/core/axis/ticks.d.ts +19 -0
  143. package/dist/core/axis/userDomain.d.ts +48 -0
  144. package/dist/core/bar.d.ts +22 -0
  145. package/dist/core/barSizing.d.ts +43 -0
  146. package/dist/core/color.d.ts +21 -0
  147. package/dist/core/coordinates.d.ts +34 -0
  148. package/dist/core/data.d.ts +2 -0
  149. package/dist/core/errorBar.d.ts +15 -0
  150. package/dist/core/funnel.d.ts +17 -0
  151. package/dist/core/interaction.d.ts +18 -0
  152. package/dist/core/layout.d.ts +43 -0
  153. package/dist/core/line.d.ts +14 -0
  154. package/dist/{state/selectors/pieSelectors.d.ts → core/pie.d.ts} +14 -16
  155. package/dist/core/polygon.d.ts +5 -0
  156. package/dist/core/radar.d.ts +20 -0
  157. package/dist/core/radialBar.d.ts +36 -0
  158. package/dist/core/rectangle.d.ts +10 -0
  159. package/dist/core/scatter.d.ts +18 -0
  160. package/dist/core/tooltip.d.ts +16 -0
  161. package/dist/es/animation/ActiveDot.mjs +39 -0
  162. package/dist/es/animation/MovingLabels.mjs +61 -0
  163. package/dist/es/animation/SweepClip.mjs +40 -0
  164. package/dist/es/animation/gridTransition.mjs +112 -0
  165. package/dist/es/animation/motion.mjs +100 -0
  166. package/dist/es/animation/ridingLabels.mjs +70 -0
  167. package/dist/es/animation/useAnimationCallbacks.mjs +23 -0
  168. package/dist/es/animation/useKeyedTransition.mjs +355 -0
  169. package/dist/es/animation/usePointTransition.mjs +119 -0
  170. package/dist/es/animation/useReducedMotion.mjs +12 -0
  171. package/dist/es/animation/useTickMotion.mjs +62 -0
  172. package/dist/es/cartesian/ActivePoints.mjs +65 -0
  173. package/dist/es/cartesian/GraphicalItemClipPath.mjs +50 -9
  174. package/dist/es/cartesian/area/Area.mjs +72 -35
  175. package/dist/es/cartesian/area/RenderArea.mjs +112 -105
  176. package/dist/es/cartesian/area/hooks/useArea.mjs +44 -42
  177. package/dist/es/cartesian/area/type.mjs +14 -46
  178. package/dist/es/cartesian/axis/AxisProps.mjs +94 -0
  179. package/dist/es/cartesian/axis/XAxis.mjs +37 -159
  180. package/dist/es/cartesian/axis/YAxis.mjs +63 -167
  181. package/dist/es/cartesian/bar/Bar.mjs +122 -53
  182. package/dist/es/cartesian/bar/components/BarBackground.mjs +1 -1
  183. package/dist/es/cartesian/bar/components/BarRectangles.mjs +188 -126
  184. package/dist/es/cartesian/bar/hooks/useBar.mjs +67 -31
  185. package/dist/es/cartesian/bar/type.mjs +4 -22
  186. package/dist/es/cartesian/brush/Brush.mjs +294 -0
  187. package/dist/es/cartesian/brush/components/Background.mjs +25 -0
  188. package/dist/es/cartesian/brush/components/BrushText.mjs +55 -0
  189. package/dist/es/cartesian/brush/components/Panorama.mjs +54 -0
  190. package/dist/es/cartesian/brush/components/Slide.mjs +40 -0
  191. package/dist/es/cartesian/brush/components/Traveller.mjs +46 -0
  192. package/dist/es/cartesian/brush/components/TravellerLayer.mjs +68 -0
  193. package/dist/es/cartesian/brush/hooks/useBrushHandlers.mjs +158 -0
  194. package/dist/es/cartesian/brush/hooks/useBrushState.mjs +67 -0
  195. package/dist/es/cartesian/brush/type.mjs +54 -0
  196. package/dist/es/cartesian/brush/utils.mjs +30 -0
  197. package/dist/es/cartesian/cartesian-axis/CartesianAxis.mjs +27 -20
  198. package/dist/es/cartesian/cartesian-grid/CartesianGrid.mjs +157 -72
  199. package/dist/es/cartesian/cartesian-grid/HorizontalGridLines.mjs +5 -1
  200. package/dist/es/cartesian/cartesian-grid/VerticalGridLines.mjs +5 -1
  201. package/dist/es/cartesian/cartesian-grid/const.mjs +3 -320
  202. package/dist/es/cartesian/cartesian-grid/utils.mjs +1 -1
  203. package/dist/es/cartesian/error-bar/ErrorBar.mjs +65 -102
  204. package/dist/es/cartesian/error-bar/ErrorBarContext.mjs +21 -5
  205. package/dist/es/cartesian/funnel/Funnel.mjs +247 -127
  206. package/dist/es/cartesian/funnel/type.mjs +8 -14
  207. package/dist/es/cartesian/line/Line.mjs +72 -25
  208. package/dist/es/cartesian/line/StaticLine.mjs +129 -166
  209. package/dist/es/cartesian/line/hooks/useLine.mjs +38 -35
  210. package/dist/es/cartesian/line/type.mjs +5 -43
  211. package/dist/es/cartesian/reference-area/ReferenceArea.mjs +108 -88
  212. package/dist/es/cartesian/reference-dot/ReferenceDot.mjs +87 -67
  213. package/dist/es/cartesian/reference-line/ReferenceLine.mjs +99 -74
  214. package/dist/es/cartesian/scatter/Scatter.mjs +188 -190
  215. package/dist/es/cartesian/scatter/hooks/useScatter.mjs +25 -6
  216. package/dist/es/cartesian/scatter/type.mjs +79 -0
  217. package/dist/es/cartesian/useNeedsClip.mjs +6 -14
  218. package/dist/es/cartesian/utils/get-ticks.mjs +6 -6
  219. package/dist/es/cartesian/z-axis/ZAxis.mjs +7 -11
  220. package/dist/es/chart/AreaChart.mjs +12 -4
  221. package/dist/es/chart/BarChart.mjs +12 -4
  222. package/dist/es/chart/BarList.mjs +265 -0
  223. package/dist/es/chart/CalendarHeatmap.mjs +299 -0
  224. package/dist/es/chart/CellGridLayer.mjs +380 -0
  225. package/dist/es/chart/ChartShell.mjs +139 -0
  226. package/dist/es/chart/ChartWrapper.mjs +215 -0
  227. package/dist/es/chart/ChartsWrapper.mjs +21 -176
  228. package/dist/es/chart/CohortChart.mjs +169 -0
  229. package/dist/es/chart/ComposedChart.mjs +14 -4
  230. package/dist/es/chart/FunnelChart.mjs +11 -5
  231. package/dist/es/chart/Heatmap.mjs +319 -0
  232. package/dist/es/chart/JourneySankey.mjs +682 -0
  233. package/dist/es/chart/LineChart.mjs +13 -4
  234. package/dist/es/chart/PieChart.mjs +13 -9
  235. package/dist/es/chart/RadarChart.mjs +13 -9
  236. package/dist/es/chart/RadialBarChart.mjs +18 -10
  237. package/dist/es/chart/Sankey.mjs +355 -244
  238. package/dist/es/chart/ScatterChart.mjs +12 -4
  239. package/dist/es/chart/Sparkline.mjs +458 -0
  240. package/dist/es/chart/SunburstChart.mjs +215 -158
  241. package/dist/es/chart/Tracker.mjs +175 -0
  242. package/dist/es/chart/Treemap.mjs +357 -300
  243. package/dist/es/chart/cellGridProps.mjs +42 -0
  244. package/dist/es/chart/cellGridUtils.mjs +80 -0
  245. package/dist/es/chart/chartProps.mjs +88 -0
  246. package/dist/es/chart/chartRoot.mjs +153 -0
  247. package/dist/es/chart/journeyTypes.mjs +90 -0
  248. package/dist/es/chart/journeyUtils.mjs +223 -0
  249. package/dist/es/chart/sankeyUtils.mjs +52 -1
  250. package/dist/es/chart/shell.mjs +30 -0
  251. package/dist/es/chart/sunburstUtils.mjs +14 -9
  252. package/dist/es/chart/treemapUtils.mjs +10 -8
  253. package/dist/es/componentNames.mjs +84 -0
  254. package/dist/es/components/Cell.mjs +3 -2
  255. package/dist/es/components/Customized.mjs +14 -9
  256. package/dist/es/components/Text.vue_vue_type_script_setup_true_lang.mjs +16 -10
  257. package/dist/es/components/label/Label.mjs +12 -30
  258. package/dist/es/components/label/LabelList.mjs +13 -48
  259. package/dist/es/components/label/LabelListView.mjs +73 -0
  260. package/dist/es/components/label/LabelView.mjs +45 -0
  261. package/dist/es/components/label/types.mjs +10 -5
  262. package/dist/es/components/label/utils.mjs +39 -19
  263. package/dist/es/components/legend/Legend.mjs +101 -36
  264. package/dist/es/components/legend/LegendSymbol.mjs +2 -2
  265. package/dist/es/components/legend/hooks/useLegend.mjs +39 -60
  266. package/dist/es/components/legend/hooks/useLegendContent.mjs +1 -13
  267. package/dist/es/components/legend/type.mjs +11 -9
  268. package/dist/es/components/legend/utils.mjs +8 -4
  269. package/dist/es/components/tooltip/Cursor.mjs +118 -0
  270. package/dist/es/components/tooltip/DefaultTooltipContent.mjs +107 -0
  271. package/dist/es/components/tooltip/Tooltip.mjs +229 -0
  272. package/dist/es/components/tooltip/TooltipBoundingBox.mjs +187 -0
  273. package/dist/es/components/utils.mjs +26 -27
  274. package/dist/es/container/ClipPath.mjs +2 -2
  275. package/dist/es/container/Layer.mjs +2 -2
  276. package/dist/es/container/ResponsiveContainer.vue_vue_type_script_setup_true_lang.mjs +20 -106
  277. package/dist/es/container/Surface.mjs +46 -7
  278. package/dist/es/container/useSizeContext.mjs +12 -3
  279. package/dist/es/context/cartesianLabelListContext.mjs +11 -2
  280. package/dist/es/{cartesian/area/utils.mjs → core/area.mjs} +5 -4
  281. package/dist/es/core/axis/data.mjs +75 -0
  282. package/dist/es/core/axis/domain.mjs +63 -0
  283. package/dist/es/core/axis/key.mjs +13 -0
  284. package/dist/es/core/axis/polar.mjs +16 -0
  285. package/dist/es/core/axis/polarSettings.mjs +100 -0
  286. package/dist/es/core/axis/position.mjs +51 -0
  287. package/dist/es/core/axis/range.mjs +46 -0
  288. package/dist/es/core/axis/references.mjs +26 -0
  289. package/dist/es/core/axis/scale.mjs +148 -0
  290. package/dist/es/core/axis/settings.mjs +76 -0
  291. package/dist/es/core/axis/stacks.mjs +97 -0
  292. package/dist/es/core/axis/ticks.mjs +82 -0
  293. package/dist/es/{utils/isDomainSpecifiedByUser.mjs → core/axis/userDomain.mjs} +5 -4
  294. package/dist/es/{cartesian/bar/utils.mjs → core/bar.mjs} +19 -16
  295. package/dist/es/core/barSizing.mjs +108 -0
  296. package/dist/es/core/color.mjs +23 -0
  297. package/dist/es/core/coordinates.mjs +57 -0
  298. package/dist/es/core/data.mjs +20 -0
  299. package/dist/es/core/errorBar.mjs +56 -0
  300. package/dist/es/{cartesian/funnel/utils.mjs → core/funnel.mjs} +31 -11
  301. package/dist/es/core/interaction.mjs +152 -0
  302. package/dist/es/core/layout.mjs +91 -0
  303. package/dist/es/{cartesian/line/utils.mjs → core/line.mjs} +7 -6
  304. package/dist/es/{state/selectors/pieSelectors.mjs → core/pie.mjs} +37 -65
  305. package/dist/es/core/polygon.mjs +7 -0
  306. package/dist/es/core/radar.mjs +58 -0
  307. package/dist/es/core/radialBar.mjs +92 -0
  308. package/dist/es/core/rectangle.mjs +25 -0
  309. package/dist/es/core/scatter.mjs +86 -0
  310. package/dist/es/core/tooltip.mjs +96 -0
  311. package/dist/es/events/componentEvents.mjs +58 -0
  312. package/dist/es/events/delegateItemEvents.mjs +24 -0
  313. package/dist/es/events/itemEvents.mjs +34 -0
  314. package/dist/es/events/sync.mjs +140 -0
  315. package/dist/es/events/useChartCallbacks.mjs +24 -0
  316. package/dist/es/events/useChartInteractions.mjs +143 -0
  317. package/dist/es/events/useItemInteractions.mjs +58 -0
  318. package/dist/es/events/useItemKeyboard.mjs +45 -0
  319. package/dist/es/events/usePointEvents.mjs +55 -0
  320. package/dist/es/hooks/deferredView.mjs +19 -0
  321. package/dist/es/hooks/publicHooks.mjs +36 -35
  322. package/dist/es/hooks/useActiveTooltipDataPoints.mjs +10 -0
  323. package/dist/es/hooks/useChartId.mjs +8 -0
  324. package/dist/es/hooks/useLayerTeleport.mjs +10 -0
  325. package/dist/es/hooks/useResponsiveSize.mjs +72 -15
  326. package/dist/es/hooks/useRoundedSize.mjs +0 -3
  327. package/dist/es/hooks/useSeriesProps.mjs +32 -0
  328. package/dist/es/hooks/useSetupGraphicalItem.mjs +74 -44
  329. package/dist/es/hooks/useTrackedData.mjs +17 -0
  330. package/dist/es/index.mjs +37 -23
  331. package/dist/es/model/animation.mjs +11 -0
  332. package/dist/es/model/axis.mjs +85 -0
  333. package/dist/es/model/axisLayout.mjs +27 -0
  334. package/dist/es/model/axisScale.mjs +52 -0
  335. package/dist/es/model/brush.mjs +27 -0
  336. package/dist/es/model/chart.mjs +122 -0
  337. package/dist/es/model/dataRange.mjs +54 -0
  338. package/dist/es/model/defaults.mjs +28 -0
  339. package/dist/es/model/layout.mjs +33 -0
  340. package/dist/es/model/legend.mjs +30 -0
  341. package/dist/es/model/options.mjs +8 -0
  342. package/dist/es/model/polar.mjs +29 -0
  343. package/dist/es/model/polarAxis.mjs +48 -0
  344. package/dist/es/model/presentation.mjs +13 -0
  345. package/dist/es/model/registries.mjs +38 -0
  346. package/dist/es/model/registry.mjs +20 -0
  347. package/dist/es/model/runtime.mjs +156 -0
  348. package/dist/es/model/tooltip.mjs +383 -0
  349. package/dist/es/nuxt.mjs +28 -0
  350. package/dist/es/polar/pie/Pie.mjs +260 -112
  351. package/dist/es/polar/pie/type.mjs +19 -8
  352. package/dist/es/polar/radar/PolarAngleAxis.mjs +117 -99
  353. package/dist/es/polar/radar/PolarGrid.mjs +73 -50
  354. package/dist/es/polar/radar/PolarRadiusAxis.mjs +124 -100
  355. package/dist/es/polar/radar/Radar.mjs +272 -219
  356. package/dist/es/polar/radial-bar/RadialBar.mjs +248 -130
  357. package/dist/es/polar/radial-bar/type.mjs +6 -7
  358. package/dist/es/resolver.mjs +19 -0
  359. package/dist/es/shape/Cross.mjs +2 -1
  360. package/dist/es/shape/Curve.mjs +7 -5
  361. package/dist/es/shape/Dot.mjs +9 -5
  362. package/dist/es/shape/Polygon.mjs +4 -7
  363. package/dist/es/shape/Rectangle.mjs +17 -10
  364. package/dist/es/shape/Sector.mjs +7 -4
  365. package/dist/es/shape/Symbols.mjs +13 -8
  366. package/dist/es/shape/Trapezoid.mjs +3 -1
  367. package/dist/es/typed.mjs +9 -0
  368. package/dist/es/types/base.mjs +6 -0
  369. package/dist/es/utils/ReduceCSSCalc.mjs +2 -2
  370. package/dist/es/utils/VueUtils.mjs +89 -3
  371. package/dist/es/utils/attributes.mjs +18 -0
  372. package/dist/es/utils/attrs.mjs +38 -26
  373. package/dist/es/utils/cartesian.mjs +1 -21
  374. package/dist/es/utils/cell.mjs +13 -1
  375. package/dist/es/utils/chart.mjs +3 -361
  376. package/dist/es/utils/const.mjs +2 -25
  377. package/dist/es/utils/createCategoricalInverse.mjs +2 -2
  378. package/dist/es/utils/data-utils.mjs +2 -6
  379. package/dist/es/utils/data.mjs +1 -1
  380. package/dist/es/utils/env.mjs +10 -0
  381. package/dist/es/utils/events.mjs +29 -2
  382. package/dist/es/utils/labelColor.mjs +16 -0
  383. package/dist/es/utils/log.mjs +23 -5
  384. package/dist/es/utils/pointer.mjs +13 -0
  385. package/dist/es/utils/polar.mjs +7 -2
  386. package/dist/es/utils/scale/getNiceTickValues.mjs +8 -8
  387. package/dist/es/utils/scale/utils/arithmetic.mjs +0 -15
  388. package/dist/es/utils/scale/utils/utils.mjs +9 -44
  389. package/dist/es/utils/style.mjs +1 -1
  390. package/dist/es/utils/svg.mjs +320 -0
  391. package/dist/es/utils/theme.mjs +50 -0
  392. package/dist/es/utils/tick.mjs +4 -3
  393. package/dist/es/utils/validate.mjs +21 -3
  394. package/dist/events/componentEvents.d.ts +60 -0
  395. package/dist/events/delegateItemEvents.d.ts +12 -0
  396. package/dist/events/itemEvents.d.ts +100 -0
  397. package/dist/events/sync.d.ts +6 -0
  398. package/dist/events/useChartCallbacks.d.ts +2 -0
  399. package/dist/events/useChartInteractions.d.ts +8 -0
  400. package/dist/events/useItemInteractions.d.ts +7 -0
  401. package/dist/events/useItemKeyboard.d.ts +24 -0
  402. package/dist/events/usePointEvents.d.ts +23 -0
  403. package/dist/hooks/deferredView.d.ts +12 -0
  404. package/dist/hooks/publicHooks.d.ts +27 -29
  405. package/dist/hooks/useActiveTooltipDataPoints.d.ts +2 -0
  406. package/dist/hooks/useChartId.d.ts +2 -0
  407. package/dist/hooks/useLayerTeleport.d.ts +5 -0
  408. package/dist/hooks/useResponsiveSize.d.ts +33 -18
  409. package/dist/hooks/useRoundedSize.d.ts +0 -3
  410. package/dist/hooks/useSeriesProps.d.ts +7 -0
  411. package/dist/hooks/useSetupGraphicalItem.d.ts +35 -4
  412. package/dist/hooks/useTrackedData.d.ts +3 -0
  413. package/dist/index.d.ts +130 -9
  414. package/dist/model/animation.d.ts +7 -0
  415. package/dist/model/axis.d.ts +29 -0
  416. package/dist/model/axisLayout.d.ts +85 -0
  417. package/dist/model/axisScale.d.ts +41 -0
  418. package/dist/model/brush.d.ts +17 -0
  419. package/dist/model/chart.d.ts +44 -0
  420. package/dist/model/dataRange.d.ts +19 -0
  421. package/dist/model/defaults.d.ts +7 -0
  422. package/dist/model/layout.d.ts +38 -0
  423. package/dist/model/legend.d.ts +28 -0
  424. package/dist/model/options.d.ts +30 -0
  425. package/dist/model/polar.d.ts +24 -0
  426. package/dist/model/polarAxis.d.ts +39 -0
  427. package/dist/model/presentation.d.ts +19 -0
  428. package/dist/model/registries.d.ts +27 -0
  429. package/dist/model/registry.d.ts +7 -0
  430. package/dist/model/runtime.d.ts +76 -0
  431. package/dist/model/tooltip.d.ts +437 -0
  432. package/dist/nuxt.d.ts +7 -0
  433. package/dist/polar/pie/Pie.d.ts +252 -2
  434. package/dist/polar/pie/type.d.ts +37 -25
  435. package/dist/polar/radar/PolarAngleAxis.d.ts +36 -39
  436. package/dist/polar/radar/PolarGrid.d.ts +10 -8
  437. package/dist/polar/radar/PolarRadiusAxis.d.ts +30 -28
  438. package/dist/polar/radar/Radar.d.ts +82 -53
  439. package/dist/polar/radial-bar/RadialBar.d.ts +251 -2
  440. package/dist/polar/radial-bar/type.d.ts +26 -26
  441. package/dist/publicProps.d.ts +96 -0
  442. package/dist/resolver.d.ts +9 -0
  443. package/dist/shape/Cross.d.ts +2 -1
  444. package/dist/shape/Curve.d.ts +8 -19
  445. package/dist/shape/Dot.d.ts +10 -6
  446. package/dist/shape/Polygon.d.ts +2 -1
  447. package/dist/shape/Rectangle.d.ts +9 -8
  448. package/dist/shape/Sector.d.ts +7 -6
  449. package/dist/shape/Symbols.d.ts +3 -3
  450. package/dist/shape/Trapezoid.d.ts +5 -5
  451. package/dist/typed.d.ts +92 -0
  452. package/dist/types/area.d.ts +5 -6
  453. package/dist/types/axis.d.ts +9 -36
  454. package/dist/types/axisSettings.d.ts +20 -0
  455. package/dist/types/bar.d.ts +17 -7
  456. package/dist/types/base.d.ts +46 -0
  457. package/dist/types/categorical.d.ts +5 -7
  458. package/dist/types/chartData.d.ts +21 -0
  459. package/dist/types/chartLayout.d.ts +7 -0
  460. package/dist/{state/rootPropsSlice.d.ts → types/chartOptions.d.ts} +4 -5
  461. package/dist/types/common.d.ts +16 -55
  462. package/dist/types/event.d.ts +2 -15
  463. package/dist/types/funnel.d.ts +23 -0
  464. package/dist/types/graphical.d.ts +77 -0
  465. package/dist/types/index.d.ts +4 -4
  466. package/dist/types/legend.d.ts +17 -0
  467. package/dist/types/line.d.ts +6 -0
  468. package/dist/types/polarOptions.d.ts +8 -0
  469. package/dist/types/radar.d.ts +4 -4
  470. package/dist/types/radialBar.d.ts +15 -0
  471. package/dist/types/reference.d.ts +22 -0
  472. package/dist/types/scale.d.ts +13 -2
  473. package/dist/{shape/types.d.ts → types/shape.d.ts} +6 -4
  474. package/dist/types/tick.d.ts +18 -7
  475. package/dist/types/tooltip.d.ts +181 -14
  476. package/dist/types/typed.d.ts +16 -0
  477. package/dist/{cartesian/type.d.ts → types/viewBox.d.ts} +0 -2
  478. package/dist/utils/ReduceCSSCalc.d.ts +0 -1
  479. package/dist/utils/VueUtils.d.ts +6 -9
  480. package/dist/utils/attributes.d.ts +56 -0
  481. package/dist/utils/attrs.d.ts +4 -45
  482. package/dist/utils/cartesian.d.ts +2 -16
  483. package/dist/utils/cell.d.ts +7 -2
  484. package/dist/utils/chart.d.ts +2 -99
  485. package/dist/utils/const.d.ts +1 -24
  486. package/dist/utils/createCategoricalInverse.d.ts +2 -6
  487. package/dist/utils/data-utils.d.ts +0 -1
  488. package/dist/utils/data.d.ts +1 -2
  489. package/dist/utils/env.d.ts +5 -0
  490. package/dist/utils/events.d.ts +14 -7
  491. package/dist/utils/grid.d.ts +1 -28
  492. package/dist/utils/index.d.ts +4 -5
  493. package/dist/utils/isDomainSpecifiedByUser.d.ts +1 -47
  494. package/dist/utils/labelColor.d.ts +2 -0
  495. package/dist/utils/log.d.ts +2 -1
  496. package/dist/utils/pointer.d.ts +2 -0
  497. package/dist/utils/polar.d.ts +2 -4
  498. package/dist/utils/scale/getNiceTickValues.d.ts +2 -61
  499. package/dist/utils/scale/utils/arithmetic.d.ts +3 -31
  500. package/dist/utils/scale/utils/utils.d.ts +2 -9
  501. package/dist/utils/scale.d.ts +1 -1
  502. package/dist/utils/style.d.ts +2 -1
  503. package/dist/utils/svg.d.ts +4 -0
  504. package/dist/utils/theme.d.ts +4 -0
  505. package/dist/utils/tick.d.ts +3 -3
  506. package/dist/utils/tooltip/translate.d.ts +9 -25
  507. package/dist/utils/validate.d.ts +12 -4
  508. package/package.json +46 -29
  509. package/dist/animation/Animate.d.ts +0 -72
  510. package/dist/cartesian/area/ActivePoints.d.ts +0 -77
  511. package/dist/cartesian/area/ClipRect.d.ts +0 -1
  512. package/dist/cartesian/area/__stories__/config.d.ts +0 -31
  513. package/dist/cartesian/area/index.d.ts +0 -2
  514. package/dist/cartesian/area/utils.d.ts +0 -19
  515. package/dist/cartesian/axis/index.d.ts +0 -2
  516. package/dist/cartesian/axis/type.d.ts +0 -57
  517. package/dist/cartesian/bar/index.d.ts +0 -1
  518. package/dist/cartesian/bar/utils.d.ts +0 -31
  519. package/dist/cartesian/brush/hooks/useBrushSetting.d.ts +0 -6
  520. package/dist/cartesian/brush/index.d.ts +0 -2
  521. package/dist/cartesian/cartesian-axis/const.d.ts +0 -24
  522. package/dist/cartesian/cartesian-axis/index.d.ts +0 -1
  523. package/dist/cartesian/cartesian-axis/use-axis-line.d.ts +0 -7
  524. package/dist/cartesian/cartesian-grid/index.d.ts +0 -1
  525. package/dist/cartesian/error-bar/index.d.ts +0 -2
  526. package/dist/cartesian/funnel/index.d.ts +0 -2
  527. package/dist/cartesian/funnel/utils.d.ts +0 -12
  528. package/dist/cartesian/index.d.ts +0 -14
  529. package/dist/cartesian/line/ActivePoints.d.ts +0 -77
  530. package/dist/cartesian/line/index.d.ts +0 -3
  531. package/dist/cartesian/line/utils.d.ts +0 -13
  532. package/dist/cartesian/reference-area/index.d.ts +0 -1
  533. package/dist/cartesian/reference-dot/index.d.ts +0 -2
  534. package/dist/cartesian/reference-line/index.d.ts +0 -1
  535. package/dist/cartesian/scatter/index.d.ts +0 -1
  536. package/dist/cartesian/z-axis/index.d.ts +0 -1
  537. package/dist/chart/LegendPortalContext.d.ts +0 -3
  538. package/dist/chart/Surface.d.ts +0 -41
  539. package/dist/chart/TooltipPortalContext.d.ts +0 -2
  540. package/dist/chart/generateCategoricalChart.d.ts +0 -123
  541. package/dist/chart/index.d.ts +0 -12
  542. package/dist/chart/provideClipPathId.d.ts +0 -12
  543. package/dist/components/DefaultLegendContent.d.ts +0 -18
  544. package/dist/components/index.d.ts +0 -6
  545. package/dist/components/label/index.d.ts +0 -2
  546. package/dist/components/legend/index.d.ts +0 -2
  547. package/dist/container/RootSurface.d.ts +0 -17
  548. package/dist/container/index.d.ts +0 -1
  549. package/dist/context/ChartDataContextProvider.d.ts +0 -17
  550. package/dist/context/PanoramaContextProvider.d.ts +0 -22
  551. package/dist/context/accessibilityContext.d.ts +0 -1
  552. package/dist/context/chartLayoutContext.d.ts +0 -8
  553. package/dist/context/cursorLayerContext.d.ts +0 -2
  554. package/dist/context/graphicalLayerContext.d.ts +0 -2
  555. package/dist/context/labelLayerContext.d.ts +0 -2
  556. package/dist/context/useTooltipAxis.d.ts +0 -2
  557. package/dist/es/animation/Animate.mjs +0 -89
  558. package/dist/es/cartesian/area/ActivePoints.mjs +0 -78
  559. package/dist/es/cartesian/area/ClipRect.mjs +0 -125
  560. package/dist/es/cartesian/line/ActivePoints.mjs +0 -79
  561. package/dist/es/chart/LegendPortalContext.mjs +0 -5
  562. package/dist/es/chart/Surface.mjs +0 -5
  563. package/dist/es/chart/Surface.vue_vue_type_script_setup_true_lang.mjs +0 -78
  564. package/dist/es/chart/TooltipPortalContext.mjs +0 -5
  565. package/dist/es/chart/generateCategoricalChart.mjs +0 -184
  566. package/dist/es/chart/provideClipPathId.mjs +0 -15
  567. package/dist/es/components/Tooltip.mjs +0 -479
  568. package/dist/es/context/ChartDataContextProvider.mjs +0 -27
  569. package/dist/es/context/PanoramaContextProvider.mjs +0 -24
  570. package/dist/es/context/accessibilityContext.mjs +0 -5
  571. package/dist/es/context/chartLayoutContext.mjs +0 -49
  572. package/dist/es/context/cursorLayerContext.mjs +0 -5
  573. package/dist/es/context/graphicalLayerContext.mjs +0 -5
  574. package/dist/es/context/labelLayerContext.mjs +0 -5
  575. package/dist/es/context/useTooltipAxis.mjs +0 -17
  576. package/dist/es/events/useChartSynchronisation.mjs +0 -113
  577. package/dist/es/hooks/useIsAnimating.mjs +0 -28
  578. package/dist/es/state/ReportChartProps.mjs +0 -62
  579. package/dist/es/state/ReportMainChartProps.mjs +0 -46
  580. package/dist/es/state/ReportPolarOptions.mjs +0 -56
  581. package/dist/es/state/SetGraphicalItem.mjs +0 -49
  582. package/dist/es/state/SetLegendPayload.mjs +0 -20
  583. package/dist/es/state/SetTooltipEntrySettings.mjs +0 -19
  584. package/dist/es/state/brushSlice.mjs +0 -26
  585. package/dist/es/state/cartesianAxisSlice.mjs +0 -50
  586. package/dist/es/state/chartDataSlice.mjs +0 -33
  587. package/dist/es/state/externalEventsMiddleware.mjs +0 -30
  588. package/dist/es/state/graphicalItemsSlice.mjs +0 -47
  589. package/dist/es/state/hooks.mjs +0 -26
  590. package/dist/es/state/keyboardEventsMiddleware.mjs +0 -63
  591. package/dist/es/state/layoutSlice.mjs +0 -39
  592. package/dist/es/state/legendSlice.mjs +0 -42
  593. package/dist/es/state/mouseEventsMiddleware.mjs +0 -41
  594. package/dist/es/state/optionsSlice.mjs +0 -25
  595. package/dist/es/state/polarAxisSlice.mjs +0 -28
  596. package/dist/es/state/polarOptionsSlice.mjs +0 -13
  597. package/dist/es/state/reduxDevtoolsJsonStringifyReplacer.mjs +0 -8
  598. package/dist/es/state/referenceElementsSlice.mjs +0 -36
  599. package/dist/es/state/rootPropsSlice.mjs +0 -32
  600. package/dist/es/state/selectors/areaSelectors.mjs +0 -77
  601. package/dist/es/state/selectors/axisSelectors.mjs +0 -908
  602. package/dist/es/state/selectors/barSelectors.mjs +0 -241
  603. package/dist/es/state/selectors/brushSelectors.mjs +0 -18
  604. package/dist/es/state/selectors/combiners/combineActiveLabel.mjs +0 -9
  605. package/dist/es/state/selectors/combiners/combineActiveTooltipIndex.mjs +0 -43
  606. package/dist/es/state/selectors/combiners/combineAxisRangeWithReverse.mjs +0 -8
  607. package/dist/es/state/selectors/combiners/combineCoordinateForDefaultIndex.mjs +0 -21
  608. package/dist/es/state/selectors/combiners/combineTooltipInteractionState.mjs +0 -37
  609. package/dist/es/state/selectors/combiners/combineTooltipPayloadConfigurations.mjs +0 -13
  610. package/dist/es/state/selectors/common.mjs +0 -4
  611. package/dist/es/state/selectors/containerSelectors.mjs +0 -7
  612. package/dist/es/state/selectors/dataSelectors.mjs +0 -35
  613. package/dist/es/state/selectors/funnelSelectors.mjs +0 -38
  614. package/dist/es/state/selectors/legendSelectors.mjs +0 -10
  615. package/dist/es/state/selectors/lineSelectors.mjs +0 -64
  616. package/dist/es/state/selectors/pickAxisId.mjs +0 -4
  617. package/dist/es/state/selectors/pickAxisType.mjs +0 -4
  618. package/dist/es/state/selectors/polarAxisSelectors.mjs +0 -167
  619. package/dist/es/state/selectors/polarGridSelectors.mjs +0 -19
  620. package/dist/es/state/selectors/polarScaleSelectors.mjs +0 -55
  621. package/dist/es/state/selectors/polarSelectors.mjs +0 -81
  622. package/dist/es/state/selectors/radarSelectors.mjs +0 -133
  623. package/dist/es/state/selectors/radialBarSelectors.mjs +0 -259
  624. package/dist/es/state/selectors/rootPropsSelectors.mjs +0 -14
  625. package/dist/es/state/selectors/scatterSelectors.mjs +0 -134
  626. package/dist/es/state/selectors/selectActivePropsFromChartPointer.mjs +0 -20
  627. package/dist/es/state/selectors/selectAllAxes.mjs +0 -10
  628. package/dist/es/state/selectors/selectChartOffset.mjs +0 -72
  629. package/dist/es/state/selectors/selectChartOffsetInternal.mjs +0 -66
  630. package/dist/es/state/selectors/selectLegendArea.mjs +0 -19
  631. package/dist/es/state/selectors/selectTooltipEventType.mjs +0 -22
  632. package/dist/es/state/selectors/selectTooltipPayloadSearcher.mjs +0 -6
  633. package/dist/es/state/selectors/selectTooltipSettings.mjs +0 -4
  634. package/dist/es/state/selectors/selectTooltipState.mjs +0 -4
  635. package/dist/es/state/selectors/selectors.mjs +0 -104
  636. package/dist/es/state/selectors/tooltipSelectors.mjs +0 -269
  637. package/dist/es/state/selectors/touchSelectors.mjs +0 -19
  638. package/dist/es/state/store.mjs +0 -55
  639. package/dist/es/state/tooltipSlice.mjs +0 -102
  640. package/dist/es/state/touchEventsMiddleware.mjs +0 -44
  641. package/dist/es/state/utils/useReportScale.mjs +0 -19
  642. package/dist/es/synchronisation/syncSelectors.mjs +0 -6
  643. package/dist/es/synchronisation/useChartSynchronisation.mjs +0 -38
  644. package/dist/es/utils/Global.mjs +0 -18
  645. package/dist/es/utils/createContext.mjs +0 -31
  646. package/dist/es/utils/legend.mjs +0 -41
  647. package/dist/es/utils/props.mjs +0 -20
  648. package/dist/es/utils/resolveDefaultProps.mjs +0 -26
  649. package/dist/events/useChartSynchronisation.d.ts +0 -8
  650. package/dist/hooks/useIsAnimating.d.ts +0 -14
  651. package/dist/polar/index.d.ts +0 -3
  652. package/dist/polar/pie/index.d.ts +0 -2
  653. package/dist/polar/radar/index.d.ts +0 -4
  654. package/dist/polar/radial-bar/index.d.ts +0 -2
  655. package/dist/shape/index.d.ts +0 -10
  656. package/dist/state/ReportBar.d.ts +0 -1
  657. package/dist/state/ReportChartProps.d.ts +0 -88
  658. package/dist/state/ReportMainChartProps.d.ts +0 -37
  659. package/dist/state/ReportPolarOptions.d.ts +0 -59
  660. package/dist/state/SetGraphicalItem.d.ts +0 -9
  661. package/dist/state/SetLegendPayload.d.ts +0 -3
  662. package/dist/state/SetTooltipEntrySettings.d.ts +0 -8
  663. package/dist/state/brushSlice.d.ts +0 -18
  664. package/dist/state/cartesianAxisSlice.d.ts +0 -96
  665. package/dist/state/chartDataSlice.d.ts +0 -44
  666. package/dist/state/externalEventsMiddleware.d.ts +0 -17
  667. package/dist/state/graphicalItemsSlice.d.ts +0 -108
  668. package/dist/state/hooks.d.ts +0 -54
  669. package/dist/state/keyboardEventsMiddleware.d.ts +0 -3
  670. package/dist/state/layoutSlice.d.ts +0 -15
  671. package/dist/state/legendSlice.d.ts +0 -29
  672. package/dist/state/mouseEventsMiddleware.d.ts +0 -5
  673. package/dist/state/optionsSlice.d.ts +0 -27
  674. package/dist/state/polarAxisSlice.d.ts +0 -10
  675. package/dist/state/polarOptionsSlice.d.ts +0 -10
  676. package/dist/state/reduxDevtoolsJsonStringifyReplacer.d.ts +0 -1
  677. package/dist/state/referenceElementsSlice.d.ts +0 -40
  678. package/dist/state/selectors/areaSelectors.d.ts +0 -24
  679. package/dist/state/selectors/axisSelectors.d.ts +0 -1833
  680. package/dist/state/selectors/barSelectors.d.ts +0 -944
  681. package/dist/state/selectors/brushSelectors.d.ts +0 -10
  682. package/dist/state/selectors/combiners/combineActiveLabel.d.ts +0 -3
  683. package/dist/state/selectors/combiners/combineActiveTooltipIndex.d.ts +0 -5
  684. package/dist/state/selectors/combiners/combineAxisRangeWithReverse.d.ts +0 -3
  685. package/dist/state/selectors/combiners/combineCoordinateForDefaultIndex.d.ts +0 -3
  686. package/dist/state/selectors/combiners/combineTooltipInteractionState.d.ts +0 -3
  687. package/dist/state/selectors/combiners/combineTooltipPayloadConfigurations.d.ts +0 -3
  688. package/dist/state/selectors/common.d.ts +0 -2
  689. package/dist/state/selectors/containerSelectors.d.ts +0 -6
  690. package/dist/state/selectors/dataSelectors.d.ts +0 -23
  691. package/dist/state/selectors/funnelSelectors.d.ts +0 -69
  692. package/dist/state/selectors/legendSelectors.d.ts +0 -7
  693. package/dist/state/selectors/lineSelectors.d.ts +0 -123
  694. package/dist/state/selectors/pickAxisId.d.ts +0 -3
  695. package/dist/state/selectors/pickAxisType.d.ts +0 -2
  696. package/dist/state/selectors/polarAxisSelectors.d.ts +0 -49
  697. package/dist/state/selectors/polarGridSelectors.d.ts +0 -118
  698. package/dist/state/selectors/polarScaleSelectors.d.ts +0 -9
  699. package/dist/state/selectors/polarSelectors.d.ts +0 -70
  700. package/dist/state/selectors/radarSelectors.d.ts +0 -76
  701. package/dist/state/selectors/radialBarSelectors.d.ts +0 -61
  702. package/dist/state/selectors/rootPropsSelectors.d.ts +0 -11
  703. package/dist/state/selectors/scatterSelectors.d.ts +0 -21
  704. package/dist/state/selectors/selectActivePropsFromChartPointer.d.ts +0 -382
  705. package/dist/state/selectors/selectAllAxes.d.ts +0 -4
  706. package/dist/state/selectors/selectChartOffset.d.ts +0 -116
  707. package/dist/state/selectors/selectChartOffsetInternal.d.ts +0 -9
  708. package/dist/state/selectors/selectLegendArea.d.ts +0 -7
  709. package/dist/state/selectors/selectTooltipEventType.d.ts +0 -8
  710. package/dist/state/selectors/selectTooltipPayloadSearcher.d.ts +0 -3
  711. package/dist/state/selectors/selectTooltipSettings.d.ts +0 -3
  712. package/dist/state/selectors/selectTooltipState.d.ts +0 -3
  713. package/dist/state/selectors/selectors.d.ts +0 -184
  714. package/dist/state/selectors/tooltipSelectors.d.ts +0 -581
  715. package/dist/state/selectors/touchSelectors.d.ts +0 -4
  716. package/dist/state/store.d.ts +0 -74
  717. package/dist/state/tooltipSlice.d.ts +0 -204
  718. package/dist/state/touchEventsMiddleware.d.ts +0 -2
  719. package/dist/state/utils/useReportScale.d.ts +0 -1
  720. package/dist/synchronisation/syncSelectors.d.ts +0 -3
  721. package/dist/synchronisation/useChartSynchronisation.d.ts +0 -11
  722. package/dist/types/offset.d.ts +0 -8
  723. package/dist/utils/Global.d.ts +0 -9
  724. package/dist/utils/context.d.ts +0 -8
  725. package/dist/utils/createContext.d.ts +0 -8
  726. package/dist/utils/legend.d.ts +0 -3
  727. package/dist/utils/props.d.ts +0 -15
  728. package/dist/utils/resolveDefaultProps.d.ts +0 -52
@@ -1,1833 +0,0 @@
1
- import { Series } from 'victory-vendor/d3-shape';
2
- import { AxisId, BaseCartesianAxis, CartesianAxisSettings, XAxisOrientation, XAxisSettings, YAxisOrientation, YAxisSettings, ZAxisSettings } from '../cartesianAxisSlice';
3
- import { RechartsRootState } from '../store';
4
- import { AppliedChartData, ChartData, ChartDataState } from '../chartDataSlice';
5
- import { CartesianGraphicalItemSettings, ErrorBarsSettings, GraphicalItemSettings, PolarGraphicalItemSettings } from '../graphicalItemsSlice';
6
- import { ReferenceAreaSettings, ReferenceDotSettings, ReferenceElementSettings, ReferenceLineSettings } from '../referenceElementsSlice';
7
- import { AngleAxisSettings, RadiusAxisSettings } from '../polarAxisSlice';
8
- import { MaybeStackedGraphicalItem } from './barSelectors';
9
- import { AxisDomain, AxisType, NumberDomain } from '../../types/axis';
10
- import { CategoricalDomain, Coordinate, DataKey, LayoutType, Size, StackOffsetType, TickItem } from '../../types';
11
- import { StackId } from '../../types/tick';
12
- import { RechartsScale } from '../../types/scale';
13
- import { InverseScaleFunction } from '../../utils/createCategoricalInverse';
14
- import { AxisPropsForCartesianGridTicksGeneration } from '../../cartesian/cartesian-grid/type';
15
- /**
16
- * angle, radius, X, Y, and Z axes all have domain and range and scale and associated settings
17
- */
18
- type XorYorZType = 'xAxis' | 'yAxis' | 'zAxis' | 'radiusAxis' | 'angleAxis';
19
- /**
20
- * X and Y axes have ticks. Z axis is never displayed and so it lacks ticks
21
- * and tick settings.
22
- */
23
- export type XorYType = 'xAxis' | 'yAxis' | 'angleAxis' | 'radiusAxis';
24
- export type AxisWithTicksSettings = XAxisSettings | YAxisSettings | AngleAxisSettings | RadiusAxisSettings;
25
- /**
26
- * If an axis is not explicitly defined as an element,
27
- * we still need to render something in the chart and we need
28
- * some object to hold the domain and default settings.
29
- */
30
- export declare const implicitXAxis: XAxisSettings;
31
- export declare function selectXAxisSettings(state: RechartsRootState, axisId: AxisId): XAxisSettings;
32
- /**
33
- * If an axis is not explicitly defined as an element,
34
- * we still need to render something in the chart and we need
35
- * some object to hold the domain and default settings.
36
- */
37
- export declare const implicitYAxis: YAxisSettings;
38
- export declare function selectYAxisSettings(state: RechartsRootState, axisId: AxisId): YAxisSettings;
39
- export declare const implicitZAxis: ZAxisSettings;
40
- export declare function selectZAxisSettings(state: RechartsRootState, axisId: AxisId): ZAxisSettings;
41
- export declare function selectBaseAxis(state: RechartsRootState, axisType: XorYorZType, axisId: AxisId): BaseCartesianAxis;
42
- declare function selectCartesianAxisSettings(state: RechartsRootState, axisType: 'xAxis' | 'yAxis', axisId: AxisId): XAxisSettings | YAxisSettings;
43
- /**
44
- * Selects either an X or Y axis. Doesn't work with Z axis - for that, instead use selectBaseAxis.
45
- * @param state Root state
46
- * @param axisType xAxis | yAxis
47
- * @param axisId xAxisId | yAxisId
48
- * @returns axis settings object
49
- */
50
- export declare function selectAxisSettings(state: RechartsRootState, axisType: XorYType, axisId?: AxisId): AxisWithTicksSettings;
51
- /**
52
- * @param state RechartsRootState
53
- * @return boolean true if there is at least one Bar or RadialBar
54
- */
55
- export declare function selectHasBar(state: RechartsRootState): boolean;
56
- /**
57
- * Filters CartesianGraphicalItemSettings by the relevant axis ID
58
- * @param axisType 'xAxis' | 'yAxis' | 'zAxis' | 'radiusAxis' | 'angleAxis'
59
- * @param axisId from props, defaults to 0
60
- *
61
- * @returns Predicate function that return true for CartesianGraphicalItemSettings that are relevant to the specified axis
62
- */
63
- export declare function itemAxisPredicate(axisType: XorYorZType, axisId: AxisId): (item: CartesianGraphicalItemSettings | PolarGraphicalItemSettings) => boolean;
64
- export declare function selectUnfilteredCartesianItems(state: RechartsRootState): readonly CartesianGraphicalItemSettings[];
65
- export declare function combineGraphicalItemsSettings<T extends GraphicalItemSettings>(graphicalItems: ReadonlyArray<T>, axisSettings: BaseCartesianAxis, axisPredicate: (item: T) => boolean | AxisType): T[];
66
- export declare const selectCartesianItemsSettings: ((state: {
67
- brush: import('../brushSlice').BrushSettings;
68
- cartesianAxis: {
69
- xAxis: Record<AxisId, XAxisSettings>;
70
- yAxis: Record<AxisId, YAxisSettings>;
71
- zAxis: Record<AxisId, ZAxisSettings>;
72
- };
73
- chartData: ChartDataState;
74
- graphicalItems: import('../graphicalItemsSlice').GraphicalItemsState;
75
- layout: {
76
- layoutType: LayoutType;
77
- width: number;
78
- height: number;
79
- margin: import('../../types').Margin;
80
- scale: number;
81
- };
82
- legend: {
83
- settings: import('../legendSlice').LegendSettings;
84
- size: Size;
85
- payload: ReadonlyArray<ReadonlyArray<import('../../components/DefaultLegendContent').LegendPayload>>;
86
- };
87
- options: import('../optionsSlice').ChartOptions;
88
- polarAxis: {
89
- radiusAxis: Record<AxisId, RadiusAxisSettings>;
90
- angleAxis: Record<AxisId, AngleAxisSettings>;
91
- };
92
- polarOptions: import('../polarOptionsSlice').PolarChartOptions;
93
- referenceElements: {
94
- dots: ReadonlyArray<ReferenceDotSettings>;
95
- areas: ReadonlyArray<ReferenceAreaSettings>;
96
- lines: ReadonlyArray<ReferenceLineSettings>;
97
- };
98
- rootProps: import('../rootPropsSlice').UpdatableChartOptions;
99
- tooltip: import('../tooltipSlice').TooltipState;
100
- }, axisType: XorYorZType, axisId: AxisId) => CartesianGraphicalItemSettings[]) & {
101
- clearCache: () => void;
102
- resultsCount: () => number;
103
- resetResultsCount: () => void;
104
- } & {
105
- resultFunc: (resultFuncArgs_0: readonly CartesianGraphicalItemSettings[], resultFuncArgs_1: BaseCartesianAxis, resultFuncArgs_2: (item: CartesianGraphicalItemSettings) => boolean) => CartesianGraphicalItemSettings[];
106
- memoizedResultFunc: ((resultFuncArgs_0: readonly CartesianGraphicalItemSettings[], resultFuncArgs_1: BaseCartesianAxis, resultFuncArgs_2: (item: CartesianGraphicalItemSettings) => boolean) => CartesianGraphicalItemSettings[]) & {
107
- clearCache: () => void;
108
- resultsCount: () => number;
109
- resetResultsCount: () => void;
110
- };
111
- lastResult: () => CartesianGraphicalItemSettings[];
112
- dependencies: [typeof selectUnfilteredCartesianItems, typeof selectBaseAxis, (_state: RechartsRootState, axisType: XorYorZType, axisId: AxisId) => (item: CartesianGraphicalItemSettings) => boolean];
113
- recomputations: () => number;
114
- resetRecomputations: () => void;
115
- dependencyRecomputations: () => number;
116
- resetDependencyRecomputations: () => void;
117
- } & {
118
- argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
119
- memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
120
- };
121
- export declare function filterGraphicalNotStackedItems<T extends MaybeStackedGraphicalItem>(cartesianItems: ReadonlyArray<T>): ReadonlyArray<T>;
122
- export declare function combineGraphicalItemsData(cartesianItems: ReadonlyArray<GraphicalItemSettings>): unknown[];
123
- /**
124
- * This is a "cheap" selector - it returns the data but doesn't iterate them, so it is not sensitive on the array length.
125
- * Also does not apply dataKey yet.
126
- * @param state RechartsRootState
127
- * @returns data defined on the chart graphical items, such as Line or Scatter or Pie, and filtered with appropriate dataKey
128
- */
129
- export declare const selectCartesianGraphicalItemsData: (state: RechartsRootState, axisType: XorYorZType, axisId: AxisId) => ChartData;
130
- export declare function combineDisplayedData(graphicalItemsData: ChartData, { chartData, dataStartIndex, dataEndIndex }: ChartDataState): ChartData;
131
- /**
132
- * This selector will return all data there is in the chart: graphical items, chart root, all together.
133
- * Useful for figuring out an axis domain (because that needs to know of everything),
134
- * not useful for rendering individual graphical elements (because they need to know which data is theirs and which is not).
135
- *
136
- * This function will discard the original indexes, so it is also not useful for anything that depends on ordering.
137
- */
138
- export declare const selectDisplayedData: (state: RechartsRootState, axisType: XorYorZType, axisId: AxisId, isPanorama: boolean) => ChartData;
139
- export declare function combineAppliedValues(data: ChartData, axisSettings: BaseCartesianAxis, items: ReadonlyArray<GraphicalItemSettings>): AppliedChartData;
140
- /**
141
- * This selector will return all values with the appropriate dataKey applied on them.
142
- * Which dataKey is appropriate depends on where it is defined.
143
- *
144
- * This is an expensive selector - it will iterate all data and compute their value using the provided dataKey.
145
- */
146
- export declare const selectAllAppliedValues: (state: RechartsRootState, axisType: XorYorZType, axisId: AxisId, isPanorama: boolean) => AppliedChartData;
147
- export declare function isErrorBarRelevantForAxisType(axisType: XorYorZType, errorBar: ErrorBarsSettings): boolean;
148
- export type AppliedChartDataWithErrorDomain = {
149
- /**
150
- * This is the value after the dataKey has been applied. Presumably a number? But no guarantees.
151
- */
152
- value: unknown;
153
- /**
154
- * This is the error domain, if any, for the current value.
155
- * This may be either x or y direction, whatever is applicable.
156
- * Assumption is that we're looking at this data from the point of view of a single axis,
157
- * and that axis dictates the relevant direction.
158
- */
159
- errorDomain: ReadonlyArray<number> | undefined;
160
- };
161
- /**
162
- * This is type of "error" in chart. It is set by using ErrorBar, and it can represent confidence interval,
163
- * or gap in the data, or standard deviation, or quartiles in boxplot, or whiskers or whatever.
164
- *
165
- * We will internally represent it as a tuple of two numbers, where the first number is the lower bound and the second number is the upper bound.
166
- *
167
- * It is also true that the first number should be lower than or equal to the associated "main value",
168
- * and the second number should be higher than or equal to the associated "main value".
169
- */
170
- export type ErrorValue = [number, number];
171
- export declare function fromMainValueToError(value: unknown): ErrorValue | undefined;
172
- /**
173
- * @param entry One item in the 'data' array. Could be anything really - this is defined externally. This is the raw, before dataKey application
174
- * @param appliedValue This is the result of applying the 'main' dataKey on the `entry`.
175
- * @param relevantErrorBars Error bars that are relevant for the current axis and layout and all that.
176
- * @return either undefined or an array of ErrorValue
177
- */
178
- export declare function getErrorDomainByDataKey(entry: unknown, appliedValue: unknown, relevantErrorBars: ReadonlyArray<ErrorBarsSettings>): ReadonlyArray<number>;
179
- export type StackGroup = {
180
- readonly stackedData: ReadonlyArray<Series<Record<string, unknown>, DataKey<any>>>;
181
- readonly graphicalItems: ReadonlyArray<MaybeStackedGraphicalItem>;
182
- };
183
- export declare function combineStackGroups(displayedData: ChartData, items: ReadonlyArray<MaybeStackedGraphicalItem>, stackOffsetType: StackOffsetType): Record<StackId, StackGroup>;
184
- /**
185
- * Stack groups are groups of graphical items that stack on each other.
186
- * Stack is a function of axis type (X, Y), axis ID, and stack ID.
187
- * Graphical items that do not have a stack ID are not going to be present in stack groups.
188
- */
189
- export declare const selectStackGroups: (state: RechartsRootState, axisType: XorYorZType, axisId: AxisId, isPanorama: boolean) => Record<StackId, StackGroup> | undefined;
190
- export declare function combineDomainOfStackGroups(stackGroups: Record<StackId, StackGroup> | undefined, { dataStartIndex, dataEndIndex }: ChartDataState, axisType: XorYorZType): NumberDomain | undefined;
191
- export declare const selectDomainOfStackGroups: ((state: {
192
- brush: import('../brushSlice').BrushSettings;
193
- cartesianAxis: {
194
- xAxis: Record<AxisId, XAxisSettings>;
195
- yAxis: Record<AxisId, YAxisSettings>;
196
- zAxis: Record<AxisId, ZAxisSettings>;
197
- };
198
- chartData: ChartDataState;
199
- graphicalItems: import('../graphicalItemsSlice').GraphicalItemsState;
200
- layout: {
201
- layoutType: LayoutType;
202
- width: number;
203
- height: number;
204
- margin: import('../../types').Margin;
205
- scale: number;
206
- };
207
- legend: {
208
- settings: import('../legendSlice').LegendSettings;
209
- size: Size;
210
- payload: ReadonlyArray<ReadonlyArray<import('../../components/DefaultLegendContent').LegendPayload>>;
211
- };
212
- options: import('../optionsSlice').ChartOptions;
213
- polarAxis: {
214
- radiusAxis: Record<AxisId, RadiusAxisSettings>;
215
- angleAxis: Record<AxisId, AngleAxisSettings>;
216
- };
217
- polarOptions: import('../polarOptionsSlice').PolarChartOptions;
218
- referenceElements: {
219
- dots: ReadonlyArray<ReferenceDotSettings>;
220
- areas: ReadonlyArray<ReferenceAreaSettings>;
221
- lines: ReadonlyArray<ReferenceLineSettings>;
222
- };
223
- rootProps: import('../rootPropsSlice').UpdatableChartOptions;
224
- tooltip: import('../tooltipSlice').TooltipState;
225
- }, axisType: XorYorZType, axisId: AxisId, isPanorama: boolean) => NumberDomain) & {
226
- clearCache: () => void;
227
- resultsCount: () => number;
228
- resetResultsCount: () => void;
229
- } & {
230
- resultFunc: (resultFuncArgs_0: Record<StackId, StackGroup>, resultFuncArgs_1: ChartDataState, resultFuncArgs_2: any) => NumberDomain;
231
- memoizedResultFunc: ((resultFuncArgs_0: Record<StackId, StackGroup>, resultFuncArgs_1: ChartDataState, resultFuncArgs_2: any) => NumberDomain) & {
232
- clearCache: () => void;
233
- resultsCount: () => number;
234
- resetResultsCount: () => void;
235
- };
236
- lastResult: () => NumberDomain;
237
- dependencies: [(state: RechartsRootState, axisType: XorYorZType, axisId: AxisId, isPanorama: boolean) => Record<StackId, StackGroup> | undefined, (state: RechartsRootState) => ChartDataState, <T>(_state: RechartsRootState, axisType: T) => T];
238
- recomputations: () => number;
239
- resetRecomputations: () => void;
240
- dependencyRecomputations: () => number;
241
- resetDependencyRecomputations: () => void;
242
- } & {
243
- argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
244
- memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
245
- };
246
- export declare function combineAppliedNumericalValuesIncludingErrorValues(data: ChartData, axisSettings: BaseCartesianAxis, items: ReadonlyArray<CartesianGraphicalItemSettings>, axisType: XorYorZType): ReadonlyArray<AppliedChartDataWithErrorDomain>;
247
- export declare const selectAllAppliedNumericalValuesIncludingErrorValues: ((state: {
248
- brush: import('../brushSlice').BrushSettings;
249
- cartesianAxis: {
250
- xAxis: Record<AxisId, XAxisSettings>;
251
- yAxis: Record<AxisId, YAxisSettings>;
252
- zAxis: Record<AxisId, ZAxisSettings>;
253
- };
254
- chartData: ChartDataState;
255
- graphicalItems: import('../graphicalItemsSlice').GraphicalItemsState;
256
- layout: {
257
- layoutType: LayoutType;
258
- width: number;
259
- height: number;
260
- margin: import('../../types').Margin;
261
- scale: number;
262
- };
263
- legend: {
264
- settings: import('../legendSlice').LegendSettings;
265
- size: Size;
266
- payload: ReadonlyArray<ReadonlyArray<import('../../components/DefaultLegendContent').LegendPayload>>;
267
- };
268
- options: import('../optionsSlice').ChartOptions;
269
- polarAxis: {
270
- radiusAxis: Record<AxisId, RadiusAxisSettings>;
271
- angleAxis: Record<AxisId, AngleAxisSettings>;
272
- };
273
- polarOptions: import('../polarOptionsSlice').PolarChartOptions;
274
- referenceElements: {
275
- dots: ReadonlyArray<ReferenceDotSettings>;
276
- areas: ReadonlyArray<ReferenceAreaSettings>;
277
- lines: ReadonlyArray<ReferenceLineSettings>;
278
- };
279
- rootProps: import('../rootPropsSlice').UpdatableChartOptions;
280
- tooltip: import('../tooltipSlice').TooltipState;
281
- }, axisType: XorYorZType, axisId: AxisId, isPanorama: boolean) => readonly AppliedChartDataWithErrorDomain[]) & {
282
- clearCache: () => void;
283
- resultsCount: () => number;
284
- resetResultsCount: () => void;
285
- } & {
286
- resultFunc: (resultFuncArgs_0: ChartData, resultFuncArgs_1: BaseCartesianAxis, resultFuncArgs_2: readonly CartesianGraphicalItemSettings[], resultFuncArgs_3: any) => readonly AppliedChartDataWithErrorDomain[];
287
- memoizedResultFunc: ((resultFuncArgs_0: ChartData, resultFuncArgs_1: BaseCartesianAxis, resultFuncArgs_2: readonly CartesianGraphicalItemSettings[], resultFuncArgs_3: any) => readonly AppliedChartDataWithErrorDomain[]) & {
288
- clearCache: () => void;
289
- resultsCount: () => number;
290
- resetResultsCount: () => void;
291
- };
292
- lastResult: () => readonly AppliedChartDataWithErrorDomain[];
293
- dependencies: [(state: RechartsRootState, axisType: XorYorZType, axisId: AxisId, isPanorama: boolean) => ChartData, typeof selectBaseAxis, ((state: {
294
- brush: import('../brushSlice').BrushSettings;
295
- cartesianAxis: {
296
- xAxis: Record<AxisId, XAxisSettings>;
297
- yAxis: Record<AxisId, YAxisSettings>;
298
- zAxis: Record<AxisId, ZAxisSettings>;
299
- };
300
- chartData: ChartDataState;
301
- graphicalItems: import('../graphicalItemsSlice').GraphicalItemsState;
302
- layout: {
303
- layoutType: LayoutType;
304
- width: number;
305
- height: number;
306
- margin: import('../../types').Margin;
307
- scale: number;
308
- };
309
- legend: {
310
- settings: import('../legendSlice').LegendSettings;
311
- size: Size;
312
- payload: ReadonlyArray<ReadonlyArray<import('../../components/DefaultLegendContent').LegendPayload>>;
313
- };
314
- options: import('../optionsSlice').ChartOptions;
315
- polarAxis: {
316
- radiusAxis: Record<AxisId, RadiusAxisSettings>;
317
- angleAxis: Record<AxisId, AngleAxisSettings>;
318
- };
319
- polarOptions: import('../polarOptionsSlice').PolarChartOptions;
320
- referenceElements: {
321
- dots: ReadonlyArray<ReferenceDotSettings>;
322
- areas: ReadonlyArray<ReferenceAreaSettings>;
323
- lines: ReadonlyArray<ReferenceLineSettings>;
324
- };
325
- rootProps: import('../rootPropsSlice').UpdatableChartOptions;
326
- tooltip: import('../tooltipSlice').TooltipState;
327
- }, axisType: XorYorZType, axisId: AxisId) => readonly CartesianGraphicalItemSettings[]) & {
328
- clearCache: () => void;
329
- resultsCount: () => number;
330
- resetResultsCount: () => void;
331
- } & {
332
- resultFunc: (resultFuncArgs_0: CartesianGraphicalItemSettings[]) => readonly CartesianGraphicalItemSettings[];
333
- memoizedResultFunc: ((resultFuncArgs_0: CartesianGraphicalItemSettings[]) => readonly CartesianGraphicalItemSettings[]) & {
334
- clearCache: () => void;
335
- resultsCount: () => number;
336
- resetResultsCount: () => void;
337
- };
338
- lastResult: () => readonly CartesianGraphicalItemSettings[];
339
- dependencies: [((state: {
340
- brush: import('../brushSlice').BrushSettings;
341
- cartesianAxis: {
342
- xAxis: Record<AxisId, XAxisSettings>;
343
- yAxis: Record<AxisId, YAxisSettings>;
344
- zAxis: Record<AxisId, ZAxisSettings>;
345
- };
346
- chartData: ChartDataState;
347
- graphicalItems: import('../graphicalItemsSlice').GraphicalItemsState;
348
- layout: {
349
- layoutType: LayoutType;
350
- width: number;
351
- height: number;
352
- margin: import('../../types').Margin;
353
- scale: number;
354
- };
355
- legend: {
356
- settings: import('../legendSlice').LegendSettings;
357
- size: Size;
358
- payload: ReadonlyArray<ReadonlyArray<import('../../components/DefaultLegendContent').LegendPayload>>;
359
- };
360
- options: import('../optionsSlice').ChartOptions;
361
- polarAxis: {
362
- radiusAxis: Record<AxisId, RadiusAxisSettings>;
363
- angleAxis: Record<AxisId, AngleAxisSettings>;
364
- };
365
- polarOptions: import('../polarOptionsSlice').PolarChartOptions;
366
- referenceElements: {
367
- dots: ReadonlyArray<ReferenceDotSettings>;
368
- areas: ReadonlyArray<ReferenceAreaSettings>;
369
- lines: ReadonlyArray<ReferenceLineSettings>;
370
- };
371
- rootProps: import('../rootPropsSlice').UpdatableChartOptions;
372
- tooltip: import('../tooltipSlice').TooltipState;
373
- }, axisType: XorYorZType, axisId: AxisId) => CartesianGraphicalItemSettings[]) & {
374
- clearCache: () => void;
375
- resultsCount: () => number;
376
- resetResultsCount: () => void;
377
- } & {
378
- resultFunc: (resultFuncArgs_0: readonly CartesianGraphicalItemSettings[], resultFuncArgs_1: BaseCartesianAxis, resultFuncArgs_2: (item: CartesianGraphicalItemSettings) => boolean) => CartesianGraphicalItemSettings[];
379
- memoizedResultFunc: ((resultFuncArgs_0: readonly CartesianGraphicalItemSettings[], resultFuncArgs_1: BaseCartesianAxis, resultFuncArgs_2: (item: CartesianGraphicalItemSettings) => boolean) => CartesianGraphicalItemSettings[]) & {
380
- clearCache: () => void;
381
- resultsCount: () => number;
382
- resetResultsCount: () => void;
383
- };
384
- lastResult: () => CartesianGraphicalItemSettings[];
385
- dependencies: [typeof selectUnfilteredCartesianItems, typeof selectBaseAxis, (_state: RechartsRootState, axisType: XorYorZType, axisId: AxisId) => (item: CartesianGraphicalItemSettings) => boolean];
386
- recomputations: () => number;
387
- resetRecomputations: () => void;
388
- dependencyRecomputations: () => number;
389
- resetDependencyRecomputations: () => void;
390
- } & {
391
- argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
392
- memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
393
- }];
394
- recomputations: () => number;
395
- resetRecomputations: () => void;
396
- dependencyRecomputations: () => number;
397
- resetDependencyRecomputations: () => void;
398
- } & {
399
- argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
400
- memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
401
- }, <T>(_state: RechartsRootState, axisType: T) => T];
402
- recomputations: () => number;
403
- resetRecomputations: () => void;
404
- dependencyRecomputations: () => number;
405
- resetDependencyRecomputations: () => void;
406
- } & {
407
- argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
408
- memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
409
- };
410
- export declare function getDomainDefinition(axisSettings: CartesianAxisSettings): AxisDomain;
411
- export declare function mergeDomains(...domains: ReadonlyArray<NumberDomain | undefined>): NumberDomain | undefined;
412
- export declare function selectReferenceDots(state: RechartsRootState): ReadonlyArray<ReferenceDotSettings>;
413
- export declare function filterReferenceElements<T extends ReferenceElementSettings>(elements: ReadonlyArray<T>, axisType: XorYorZType, axisId: AxisId): ReadonlyArray<T>;
414
- export declare const selectReferenceDotsByAxis: ((state: {
415
- brush: import('../brushSlice').BrushSettings;
416
- cartesianAxis: {
417
- xAxis: Record<AxisId, XAxisSettings>;
418
- yAxis: Record<AxisId, YAxisSettings>;
419
- zAxis: Record<AxisId, ZAxisSettings>;
420
- };
421
- chartData: ChartDataState;
422
- graphicalItems: import('../graphicalItemsSlice').GraphicalItemsState;
423
- layout: {
424
- layoutType: LayoutType;
425
- width: number;
426
- height: number;
427
- margin: import('../../types').Margin;
428
- scale: number;
429
- };
430
- legend: {
431
- settings: import('../legendSlice').LegendSettings;
432
- size: Size;
433
- payload: ReadonlyArray<ReadonlyArray<import('../../components/DefaultLegendContent').LegendPayload>>;
434
- };
435
- options: import('../optionsSlice').ChartOptions;
436
- polarAxis: {
437
- radiusAxis: Record<AxisId, RadiusAxisSettings>;
438
- angleAxis: Record<AxisId, AngleAxisSettings>;
439
- };
440
- polarOptions: import('../polarOptionsSlice').PolarChartOptions;
441
- referenceElements: {
442
- dots: ReadonlyArray<ReferenceDotSettings>;
443
- areas: ReadonlyArray<ReferenceAreaSettings>;
444
- lines: ReadonlyArray<ReferenceLineSettings>;
445
- };
446
- rootProps: import('../rootPropsSlice').UpdatableChartOptions;
447
- tooltip: import('../tooltipSlice').TooltipState;
448
- }, _axisType: unknown, axisId: AxisId) => readonly ReferenceDotSettings[]) & {
449
- clearCache: () => void;
450
- resultsCount: () => number;
451
- resetResultsCount: () => void;
452
- } & {
453
- resultFunc: (resultFuncArgs_0: readonly ReferenceDotSettings[], resultFuncArgs_1: any, resultFuncArgs_2: AxisId) => readonly ReferenceDotSettings[];
454
- memoizedResultFunc: ((resultFuncArgs_0: readonly ReferenceDotSettings[], resultFuncArgs_1: any, resultFuncArgs_2: AxisId) => readonly ReferenceDotSettings[]) & {
455
- clearCache: () => void;
456
- resultsCount: () => number;
457
- resetResultsCount: () => void;
458
- };
459
- lastResult: () => readonly ReferenceDotSettings[];
460
- dependencies: [typeof selectReferenceDots, <T>(_state: RechartsRootState, axisType: T) => T, (_state: RechartsRootState, _axisType: unknown, axisId: AxisId) => AxisId];
461
- recomputations: () => number;
462
- resetRecomputations: () => void;
463
- dependencyRecomputations: () => number;
464
- resetDependencyRecomputations: () => void;
465
- } & {
466
- argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
467
- memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
468
- };
469
- export declare function selectReferenceAreas(state: RechartsRootState): ReadonlyArray<ReferenceAreaSettings>;
470
- export declare const selectReferenceAreasByAxis: (state: RechartsRootState, axisType: XorYorZType, axisId: AxisId) => ReadonlyArray<ReferenceAreaSettings>;
471
- export declare function selectReferenceLines(state: RechartsRootState): ReadonlyArray<ReferenceLineSettings>;
472
- export declare const selectReferenceLinesByAxis: (state: RechartsRootState, axisType: XorYorZType, axisId: AxisId) => ReadonlyArray<ReferenceLineSettings>;
473
- export declare function combineDotsDomain(dots: ReadonlyArray<ReferenceDotSettings>, axisType: XorYType): NumberDomain | undefined;
474
- export declare function combineAreasDomain(areas: ReadonlyArray<ReferenceAreaSettings>, axisType: XorYType): NumberDomain | undefined;
475
- export declare function combineLinesDomain(lines: ReadonlyArray<ReferenceLineSettings>, axisType: XorYType): NumberDomain | undefined;
476
- export declare const selectDomainDefinition: ((state: {
477
- brush: import('../brushSlice').BrushSettings;
478
- cartesianAxis: {
479
- xAxis: Record<AxisId, XAxisSettings>;
480
- yAxis: Record<AxisId, YAxisSettings>;
481
- zAxis: Record<AxisId, ZAxisSettings>;
482
- };
483
- chartData: ChartDataState;
484
- graphicalItems: import('../graphicalItemsSlice').GraphicalItemsState;
485
- layout: {
486
- layoutType: LayoutType;
487
- width: number;
488
- height: number;
489
- margin: import('../../types').Margin;
490
- scale: number;
491
- };
492
- legend: {
493
- settings: import('../legendSlice').LegendSettings;
494
- size: Size;
495
- payload: ReadonlyArray<ReadonlyArray<import('../../components/DefaultLegendContent').LegendPayload>>;
496
- };
497
- options: import('../optionsSlice').ChartOptions;
498
- polarAxis: {
499
- radiusAxis: Record<AxisId, RadiusAxisSettings>;
500
- angleAxis: Record<AxisId, AngleAxisSettings>;
501
- };
502
- polarOptions: import('../polarOptionsSlice').PolarChartOptions;
503
- referenceElements: {
504
- dots: ReadonlyArray<ReferenceDotSettings>;
505
- areas: ReadonlyArray<ReferenceAreaSettings>;
506
- lines: ReadonlyArray<ReferenceLineSettings>;
507
- };
508
- rootProps: import('../rootPropsSlice').UpdatableChartOptions;
509
- tooltip: import('../tooltipSlice').TooltipState;
510
- }, axisType: XorYorZType, axisId: AxisId) => AxisDomain) & {
511
- clearCache: () => void;
512
- resultsCount: () => number;
513
- resetResultsCount: () => void;
514
- } & {
515
- resultFunc: (resultFuncArgs_0: BaseCartesianAxis) => AxisDomain;
516
- memoizedResultFunc: ((resultFuncArgs_0: BaseCartesianAxis) => AxisDomain) & {
517
- clearCache: () => void;
518
- resultsCount: () => number;
519
- resetResultsCount: () => void;
520
- };
521
- lastResult: () => AxisDomain;
522
- dependencies: [typeof selectBaseAxis];
523
- recomputations: () => number;
524
- resetRecomputations: () => void;
525
- dependencyRecomputations: () => number;
526
- resetDependencyRecomputations: () => void;
527
- } & {
528
- argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
529
- memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
530
- };
531
- export declare function combineNumericalDomain(axisSettings: BaseCartesianAxis, domainDefinition: AxisDomain | undefined, domainOfStackGroups: NumberDomain | undefined, allDataWithErrorDomains: ReadonlyArray<AppliedChartDataWithErrorDomain>, referenceElementsDomain: NumberDomain | undefined): NumberDomain | undefined;
532
- export declare function combineAxisDomain(axisSettings: BaseCartesianAxis, layout: LayoutType, displayedData: ChartData | undefined, allAppliedValues: AppliedChartData, stackOffsetType: StackOffsetType, axisType: XorYorZType, numericalDomain: NumberDomain | undefined): NumberDomain | CategoricalDomain | undefined;
533
- export declare const selectAxisDomain: (state: RechartsRootState, axisType: XorYorZType, axisId: AxisId, isPanorama: boolean) => NumberDomain | CategoricalDomain | undefined;
534
- export declare function combineRealScaleType(axisConfig: BaseCartesianAxis | undefined, hasBar: boolean, chartType: string): string | undefined;
535
- export declare const selectRealScaleType: (state: RechartsRootState, axisType: XorYorZType, axisId: AxisId) => string | undefined;
536
- export declare function combineScaleFunction(axis: BaseCartesianAxis, realScaleType: string | undefined, axisDomain: NumberDomain | CategoricalDomain | undefined, axisRange: AxisRange | undefined): RechartsScale | undefined;
537
- export declare function combineNiceTicks(axisDomain: NumberDomain | CategoricalDomain | undefined, axisSettings: CartesianAxisSettings, realScaleType: string): ReadonlyArray<number> | undefined;
538
- export declare const selectNiceTicks: ((state: {
539
- brush: import('../brushSlice').BrushSettings;
540
- cartesianAxis: {
541
- xAxis: Record<AxisId, XAxisSettings>;
542
- yAxis: Record<AxisId, YAxisSettings>;
543
- zAxis: Record<AxisId, ZAxisSettings>;
544
- };
545
- chartData: ChartDataState;
546
- graphicalItems: import('../graphicalItemsSlice').GraphicalItemsState;
547
- layout: {
548
- layoutType: LayoutType;
549
- width: number;
550
- height: number;
551
- margin: import('../../types').Margin;
552
- scale: number;
553
- };
554
- legend: {
555
- settings: import('../legendSlice').LegendSettings;
556
- size: Size;
557
- payload: ReadonlyArray<ReadonlyArray<import('../../components/DefaultLegendContent').LegendPayload>>;
558
- };
559
- options: import('../optionsSlice').ChartOptions;
560
- polarAxis: {
561
- radiusAxis: Record<AxisId, RadiusAxisSettings>;
562
- angleAxis: Record<AxisId, AngleAxisSettings>;
563
- };
564
- polarOptions: import('../polarOptionsSlice').PolarChartOptions;
565
- referenceElements: {
566
- dots: ReadonlyArray<ReferenceDotSettings>;
567
- areas: ReadonlyArray<ReferenceAreaSettings>;
568
- lines: ReadonlyArray<ReferenceLineSettings>;
569
- };
570
- rootProps: import('../rootPropsSlice').UpdatableChartOptions;
571
- tooltip: import('../tooltipSlice').TooltipState;
572
- }, axisType: "xAxis" | "yAxis" | "angleAxis" | "radiusAxis", axisId: AxisId, isPanorama: boolean) => readonly number[]) & {
573
- clearCache: () => void;
574
- resultsCount: () => number;
575
- resetResultsCount: () => void;
576
- } & {
577
- resultFunc: (resultFuncArgs_0: NumberDomain | CategoricalDomain, resultFuncArgs_1: AxisWithTicksSettings, resultFuncArgs_2: string) => readonly number[];
578
- memoizedResultFunc: ((resultFuncArgs_0: NumberDomain | CategoricalDomain, resultFuncArgs_1: AxisWithTicksSettings, resultFuncArgs_2: string) => readonly number[]) & {
579
- clearCache: () => void;
580
- resultsCount: () => number;
581
- resetResultsCount: () => void;
582
- };
583
- lastResult: () => readonly number[];
584
- dependencies: [(state: RechartsRootState, axisType: XorYorZType, axisId: AxisId, isPanorama: boolean) => NumberDomain | CategoricalDomain | undefined, typeof selectAxisSettings, (state: RechartsRootState, axisType: XorYorZType, axisId: AxisId) => string | undefined];
585
- recomputations: () => number;
586
- resetRecomputations: () => void;
587
- dependencyRecomputations: () => number;
588
- resetDependencyRecomputations: () => void;
589
- } & {
590
- argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
591
- memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
592
- };
593
- export declare function combineAxisDomainWithNiceTicks(axisSettings: BaseCartesianAxis, domain: NumberDomain | CategoricalDomain | undefined, niceTicks: ReadonlyArray<number> | undefined, axisType: XorYType): NumberDomain | CategoricalDomain | undefined;
594
- export declare const selectAxisDomainIncludingNiceTicks: ((state: {
595
- brush: import('../brushSlice').BrushSettings;
596
- cartesianAxis: {
597
- xAxis: Record<AxisId, XAxisSettings>;
598
- yAxis: Record<AxisId, YAxisSettings>;
599
- zAxis: Record<AxisId, ZAxisSettings>;
600
- };
601
- chartData: ChartDataState;
602
- graphicalItems: import('../graphicalItemsSlice').GraphicalItemsState;
603
- layout: {
604
- layoutType: LayoutType;
605
- width: number;
606
- height: number;
607
- margin: import('../../types').Margin;
608
- scale: number;
609
- };
610
- legend: {
611
- settings: import('../legendSlice').LegendSettings;
612
- size: Size;
613
- payload: ReadonlyArray<ReadonlyArray<import('../../components/DefaultLegendContent').LegendPayload>>;
614
- };
615
- options: import('../optionsSlice').ChartOptions;
616
- polarAxis: {
617
- radiusAxis: Record<AxisId, RadiusAxisSettings>;
618
- angleAxis: Record<AxisId, AngleAxisSettings>;
619
- };
620
- polarOptions: import('../polarOptionsSlice').PolarChartOptions;
621
- referenceElements: {
622
- dots: ReadonlyArray<ReferenceDotSettings>;
623
- areas: ReadonlyArray<ReferenceAreaSettings>;
624
- lines: ReadonlyArray<ReferenceLineSettings>;
625
- };
626
- rootProps: import('../rootPropsSlice').UpdatableChartOptions;
627
- tooltip: import('../tooltipSlice').TooltipState;
628
- }, axisType: "xAxis" | "yAxis" | "angleAxis" | "radiusAxis", axisId: AxisId, isPanorama: boolean) => NumberDomain | CategoricalDomain) & {
629
- clearCache: () => void;
630
- resultsCount: () => number;
631
- resetResultsCount: () => void;
632
- } & {
633
- resultFunc: (resultFuncArgs_0: BaseCartesianAxis, resultFuncArgs_1: NumberDomain | CategoricalDomain, resultFuncArgs_2: readonly number[], resultFuncArgs_3: any) => NumberDomain | CategoricalDomain;
634
- memoizedResultFunc: ((resultFuncArgs_0: BaseCartesianAxis, resultFuncArgs_1: NumberDomain | CategoricalDomain, resultFuncArgs_2: readonly number[], resultFuncArgs_3: any) => NumberDomain | CategoricalDomain) & {
635
- clearCache: () => void;
636
- resultsCount: () => number;
637
- resetResultsCount: () => void;
638
- };
639
- lastResult: () => NumberDomain | CategoricalDomain;
640
- dependencies: [typeof selectBaseAxis, (state: RechartsRootState, axisType: XorYorZType, axisId: AxisId, isPanorama: boolean) => NumberDomain | CategoricalDomain | undefined, ((state: {
641
- brush: import('../brushSlice').BrushSettings;
642
- cartesianAxis: {
643
- xAxis: Record<AxisId, XAxisSettings>;
644
- yAxis: Record<AxisId, YAxisSettings>;
645
- zAxis: Record<AxisId, ZAxisSettings>;
646
- };
647
- chartData: ChartDataState;
648
- graphicalItems: import('../graphicalItemsSlice').GraphicalItemsState;
649
- layout: {
650
- layoutType: LayoutType;
651
- width: number;
652
- height: number;
653
- margin: import('../../types').Margin;
654
- scale: number;
655
- };
656
- legend: {
657
- settings: import('../legendSlice').LegendSettings;
658
- size: Size;
659
- payload: ReadonlyArray<ReadonlyArray<import('../../components/DefaultLegendContent').LegendPayload>>;
660
- };
661
- options: import('../optionsSlice').ChartOptions;
662
- polarAxis: {
663
- radiusAxis: Record<AxisId, RadiusAxisSettings>;
664
- angleAxis: Record<AxisId, AngleAxisSettings>;
665
- };
666
- polarOptions: import('../polarOptionsSlice').PolarChartOptions;
667
- referenceElements: {
668
- dots: ReadonlyArray<ReferenceDotSettings>;
669
- areas: ReadonlyArray<ReferenceAreaSettings>;
670
- lines: ReadonlyArray<ReferenceLineSettings>;
671
- };
672
- rootProps: import('../rootPropsSlice').UpdatableChartOptions;
673
- tooltip: import('../tooltipSlice').TooltipState;
674
- }, axisType: "xAxis" | "yAxis" | "angleAxis" | "radiusAxis", axisId: AxisId, isPanorama: boolean) => readonly number[]) & {
675
- clearCache: () => void;
676
- resultsCount: () => number;
677
- resetResultsCount: () => void;
678
- } & {
679
- resultFunc: (resultFuncArgs_0: NumberDomain | CategoricalDomain, resultFuncArgs_1: AxisWithTicksSettings, resultFuncArgs_2: string) => readonly number[];
680
- memoizedResultFunc: ((resultFuncArgs_0: NumberDomain | CategoricalDomain, resultFuncArgs_1: AxisWithTicksSettings, resultFuncArgs_2: string) => readonly number[]) & {
681
- clearCache: () => void;
682
- resultsCount: () => number;
683
- resetResultsCount: () => void;
684
- };
685
- lastResult: () => readonly number[];
686
- dependencies: [(state: RechartsRootState, axisType: XorYorZType, axisId: AxisId, isPanorama: boolean) => NumberDomain | CategoricalDomain | undefined, typeof selectAxisSettings, (state: RechartsRootState, axisType: XorYorZType, axisId: AxisId) => string | undefined];
687
- recomputations: () => number;
688
- resetRecomputations: () => void;
689
- dependencyRecomputations: () => number;
690
- resetDependencyRecomputations: () => void;
691
- } & {
692
- argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
693
- memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
694
- }, <T>(_state: RechartsRootState, axisType: T) => T];
695
- recomputations: () => number;
696
- resetRecomputations: () => void;
697
- dependencyRecomputations: () => number;
698
- resetDependencyRecomputations: () => void;
699
- } & {
700
- argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
701
- memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
702
- };
703
- /**
704
- * Returns the smallest gap, between two numbers in the data, as a ratio of the whole range (max - min).
705
- * Ignores domain provided by user and only considers domain from data.
706
- *
707
- * The result is a number between 0 and 1.
708
- */
709
- export declare const selectSmallestDistanceBetweenValues: (state: RechartsRootState, axisType: XorYType, axisId: AxisId, isPanorama: boolean) => number | undefined;
710
- export declare const selectCalculatedXAxisPadding: (state: RechartsRootState, axisId: AxisId) => number;
711
- export declare const selectCalculatedYAxisPadding: (state: RechartsRootState, axisId: AxisId) => number;
712
- export declare const combineXAxisRange: (state: RechartsRootState, axisId: AxisId, isPanorama: boolean) => AxisRange | undefined;
713
- export type AxisRange = readonly [number, number];
714
- export declare const combineYAxisRange: (state: RechartsRootState, axisId: AxisId, isPanorama: boolean) => AxisRange | undefined;
715
- export declare function selectAxisRange(state: RechartsRootState, axisType: XorYorZType, axisId: AxisId, isPanorama: boolean): AxisRange | undefined;
716
- export declare const selectAxisRangeWithReverse: (state: RechartsRootState, axisType: XorYorZType, axisId: AxisId, isPanorama: boolean) => AxisRange | undefined;
717
- export declare const selectAxisScale: ((state: {
718
- brush: import('../brushSlice').BrushSettings;
719
- cartesianAxis: {
720
- xAxis: Record<AxisId, XAxisSettings>;
721
- yAxis: Record<AxisId, YAxisSettings>;
722
- zAxis: Record<AxisId, ZAxisSettings>;
723
- };
724
- chartData: ChartDataState;
725
- graphicalItems: import('../graphicalItemsSlice').GraphicalItemsState;
726
- layout: {
727
- layoutType: LayoutType;
728
- width: number;
729
- height: number;
730
- margin: import('../../types').Margin;
731
- scale: number;
732
- };
733
- legend: {
734
- settings: import('../legendSlice').LegendSettings;
735
- size: Size;
736
- payload: ReadonlyArray<ReadonlyArray<import('../../components/DefaultLegendContent').LegendPayload>>;
737
- };
738
- options: import('../optionsSlice').ChartOptions;
739
- polarAxis: {
740
- radiusAxis: Record<AxisId, RadiusAxisSettings>;
741
- angleAxis: Record<AxisId, AngleAxisSettings>;
742
- };
743
- polarOptions: import('../polarOptionsSlice').PolarChartOptions;
744
- referenceElements: {
745
- dots: ReadonlyArray<ReferenceDotSettings>;
746
- areas: ReadonlyArray<ReferenceAreaSettings>;
747
- lines: ReadonlyArray<ReferenceLineSettings>;
748
- };
749
- rootProps: import('../rootPropsSlice').UpdatableChartOptions;
750
- tooltip: import('../tooltipSlice').TooltipState;
751
- }, axisType: "xAxis" | "yAxis" | "angleAxis" | "radiusAxis", axisId: AxisId, isPanorama: boolean) => RechartsScale) & {
752
- clearCache: () => void;
753
- resultsCount: () => number;
754
- resetResultsCount: () => void;
755
- } & {
756
- resultFunc: (resultFuncArgs_0: BaseCartesianAxis, resultFuncArgs_1: string, resultFuncArgs_2: NumberDomain | CategoricalDomain, resultFuncArgs_3: AxisRange) => RechartsScale;
757
- memoizedResultFunc: ((resultFuncArgs_0: BaseCartesianAxis, resultFuncArgs_1: string, resultFuncArgs_2: NumberDomain | CategoricalDomain, resultFuncArgs_3: AxisRange) => RechartsScale) & {
758
- clearCache: () => void;
759
- resultsCount: () => number;
760
- resetResultsCount: () => void;
761
- };
762
- lastResult: () => RechartsScale;
763
- dependencies: [typeof selectBaseAxis, (state: RechartsRootState, axisType: XorYorZType, axisId: AxisId) => string | undefined, ((state: {
764
- brush: import('../brushSlice').BrushSettings;
765
- cartesianAxis: {
766
- xAxis: Record<AxisId, XAxisSettings>;
767
- yAxis: Record<AxisId, YAxisSettings>;
768
- zAxis: Record<AxisId, ZAxisSettings>;
769
- };
770
- chartData: ChartDataState;
771
- graphicalItems: import('../graphicalItemsSlice').GraphicalItemsState;
772
- layout: {
773
- layoutType: LayoutType;
774
- width: number;
775
- height: number;
776
- margin: import('../../types').Margin;
777
- scale: number;
778
- };
779
- legend: {
780
- settings: import('../legendSlice').LegendSettings;
781
- size: Size;
782
- payload: ReadonlyArray<ReadonlyArray<import('../../components/DefaultLegendContent').LegendPayload>>;
783
- };
784
- options: import('../optionsSlice').ChartOptions;
785
- polarAxis: {
786
- radiusAxis: Record<AxisId, RadiusAxisSettings>;
787
- angleAxis: Record<AxisId, AngleAxisSettings>;
788
- };
789
- polarOptions: import('../polarOptionsSlice').PolarChartOptions;
790
- referenceElements: {
791
- dots: ReadonlyArray<ReferenceDotSettings>;
792
- areas: ReadonlyArray<ReferenceAreaSettings>;
793
- lines: ReadonlyArray<ReferenceLineSettings>;
794
- };
795
- rootProps: import('../rootPropsSlice').UpdatableChartOptions;
796
- tooltip: import('../tooltipSlice').TooltipState;
797
- }, axisType: "xAxis" | "yAxis" | "angleAxis" | "radiusAxis", axisId: AxisId, isPanorama: boolean) => NumberDomain | CategoricalDomain) & {
798
- clearCache: () => void;
799
- resultsCount: () => number;
800
- resetResultsCount: () => void;
801
- } & {
802
- resultFunc: (resultFuncArgs_0: BaseCartesianAxis, resultFuncArgs_1: NumberDomain | CategoricalDomain, resultFuncArgs_2: readonly number[], resultFuncArgs_3: any) => NumberDomain | CategoricalDomain;
803
- memoizedResultFunc: ((resultFuncArgs_0: BaseCartesianAxis, resultFuncArgs_1: NumberDomain | CategoricalDomain, resultFuncArgs_2: readonly number[], resultFuncArgs_3: any) => NumberDomain | CategoricalDomain) & {
804
- clearCache: () => void;
805
- resultsCount: () => number;
806
- resetResultsCount: () => void;
807
- };
808
- lastResult: () => NumberDomain | CategoricalDomain;
809
- dependencies: [typeof selectBaseAxis, (state: RechartsRootState, axisType: XorYorZType, axisId: AxisId, isPanorama: boolean) => NumberDomain | CategoricalDomain | undefined, ((state: {
810
- brush: import('../brushSlice').BrushSettings;
811
- cartesianAxis: {
812
- xAxis: Record<AxisId, XAxisSettings>;
813
- yAxis: Record<AxisId, YAxisSettings>;
814
- zAxis: Record<AxisId, ZAxisSettings>;
815
- };
816
- chartData: ChartDataState;
817
- graphicalItems: import('../graphicalItemsSlice').GraphicalItemsState;
818
- layout: {
819
- layoutType: LayoutType;
820
- width: number;
821
- height: number;
822
- margin: import('../../types').Margin;
823
- scale: number;
824
- };
825
- legend: {
826
- settings: import('../legendSlice').LegendSettings;
827
- size: Size;
828
- payload: ReadonlyArray<ReadonlyArray<import('../../components/DefaultLegendContent').LegendPayload>>;
829
- };
830
- options: import('../optionsSlice').ChartOptions;
831
- polarAxis: {
832
- radiusAxis: Record<AxisId, RadiusAxisSettings>;
833
- angleAxis: Record<AxisId, AngleAxisSettings>;
834
- };
835
- polarOptions: import('../polarOptionsSlice').PolarChartOptions;
836
- referenceElements: {
837
- dots: ReadonlyArray<ReferenceDotSettings>;
838
- areas: ReadonlyArray<ReferenceAreaSettings>;
839
- lines: ReadonlyArray<ReferenceLineSettings>;
840
- };
841
- rootProps: import('../rootPropsSlice').UpdatableChartOptions;
842
- tooltip: import('../tooltipSlice').TooltipState;
843
- }, axisType: "xAxis" | "yAxis" | "angleAxis" | "radiusAxis", axisId: AxisId, isPanorama: boolean) => readonly number[]) & {
844
- clearCache: () => void;
845
- resultsCount: () => number;
846
- resetResultsCount: () => void;
847
- } & {
848
- resultFunc: (resultFuncArgs_0: NumberDomain | CategoricalDomain, resultFuncArgs_1: AxisWithTicksSettings, resultFuncArgs_2: string) => readonly number[];
849
- memoizedResultFunc: ((resultFuncArgs_0: NumberDomain | CategoricalDomain, resultFuncArgs_1: AxisWithTicksSettings, resultFuncArgs_2: string) => readonly number[]) & {
850
- clearCache: () => void;
851
- resultsCount: () => number;
852
- resetResultsCount: () => void;
853
- };
854
- lastResult: () => readonly number[];
855
- dependencies: [(state: RechartsRootState, axisType: XorYorZType, axisId: AxisId, isPanorama: boolean) => NumberDomain | CategoricalDomain | undefined, typeof selectAxisSettings, (state: RechartsRootState, axisType: XorYorZType, axisId: AxisId) => string | undefined];
856
- recomputations: () => number;
857
- resetRecomputations: () => void;
858
- dependencyRecomputations: () => number;
859
- resetDependencyRecomputations: () => void;
860
- } & {
861
- argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
862
- memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
863
- }, <T>(_state: RechartsRootState, axisType: T) => T];
864
- recomputations: () => number;
865
- resetRecomputations: () => void;
866
- dependencyRecomputations: () => number;
867
- resetDependencyRecomputations: () => void;
868
- } & {
869
- argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
870
- memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
871
- }, (state: RechartsRootState, axisType: XorYorZType, axisId: AxisId, isPanorama: boolean) => AxisRange | undefined];
872
- recomputations: () => number;
873
- resetRecomputations: () => void;
874
- dependencyRecomputations: () => number;
875
- resetDependencyRecomputations: () => void;
876
- } & {
877
- argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
878
- memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
879
- };
880
- export declare const selectSortedDataPoints: (state: RechartsRootState, axisType: XorYorZType, axisId: AxisId, isPanorama: boolean) => ReadonlyArray<unknown> | undefined;
881
- export declare const selectAxisInverseScale: (state: RechartsRootState, axisType: XorYorZType, axisId: AxisId, isPanorama: boolean) => InverseScaleFunction | undefined;
882
- export declare const selectAxisInverseDataSnapScale: (state: RechartsRootState, axisType: XorYorZType, axisId: AxisId, isPanorama: boolean) => InverseScaleFunction | undefined;
883
- export declare const selectErrorBarsSettings: ((state: {
884
- brush: import('../brushSlice').BrushSettings;
885
- cartesianAxis: {
886
- xAxis: Record<AxisId, XAxisSettings>;
887
- yAxis: Record<AxisId, YAxisSettings>;
888
- zAxis: Record<AxisId, ZAxisSettings>;
889
- };
890
- chartData: ChartDataState;
891
- graphicalItems: import('../graphicalItemsSlice').GraphicalItemsState;
892
- layout: {
893
- layoutType: LayoutType;
894
- width: number;
895
- height: number;
896
- margin: import('../../types').Margin;
897
- scale: number;
898
- };
899
- legend: {
900
- settings: import('../legendSlice').LegendSettings;
901
- size: Size;
902
- payload: ReadonlyArray<ReadonlyArray<import('../../components/DefaultLegendContent').LegendPayload>>;
903
- };
904
- options: import('../optionsSlice').ChartOptions;
905
- polarAxis: {
906
- radiusAxis: Record<AxisId, RadiusAxisSettings>;
907
- angleAxis: Record<AxisId, AngleAxisSettings>;
908
- };
909
- polarOptions: import('../polarOptionsSlice').PolarChartOptions;
910
- referenceElements: {
911
- dots: ReadonlyArray<ReferenceDotSettings>;
912
- areas: ReadonlyArray<ReferenceAreaSettings>;
913
- lines: ReadonlyArray<ReferenceLineSettings>;
914
- };
915
- rootProps: import('../rootPropsSlice').UpdatableChartOptions;
916
- tooltip: import('../tooltipSlice').TooltipState;
917
- }, axisType: XorYorZType, axisId: AxisId) => readonly ErrorBarsSettings[]) & {
918
- clearCache: () => void;
919
- resultsCount: () => number;
920
- resetResultsCount: () => void;
921
- } & {
922
- resultFunc: (resultFuncArgs_0: CartesianGraphicalItemSettings[], resultFuncArgs_1: any) => readonly ErrorBarsSettings[];
923
- memoizedResultFunc: ((resultFuncArgs_0: CartesianGraphicalItemSettings[], resultFuncArgs_1: any) => readonly ErrorBarsSettings[]) & {
924
- clearCache: () => void;
925
- resultsCount: () => number;
926
- resetResultsCount: () => void;
927
- };
928
- lastResult: () => readonly ErrorBarsSettings[];
929
- dependencies: [((state: {
930
- brush: import('../brushSlice').BrushSettings;
931
- cartesianAxis: {
932
- xAxis: Record<AxisId, XAxisSettings>;
933
- yAxis: Record<AxisId, YAxisSettings>;
934
- zAxis: Record<AxisId, ZAxisSettings>;
935
- };
936
- chartData: ChartDataState;
937
- graphicalItems: import('../graphicalItemsSlice').GraphicalItemsState;
938
- layout: {
939
- layoutType: LayoutType;
940
- width: number;
941
- height: number;
942
- margin: import('../../types').Margin;
943
- scale: number;
944
- };
945
- legend: {
946
- settings: import('../legendSlice').LegendSettings;
947
- size: Size;
948
- payload: ReadonlyArray<ReadonlyArray<import('../../components/DefaultLegendContent').LegendPayload>>;
949
- };
950
- options: import('../optionsSlice').ChartOptions;
951
- polarAxis: {
952
- radiusAxis: Record<AxisId, RadiusAxisSettings>;
953
- angleAxis: Record<AxisId, AngleAxisSettings>;
954
- };
955
- polarOptions: import('../polarOptionsSlice').PolarChartOptions;
956
- referenceElements: {
957
- dots: ReadonlyArray<ReferenceDotSettings>;
958
- areas: ReadonlyArray<ReferenceAreaSettings>;
959
- lines: ReadonlyArray<ReferenceLineSettings>;
960
- };
961
- rootProps: import('../rootPropsSlice').UpdatableChartOptions;
962
- tooltip: import('../tooltipSlice').TooltipState;
963
- }, axisType: XorYorZType, axisId: AxisId) => CartesianGraphicalItemSettings[]) & {
964
- clearCache: () => void;
965
- resultsCount: () => number;
966
- resetResultsCount: () => void;
967
- } & {
968
- resultFunc: (resultFuncArgs_0: readonly CartesianGraphicalItemSettings[], resultFuncArgs_1: BaseCartesianAxis, resultFuncArgs_2: (item: CartesianGraphicalItemSettings) => boolean) => CartesianGraphicalItemSettings[];
969
- memoizedResultFunc: ((resultFuncArgs_0: readonly CartesianGraphicalItemSettings[], resultFuncArgs_1: BaseCartesianAxis, resultFuncArgs_2: (item: CartesianGraphicalItemSettings) => boolean) => CartesianGraphicalItemSettings[]) & {
970
- clearCache: () => void;
971
- resultsCount: () => number;
972
- resetResultsCount: () => void;
973
- };
974
- lastResult: () => CartesianGraphicalItemSettings[];
975
- dependencies: [typeof selectUnfilteredCartesianItems, typeof selectBaseAxis, (_state: RechartsRootState, axisType: XorYorZType, axisId: AxisId) => (item: CartesianGraphicalItemSettings) => boolean];
976
- recomputations: () => number;
977
- resetRecomputations: () => void;
978
- dependencyRecomputations: () => number;
979
- resetDependencyRecomputations: () => void;
980
- } & {
981
- argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
982
- memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
983
- }, <T>(_state: RechartsRootState, axisType: T) => T];
984
- recomputations: () => number;
985
- resetRecomputations: () => void;
986
- dependencyRecomputations: () => number;
987
- resetDependencyRecomputations: () => void;
988
- } & {
989
- argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
990
- memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
991
- };
992
- export declare const selectXAxisSize: (state: RechartsRootState, xAxisId: AxisId) => Size;
993
- type AxisOffsetSteps = Record<AxisId, number>;
994
- export declare const selectAllXAxesOffsetSteps: (state: RechartsRootState, orientation: XAxisOrientation, mirror: boolean) => AxisOffsetSteps;
995
- export declare const selectAllYAxesOffsetSteps: (state: RechartsRootState, orientation: YAxisOrientation, mirror: boolean) => AxisOffsetSteps;
996
- export declare function selectXAxisPosition(state: RechartsRootState, axisId: AxisId): Coordinate | undefined;
997
- export declare function selectYAxisPosition(state: RechartsRootState, axisId: AxisId): Coordinate | undefined;
998
- export declare const selectYAxisSize: (state: RechartsRootState, yAxisId: AxisId) => Size;
999
- export declare function selectCartesianAxisSize(state: RechartsRootState, axisType: XorYType, axisId: AxisId): number | undefined;
1000
- export declare function combineDuplicateDomain(chartLayout: LayoutType, appliedValues: AppliedChartData, axis: BaseCartesianAxis, axisType: XorYorZType): ReadonlyArray<unknown> | undefined;
1001
- export declare const selectDuplicateDomain: (state: RechartsRootState, axisType: XorYorZType, axisId: AxisId, isPanorama: boolean) => ReadonlyArray<unknown> | undefined;
1002
- export declare function combineCategoricalDomain(layout: LayoutType, appliedValues: AppliedChartData, axis: AxisWithTicksSettings, axisType: XorYType): ReadonlyArray<unknown> | undefined;
1003
- export declare const selectCategoricalDomain: ((state: {
1004
- brush: import('../brushSlice').BrushSettings;
1005
- cartesianAxis: {
1006
- xAxis: Record<AxisId, XAxisSettings>;
1007
- yAxis: Record<AxisId, YAxisSettings>;
1008
- zAxis: Record<AxisId, ZAxisSettings>;
1009
- };
1010
- chartData: ChartDataState;
1011
- graphicalItems: import('../graphicalItemsSlice').GraphicalItemsState;
1012
- layout: {
1013
- layoutType: LayoutType;
1014
- width: number;
1015
- height: number;
1016
- margin: import('../../types').Margin;
1017
- scale: number;
1018
- };
1019
- legend: {
1020
- settings: import('../legendSlice').LegendSettings;
1021
- size: Size;
1022
- payload: ReadonlyArray<ReadonlyArray<import('../../components/DefaultLegendContent').LegendPayload>>;
1023
- };
1024
- options: import('../optionsSlice').ChartOptions;
1025
- polarAxis: {
1026
- radiusAxis: Record<AxisId, RadiusAxisSettings>;
1027
- angleAxis: Record<AxisId, AngleAxisSettings>;
1028
- };
1029
- polarOptions: import('../polarOptionsSlice').PolarChartOptions;
1030
- referenceElements: {
1031
- dots: ReadonlyArray<ReferenceDotSettings>;
1032
- areas: ReadonlyArray<ReferenceAreaSettings>;
1033
- lines: ReadonlyArray<ReferenceLineSettings>;
1034
- };
1035
- rootProps: import('../rootPropsSlice').UpdatableChartOptions;
1036
- tooltip: import('../tooltipSlice').TooltipState;
1037
- }, axisType: "xAxis" | "yAxis" | "angleAxis" | "radiusAxis", axisId: AxisId, isPanorama: boolean) => readonly unknown[]) & {
1038
- clearCache: () => void;
1039
- resultsCount: () => number;
1040
- resetResultsCount: () => void;
1041
- } & {
1042
- resultFunc: (resultFuncArgs_0: LayoutType, resultFuncArgs_1: AppliedChartData, resultFuncArgs_2: AxisWithTicksSettings, resultFuncArgs_3: any) => readonly unknown[];
1043
- memoizedResultFunc: ((resultFuncArgs_0: LayoutType, resultFuncArgs_1: AppliedChartData, resultFuncArgs_2: AxisWithTicksSettings, resultFuncArgs_3: any) => readonly unknown[]) & {
1044
- clearCache: () => void;
1045
- resultsCount: () => number;
1046
- resetResultsCount: () => void;
1047
- };
1048
- lastResult: () => readonly unknown[];
1049
- dependencies: [(state: RechartsRootState) => LayoutType, (state: RechartsRootState, axisType: XorYorZType, axisId: AxisId, isPanorama: boolean) => AppliedChartData, typeof selectAxisSettings, <T>(_state: RechartsRootState, axisType: T) => T];
1050
- recomputations: () => number;
1051
- resetRecomputations: () => void;
1052
- dependencyRecomputations: () => number;
1053
- resetDependencyRecomputations: () => void;
1054
- } & {
1055
- argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
1056
- memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
1057
- };
1058
- export declare const selectAxisPropsNeededForCartesianGridTicksGenerator: ((state: {
1059
- brush: import('../brushSlice').BrushSettings;
1060
- cartesianAxis: {
1061
- xAxis: Record<AxisId, XAxisSettings>;
1062
- yAxis: Record<AxisId, YAxisSettings>;
1063
- zAxis: Record<AxisId, ZAxisSettings>;
1064
- };
1065
- chartData: ChartDataState;
1066
- graphicalItems: import('../graphicalItemsSlice').GraphicalItemsState;
1067
- layout: {
1068
- layoutType: LayoutType;
1069
- width: number;
1070
- height: number;
1071
- margin: import('../../types').Margin;
1072
- scale: number;
1073
- };
1074
- legend: {
1075
- settings: import('../legendSlice').LegendSettings;
1076
- size: Size;
1077
- payload: ReadonlyArray<ReadonlyArray<import('../../components/DefaultLegendContent').LegendPayload>>;
1078
- };
1079
- options: import('../optionsSlice').ChartOptions;
1080
- polarAxis: {
1081
- radiusAxis: Record<AxisId, RadiusAxisSettings>;
1082
- angleAxis: Record<AxisId, AngleAxisSettings>;
1083
- };
1084
- polarOptions: import('../polarOptionsSlice').PolarChartOptions;
1085
- referenceElements: {
1086
- dots: ReadonlyArray<ReferenceDotSettings>;
1087
- areas: ReadonlyArray<ReferenceAreaSettings>;
1088
- lines: ReadonlyArray<ReferenceLineSettings>;
1089
- };
1090
- rootProps: import('../rootPropsSlice').UpdatableChartOptions;
1091
- tooltip: import('../tooltipSlice').TooltipState;
1092
- }, axisType: "xAxis" | "yAxis", axisId: AxisId, isPanorama: boolean) => AxisPropsForCartesianGridTicksGeneration) & {
1093
- clearCache: () => void;
1094
- resultsCount: () => number;
1095
- resetResultsCount: () => void;
1096
- } & {
1097
- resultFunc: (resultFuncArgs_0: LayoutType, resultFuncArgs_1: XAxisSettings | YAxisSettings, resultFuncArgs_2: string, resultFuncArgs_3: RechartsScale, resultFuncArgs_4: readonly unknown[], resultFuncArgs_5: readonly unknown[], resultFuncArgs_6: AxisRange, resultFuncArgs_7: readonly number[], resultFuncArgs_8: any) => AxisPropsForCartesianGridTicksGeneration;
1098
- memoizedResultFunc: ((resultFuncArgs_0: LayoutType, resultFuncArgs_1: XAxisSettings | YAxisSettings, resultFuncArgs_2: string, resultFuncArgs_3: RechartsScale, resultFuncArgs_4: readonly unknown[], resultFuncArgs_5: readonly unknown[], resultFuncArgs_6: AxisRange, resultFuncArgs_7: readonly number[], resultFuncArgs_8: any) => AxisPropsForCartesianGridTicksGeneration) & {
1099
- clearCache: () => void;
1100
- resultsCount: () => number;
1101
- resetResultsCount: () => void;
1102
- };
1103
- lastResult: () => AxisPropsForCartesianGridTicksGeneration;
1104
- dependencies: [(state: RechartsRootState) => LayoutType, typeof selectCartesianAxisSettings, (state: RechartsRootState, axisType: XorYorZType, axisId: AxisId) => string | undefined, ((state: {
1105
- brush: import('../brushSlice').BrushSettings;
1106
- cartesianAxis: {
1107
- xAxis: Record<AxisId, XAxisSettings>;
1108
- yAxis: Record<AxisId, YAxisSettings>;
1109
- zAxis: Record<AxisId, ZAxisSettings>;
1110
- };
1111
- chartData: ChartDataState;
1112
- graphicalItems: import('../graphicalItemsSlice').GraphicalItemsState;
1113
- layout: {
1114
- layoutType: LayoutType;
1115
- width: number;
1116
- height: number;
1117
- margin: import('../../types').Margin;
1118
- scale: number;
1119
- };
1120
- legend: {
1121
- settings: import('../legendSlice').LegendSettings;
1122
- size: Size;
1123
- payload: ReadonlyArray<ReadonlyArray<import('../../components/DefaultLegendContent').LegendPayload>>;
1124
- };
1125
- options: import('../optionsSlice').ChartOptions;
1126
- polarAxis: {
1127
- radiusAxis: Record<AxisId, RadiusAxisSettings>;
1128
- angleAxis: Record<AxisId, AngleAxisSettings>;
1129
- };
1130
- polarOptions: import('../polarOptionsSlice').PolarChartOptions;
1131
- referenceElements: {
1132
- dots: ReadonlyArray<ReferenceDotSettings>;
1133
- areas: ReadonlyArray<ReferenceAreaSettings>;
1134
- lines: ReadonlyArray<ReferenceLineSettings>;
1135
- };
1136
- rootProps: import('../rootPropsSlice').UpdatableChartOptions;
1137
- tooltip: import('../tooltipSlice').TooltipState;
1138
- }, axisType: "xAxis" | "yAxis" | "angleAxis" | "radiusAxis", axisId: AxisId, isPanorama: boolean) => RechartsScale) & {
1139
- clearCache: () => void;
1140
- resultsCount: () => number;
1141
- resetResultsCount: () => void;
1142
- } & {
1143
- resultFunc: (resultFuncArgs_0: BaseCartesianAxis, resultFuncArgs_1: string, resultFuncArgs_2: NumberDomain | CategoricalDomain, resultFuncArgs_3: AxisRange) => RechartsScale;
1144
- memoizedResultFunc: ((resultFuncArgs_0: BaseCartesianAxis, resultFuncArgs_1: string, resultFuncArgs_2: NumberDomain | CategoricalDomain, resultFuncArgs_3: AxisRange) => RechartsScale) & {
1145
- clearCache: () => void;
1146
- resultsCount: () => number;
1147
- resetResultsCount: () => void;
1148
- };
1149
- lastResult: () => RechartsScale;
1150
- dependencies: [typeof selectBaseAxis, (state: RechartsRootState, axisType: XorYorZType, axisId: AxisId) => string | undefined, ((state: {
1151
- brush: import('../brushSlice').BrushSettings;
1152
- cartesianAxis: {
1153
- xAxis: Record<AxisId, XAxisSettings>;
1154
- yAxis: Record<AxisId, YAxisSettings>;
1155
- zAxis: Record<AxisId, ZAxisSettings>;
1156
- };
1157
- chartData: ChartDataState;
1158
- graphicalItems: import('../graphicalItemsSlice').GraphicalItemsState;
1159
- layout: {
1160
- layoutType: LayoutType;
1161
- width: number;
1162
- height: number;
1163
- margin: import('../../types').Margin;
1164
- scale: number;
1165
- };
1166
- legend: {
1167
- settings: import('../legendSlice').LegendSettings;
1168
- size: Size;
1169
- payload: ReadonlyArray<ReadonlyArray<import('../../components/DefaultLegendContent').LegendPayload>>;
1170
- };
1171
- options: import('../optionsSlice').ChartOptions;
1172
- polarAxis: {
1173
- radiusAxis: Record<AxisId, RadiusAxisSettings>;
1174
- angleAxis: Record<AxisId, AngleAxisSettings>;
1175
- };
1176
- polarOptions: import('../polarOptionsSlice').PolarChartOptions;
1177
- referenceElements: {
1178
- dots: ReadonlyArray<ReferenceDotSettings>;
1179
- areas: ReadonlyArray<ReferenceAreaSettings>;
1180
- lines: ReadonlyArray<ReferenceLineSettings>;
1181
- };
1182
- rootProps: import('../rootPropsSlice').UpdatableChartOptions;
1183
- tooltip: import('../tooltipSlice').TooltipState;
1184
- }, axisType: "xAxis" | "yAxis" | "angleAxis" | "radiusAxis", axisId: AxisId, isPanorama: boolean) => NumberDomain | CategoricalDomain) & {
1185
- clearCache: () => void;
1186
- resultsCount: () => number;
1187
- resetResultsCount: () => void;
1188
- } & {
1189
- resultFunc: (resultFuncArgs_0: BaseCartesianAxis, resultFuncArgs_1: NumberDomain | CategoricalDomain, resultFuncArgs_2: readonly number[], resultFuncArgs_3: any) => NumberDomain | CategoricalDomain;
1190
- memoizedResultFunc: ((resultFuncArgs_0: BaseCartesianAxis, resultFuncArgs_1: NumberDomain | CategoricalDomain, resultFuncArgs_2: readonly number[], resultFuncArgs_3: any) => NumberDomain | CategoricalDomain) & {
1191
- clearCache: () => void;
1192
- resultsCount: () => number;
1193
- resetResultsCount: () => void;
1194
- };
1195
- lastResult: () => NumberDomain | CategoricalDomain;
1196
- dependencies: [typeof selectBaseAxis, (state: RechartsRootState, axisType: XorYorZType, axisId: AxisId, isPanorama: boolean) => NumberDomain | CategoricalDomain | undefined, ((state: {
1197
- brush: import('../brushSlice').BrushSettings;
1198
- cartesianAxis: {
1199
- xAxis: Record<AxisId, XAxisSettings>;
1200
- yAxis: Record<AxisId, YAxisSettings>;
1201
- zAxis: Record<AxisId, ZAxisSettings>;
1202
- };
1203
- chartData: ChartDataState;
1204
- graphicalItems: import('../graphicalItemsSlice').GraphicalItemsState;
1205
- layout: {
1206
- layoutType: LayoutType;
1207
- width: number;
1208
- height: number;
1209
- margin: import('../../types').Margin;
1210
- scale: number;
1211
- };
1212
- legend: {
1213
- settings: import('../legendSlice').LegendSettings;
1214
- size: Size;
1215
- payload: ReadonlyArray<ReadonlyArray<import('../../components/DefaultLegendContent').LegendPayload>>;
1216
- };
1217
- options: import('../optionsSlice').ChartOptions;
1218
- polarAxis: {
1219
- radiusAxis: Record<AxisId, RadiusAxisSettings>;
1220
- angleAxis: Record<AxisId, AngleAxisSettings>;
1221
- };
1222
- polarOptions: import('../polarOptionsSlice').PolarChartOptions;
1223
- referenceElements: {
1224
- dots: ReadonlyArray<ReferenceDotSettings>;
1225
- areas: ReadonlyArray<ReferenceAreaSettings>;
1226
- lines: ReadonlyArray<ReferenceLineSettings>;
1227
- };
1228
- rootProps: import('../rootPropsSlice').UpdatableChartOptions;
1229
- tooltip: import('../tooltipSlice').TooltipState;
1230
- }, axisType: "xAxis" | "yAxis" | "angleAxis" | "radiusAxis", axisId: AxisId, isPanorama: boolean) => readonly number[]) & {
1231
- clearCache: () => void;
1232
- resultsCount: () => number;
1233
- resetResultsCount: () => void;
1234
- } & {
1235
- resultFunc: (resultFuncArgs_0: NumberDomain | CategoricalDomain, resultFuncArgs_1: AxisWithTicksSettings, resultFuncArgs_2: string) => readonly number[];
1236
- memoizedResultFunc: ((resultFuncArgs_0: NumberDomain | CategoricalDomain, resultFuncArgs_1: AxisWithTicksSettings, resultFuncArgs_2: string) => readonly number[]) & {
1237
- clearCache: () => void;
1238
- resultsCount: () => number;
1239
- resetResultsCount: () => void;
1240
- };
1241
- lastResult: () => readonly number[];
1242
- dependencies: [(state: RechartsRootState, axisType: XorYorZType, axisId: AxisId, isPanorama: boolean) => NumberDomain | CategoricalDomain | undefined, typeof selectAxisSettings, (state: RechartsRootState, axisType: XorYorZType, axisId: AxisId) => string | undefined];
1243
- recomputations: () => number;
1244
- resetRecomputations: () => void;
1245
- dependencyRecomputations: () => number;
1246
- resetDependencyRecomputations: () => void;
1247
- } & {
1248
- argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
1249
- memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
1250
- }, <T>(_state: RechartsRootState, axisType: T) => T];
1251
- recomputations: () => number;
1252
- resetRecomputations: () => void;
1253
- dependencyRecomputations: () => number;
1254
- resetDependencyRecomputations: () => void;
1255
- } & {
1256
- argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
1257
- memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
1258
- }, (state: RechartsRootState, axisType: XorYorZType, axisId: AxisId, isPanorama: boolean) => AxisRange | undefined];
1259
- recomputations: () => number;
1260
- resetRecomputations: () => void;
1261
- dependencyRecomputations: () => number;
1262
- resetDependencyRecomputations: () => void;
1263
- } & {
1264
- argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
1265
- memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
1266
- }, (state: RechartsRootState, axisType: XorYorZType, axisId: AxisId, isPanorama: boolean) => ReadonlyArray<unknown> | undefined, ((state: {
1267
- brush: import('../brushSlice').BrushSettings;
1268
- cartesianAxis: {
1269
- xAxis: Record<AxisId, XAxisSettings>;
1270
- yAxis: Record<AxisId, YAxisSettings>;
1271
- zAxis: Record<AxisId, ZAxisSettings>;
1272
- };
1273
- chartData: ChartDataState;
1274
- graphicalItems: import('../graphicalItemsSlice').GraphicalItemsState;
1275
- layout: {
1276
- layoutType: LayoutType;
1277
- width: number;
1278
- height: number;
1279
- margin: import('../../types').Margin;
1280
- scale: number;
1281
- };
1282
- legend: {
1283
- settings: import('../legendSlice').LegendSettings;
1284
- size: Size;
1285
- payload: ReadonlyArray<ReadonlyArray<import('../../components/DefaultLegendContent').LegendPayload>>;
1286
- };
1287
- options: import('../optionsSlice').ChartOptions;
1288
- polarAxis: {
1289
- radiusAxis: Record<AxisId, RadiusAxisSettings>;
1290
- angleAxis: Record<AxisId, AngleAxisSettings>;
1291
- };
1292
- polarOptions: import('../polarOptionsSlice').PolarChartOptions;
1293
- referenceElements: {
1294
- dots: ReadonlyArray<ReferenceDotSettings>;
1295
- areas: ReadonlyArray<ReferenceAreaSettings>;
1296
- lines: ReadonlyArray<ReferenceLineSettings>;
1297
- };
1298
- rootProps: import('../rootPropsSlice').UpdatableChartOptions;
1299
- tooltip: import('../tooltipSlice').TooltipState;
1300
- }, axisType: "xAxis" | "yAxis" | "angleAxis" | "radiusAxis", axisId: AxisId, isPanorama: boolean) => readonly unknown[]) & {
1301
- clearCache: () => void;
1302
- resultsCount: () => number;
1303
- resetResultsCount: () => void;
1304
- } & {
1305
- resultFunc: (resultFuncArgs_0: LayoutType, resultFuncArgs_1: AppliedChartData, resultFuncArgs_2: AxisWithTicksSettings, resultFuncArgs_3: any) => readonly unknown[];
1306
- memoizedResultFunc: ((resultFuncArgs_0: LayoutType, resultFuncArgs_1: AppliedChartData, resultFuncArgs_2: AxisWithTicksSettings, resultFuncArgs_3: any) => readonly unknown[]) & {
1307
- clearCache: () => void;
1308
- resultsCount: () => number;
1309
- resetResultsCount: () => void;
1310
- };
1311
- lastResult: () => readonly unknown[];
1312
- dependencies: [(state: RechartsRootState) => LayoutType, (state: RechartsRootState, axisType: XorYorZType, axisId: AxisId, isPanorama: boolean) => AppliedChartData, typeof selectAxisSettings, <T>(_state: RechartsRootState, axisType: T) => T];
1313
- recomputations: () => number;
1314
- resetRecomputations: () => void;
1315
- dependencyRecomputations: () => number;
1316
- resetDependencyRecomputations: () => void;
1317
- } & {
1318
- argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
1319
- memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
1320
- }, typeof selectAxisRange, ((state: {
1321
- brush: import('../brushSlice').BrushSettings;
1322
- cartesianAxis: {
1323
- xAxis: Record<AxisId, XAxisSettings>;
1324
- yAxis: Record<AxisId, YAxisSettings>;
1325
- zAxis: Record<AxisId, ZAxisSettings>;
1326
- };
1327
- chartData: ChartDataState;
1328
- graphicalItems: import('../graphicalItemsSlice').GraphicalItemsState;
1329
- layout: {
1330
- layoutType: LayoutType;
1331
- width: number;
1332
- height: number;
1333
- margin: import('../../types').Margin;
1334
- scale: number;
1335
- };
1336
- legend: {
1337
- settings: import('../legendSlice').LegendSettings;
1338
- size: Size;
1339
- payload: ReadonlyArray<ReadonlyArray<import('../../components/DefaultLegendContent').LegendPayload>>;
1340
- };
1341
- options: import('../optionsSlice').ChartOptions;
1342
- polarAxis: {
1343
- radiusAxis: Record<AxisId, RadiusAxisSettings>;
1344
- angleAxis: Record<AxisId, AngleAxisSettings>;
1345
- };
1346
- polarOptions: import('../polarOptionsSlice').PolarChartOptions;
1347
- referenceElements: {
1348
- dots: ReadonlyArray<ReferenceDotSettings>;
1349
- areas: ReadonlyArray<ReferenceAreaSettings>;
1350
- lines: ReadonlyArray<ReferenceLineSettings>;
1351
- };
1352
- rootProps: import('../rootPropsSlice').UpdatableChartOptions;
1353
- tooltip: import('../tooltipSlice').TooltipState;
1354
- }, axisType: "xAxis" | "yAxis" | "angleAxis" | "radiusAxis", axisId: AxisId, isPanorama: boolean) => readonly number[]) & {
1355
- clearCache: () => void;
1356
- resultsCount: () => number;
1357
- resetResultsCount: () => void;
1358
- } & {
1359
- resultFunc: (resultFuncArgs_0: NumberDomain | CategoricalDomain, resultFuncArgs_1: AxisWithTicksSettings, resultFuncArgs_2: string) => readonly number[];
1360
- memoizedResultFunc: ((resultFuncArgs_0: NumberDomain | CategoricalDomain, resultFuncArgs_1: AxisWithTicksSettings, resultFuncArgs_2: string) => readonly number[]) & {
1361
- clearCache: () => void;
1362
- resultsCount: () => number;
1363
- resetResultsCount: () => void;
1364
- };
1365
- lastResult: () => readonly number[];
1366
- dependencies: [(state: RechartsRootState, axisType: XorYorZType, axisId: AxisId, isPanorama: boolean) => NumberDomain | CategoricalDomain | undefined, typeof selectAxisSettings, (state: RechartsRootState, axisType: XorYorZType, axisId: AxisId) => string | undefined];
1367
- recomputations: () => number;
1368
- resetRecomputations: () => void;
1369
- dependencyRecomputations: () => number;
1370
- resetDependencyRecomputations: () => void;
1371
- } & {
1372
- argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
1373
- memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
1374
- }, <T>(_state: RechartsRootState, axisType: T) => T];
1375
- recomputations: () => number;
1376
- resetRecomputations: () => void;
1377
- dependencyRecomputations: () => number;
1378
- resetDependencyRecomputations: () => void;
1379
- } & {
1380
- argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
1381
- memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
1382
- };
1383
- export declare function combineAxisTicks(layout: LayoutType, axis: AxisWithTicksSettings, realScaleType: string | undefined, scale: RechartsScale | undefined, niceTicks: ReadonlyArray<number> | undefined, axisRange: AxisRange | undefined, duplicateDomain: ReadonlyArray<unknown> | undefined, categoricalDomain: ReadonlyArray<unknown> | undefined, axisType: XorYType): ReadonlyArray<TickItem> | undefined;
1384
- export declare const selectTicksOfAxis: ((state: {
1385
- brush: import('../brushSlice').BrushSettings;
1386
- cartesianAxis: {
1387
- xAxis: Record<AxisId, XAxisSettings>;
1388
- yAxis: Record<AxisId, YAxisSettings>;
1389
- zAxis: Record<AxisId, ZAxisSettings>;
1390
- };
1391
- chartData: ChartDataState;
1392
- graphicalItems: import('../graphicalItemsSlice').GraphicalItemsState;
1393
- layout: {
1394
- layoutType: LayoutType;
1395
- width: number;
1396
- height: number;
1397
- margin: import('../../types').Margin;
1398
- scale: number;
1399
- };
1400
- legend: {
1401
- settings: import('../legendSlice').LegendSettings;
1402
- size: Size;
1403
- payload: ReadonlyArray<ReadonlyArray<import('../../components/DefaultLegendContent').LegendPayload>>;
1404
- };
1405
- options: import('../optionsSlice').ChartOptions;
1406
- polarAxis: {
1407
- radiusAxis: Record<AxisId, RadiusAxisSettings>;
1408
- angleAxis: Record<AxisId, AngleAxisSettings>;
1409
- };
1410
- polarOptions: import('../polarOptionsSlice').PolarChartOptions;
1411
- referenceElements: {
1412
- dots: ReadonlyArray<ReferenceDotSettings>;
1413
- areas: ReadonlyArray<ReferenceAreaSettings>;
1414
- lines: ReadonlyArray<ReferenceLineSettings>;
1415
- };
1416
- rootProps: import('../rootPropsSlice').UpdatableChartOptions;
1417
- tooltip: import('../tooltipSlice').TooltipState;
1418
- }, axisType: "xAxis" | "yAxis" | "angleAxis" | "radiusAxis", axisId: AxisId, isPanorama: boolean) => readonly TickItem[]) & {
1419
- clearCache: () => void;
1420
- resultsCount: () => number;
1421
- resetResultsCount: () => void;
1422
- } & {
1423
- resultFunc: (resultFuncArgs_0: LayoutType, resultFuncArgs_1: AxisWithTicksSettings, resultFuncArgs_2: string, resultFuncArgs_3: RechartsScale, resultFuncArgs_4: readonly number[], resultFuncArgs_5: AxisRange, resultFuncArgs_6: readonly unknown[], resultFuncArgs_7: readonly unknown[], resultFuncArgs_8: any) => readonly TickItem[];
1424
- memoizedResultFunc: ((resultFuncArgs_0: LayoutType, resultFuncArgs_1: AxisWithTicksSettings, resultFuncArgs_2: string, resultFuncArgs_3: RechartsScale, resultFuncArgs_4: readonly number[], resultFuncArgs_5: AxisRange, resultFuncArgs_6: readonly unknown[], resultFuncArgs_7: readonly unknown[], resultFuncArgs_8: any) => readonly TickItem[]) & {
1425
- clearCache: () => void;
1426
- resultsCount: () => number;
1427
- resetResultsCount: () => void;
1428
- };
1429
- lastResult: () => readonly TickItem[];
1430
- dependencies: [(state: RechartsRootState) => LayoutType, typeof selectAxisSettings, (state: RechartsRootState, axisType: XorYorZType, axisId: AxisId) => string | undefined, ((state: {
1431
- brush: import('../brushSlice').BrushSettings;
1432
- cartesianAxis: {
1433
- xAxis: Record<AxisId, XAxisSettings>;
1434
- yAxis: Record<AxisId, YAxisSettings>;
1435
- zAxis: Record<AxisId, ZAxisSettings>;
1436
- };
1437
- chartData: ChartDataState;
1438
- graphicalItems: import('../graphicalItemsSlice').GraphicalItemsState;
1439
- layout: {
1440
- layoutType: LayoutType;
1441
- width: number;
1442
- height: number;
1443
- margin: import('../../types').Margin;
1444
- scale: number;
1445
- };
1446
- legend: {
1447
- settings: import('../legendSlice').LegendSettings;
1448
- size: Size;
1449
- payload: ReadonlyArray<ReadonlyArray<import('../../components/DefaultLegendContent').LegendPayload>>;
1450
- };
1451
- options: import('../optionsSlice').ChartOptions;
1452
- polarAxis: {
1453
- radiusAxis: Record<AxisId, RadiusAxisSettings>;
1454
- angleAxis: Record<AxisId, AngleAxisSettings>;
1455
- };
1456
- polarOptions: import('../polarOptionsSlice').PolarChartOptions;
1457
- referenceElements: {
1458
- dots: ReadonlyArray<ReferenceDotSettings>;
1459
- areas: ReadonlyArray<ReferenceAreaSettings>;
1460
- lines: ReadonlyArray<ReferenceLineSettings>;
1461
- };
1462
- rootProps: import('../rootPropsSlice').UpdatableChartOptions;
1463
- tooltip: import('../tooltipSlice').TooltipState;
1464
- }, axisType: "xAxis" | "yAxis" | "angleAxis" | "radiusAxis", axisId: AxisId, isPanorama: boolean) => RechartsScale) & {
1465
- clearCache: () => void;
1466
- resultsCount: () => number;
1467
- resetResultsCount: () => void;
1468
- } & {
1469
- resultFunc: (resultFuncArgs_0: BaseCartesianAxis, resultFuncArgs_1: string, resultFuncArgs_2: NumberDomain | CategoricalDomain, resultFuncArgs_3: AxisRange) => RechartsScale;
1470
- memoizedResultFunc: ((resultFuncArgs_0: BaseCartesianAxis, resultFuncArgs_1: string, resultFuncArgs_2: NumberDomain | CategoricalDomain, resultFuncArgs_3: AxisRange) => RechartsScale) & {
1471
- clearCache: () => void;
1472
- resultsCount: () => number;
1473
- resetResultsCount: () => void;
1474
- };
1475
- lastResult: () => RechartsScale;
1476
- dependencies: [typeof selectBaseAxis, (state: RechartsRootState, axisType: XorYorZType, axisId: AxisId) => string | undefined, ((state: {
1477
- brush: import('../brushSlice').BrushSettings;
1478
- cartesianAxis: {
1479
- xAxis: Record<AxisId, XAxisSettings>;
1480
- yAxis: Record<AxisId, YAxisSettings>;
1481
- zAxis: Record<AxisId, ZAxisSettings>;
1482
- };
1483
- chartData: ChartDataState;
1484
- graphicalItems: import('../graphicalItemsSlice').GraphicalItemsState;
1485
- layout: {
1486
- layoutType: LayoutType;
1487
- width: number;
1488
- height: number;
1489
- margin: import('../../types').Margin;
1490
- scale: number;
1491
- };
1492
- legend: {
1493
- settings: import('../legendSlice').LegendSettings;
1494
- size: Size;
1495
- payload: ReadonlyArray<ReadonlyArray<import('../../components/DefaultLegendContent').LegendPayload>>;
1496
- };
1497
- options: import('../optionsSlice').ChartOptions;
1498
- polarAxis: {
1499
- radiusAxis: Record<AxisId, RadiusAxisSettings>;
1500
- angleAxis: Record<AxisId, AngleAxisSettings>;
1501
- };
1502
- polarOptions: import('../polarOptionsSlice').PolarChartOptions;
1503
- referenceElements: {
1504
- dots: ReadonlyArray<ReferenceDotSettings>;
1505
- areas: ReadonlyArray<ReferenceAreaSettings>;
1506
- lines: ReadonlyArray<ReferenceLineSettings>;
1507
- };
1508
- rootProps: import('../rootPropsSlice').UpdatableChartOptions;
1509
- tooltip: import('../tooltipSlice').TooltipState;
1510
- }, axisType: "xAxis" | "yAxis" | "angleAxis" | "radiusAxis", axisId: AxisId, isPanorama: boolean) => NumberDomain | CategoricalDomain) & {
1511
- clearCache: () => void;
1512
- resultsCount: () => number;
1513
- resetResultsCount: () => void;
1514
- } & {
1515
- resultFunc: (resultFuncArgs_0: BaseCartesianAxis, resultFuncArgs_1: NumberDomain | CategoricalDomain, resultFuncArgs_2: readonly number[], resultFuncArgs_3: any) => NumberDomain | CategoricalDomain;
1516
- memoizedResultFunc: ((resultFuncArgs_0: BaseCartesianAxis, resultFuncArgs_1: NumberDomain | CategoricalDomain, resultFuncArgs_2: readonly number[], resultFuncArgs_3: any) => NumberDomain | CategoricalDomain) & {
1517
- clearCache: () => void;
1518
- resultsCount: () => number;
1519
- resetResultsCount: () => void;
1520
- };
1521
- lastResult: () => NumberDomain | CategoricalDomain;
1522
- dependencies: [typeof selectBaseAxis, (state: RechartsRootState, axisType: XorYorZType, axisId: AxisId, isPanorama: boolean) => NumberDomain | CategoricalDomain | undefined, ((state: {
1523
- brush: import('../brushSlice').BrushSettings;
1524
- cartesianAxis: {
1525
- xAxis: Record<AxisId, XAxisSettings>;
1526
- yAxis: Record<AxisId, YAxisSettings>;
1527
- zAxis: Record<AxisId, ZAxisSettings>;
1528
- };
1529
- chartData: ChartDataState;
1530
- graphicalItems: import('../graphicalItemsSlice').GraphicalItemsState;
1531
- layout: {
1532
- layoutType: LayoutType;
1533
- width: number;
1534
- height: number;
1535
- margin: import('../../types').Margin;
1536
- scale: number;
1537
- };
1538
- legend: {
1539
- settings: import('../legendSlice').LegendSettings;
1540
- size: Size;
1541
- payload: ReadonlyArray<ReadonlyArray<import('../../components/DefaultLegendContent').LegendPayload>>;
1542
- };
1543
- options: import('../optionsSlice').ChartOptions;
1544
- polarAxis: {
1545
- radiusAxis: Record<AxisId, RadiusAxisSettings>;
1546
- angleAxis: Record<AxisId, AngleAxisSettings>;
1547
- };
1548
- polarOptions: import('../polarOptionsSlice').PolarChartOptions;
1549
- referenceElements: {
1550
- dots: ReadonlyArray<ReferenceDotSettings>;
1551
- areas: ReadonlyArray<ReferenceAreaSettings>;
1552
- lines: ReadonlyArray<ReferenceLineSettings>;
1553
- };
1554
- rootProps: import('../rootPropsSlice').UpdatableChartOptions;
1555
- tooltip: import('../tooltipSlice').TooltipState;
1556
- }, axisType: "xAxis" | "yAxis" | "angleAxis" | "radiusAxis", axisId: AxisId, isPanorama: boolean) => readonly number[]) & {
1557
- clearCache: () => void;
1558
- resultsCount: () => number;
1559
- resetResultsCount: () => void;
1560
- } & {
1561
- resultFunc: (resultFuncArgs_0: NumberDomain | CategoricalDomain, resultFuncArgs_1: AxisWithTicksSettings, resultFuncArgs_2: string) => readonly number[];
1562
- memoizedResultFunc: ((resultFuncArgs_0: NumberDomain | CategoricalDomain, resultFuncArgs_1: AxisWithTicksSettings, resultFuncArgs_2: string) => readonly number[]) & {
1563
- clearCache: () => void;
1564
- resultsCount: () => number;
1565
- resetResultsCount: () => void;
1566
- };
1567
- lastResult: () => readonly number[];
1568
- dependencies: [(state: RechartsRootState, axisType: XorYorZType, axisId: AxisId, isPanorama: boolean) => NumberDomain | CategoricalDomain | undefined, typeof selectAxisSettings, (state: RechartsRootState, axisType: XorYorZType, axisId: AxisId) => string | undefined];
1569
- recomputations: () => number;
1570
- resetRecomputations: () => void;
1571
- dependencyRecomputations: () => number;
1572
- resetDependencyRecomputations: () => void;
1573
- } & {
1574
- argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
1575
- memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
1576
- }, <T>(_state: RechartsRootState, axisType: T) => T];
1577
- recomputations: () => number;
1578
- resetRecomputations: () => void;
1579
- dependencyRecomputations: () => number;
1580
- resetDependencyRecomputations: () => void;
1581
- } & {
1582
- argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
1583
- memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
1584
- }, (state: RechartsRootState, axisType: XorYorZType, axisId: AxisId, isPanorama: boolean) => AxisRange | undefined];
1585
- recomputations: () => number;
1586
- resetRecomputations: () => void;
1587
- dependencyRecomputations: () => number;
1588
- resetDependencyRecomputations: () => void;
1589
- } & {
1590
- argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
1591
- memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
1592
- }, ((state: {
1593
- brush: import('../brushSlice').BrushSettings;
1594
- cartesianAxis: {
1595
- xAxis: Record<AxisId, XAxisSettings>;
1596
- yAxis: Record<AxisId, YAxisSettings>;
1597
- zAxis: Record<AxisId, ZAxisSettings>;
1598
- };
1599
- chartData: ChartDataState;
1600
- graphicalItems: import('../graphicalItemsSlice').GraphicalItemsState;
1601
- layout: {
1602
- layoutType: LayoutType;
1603
- width: number;
1604
- height: number;
1605
- margin: import('../../types').Margin;
1606
- scale: number;
1607
- };
1608
- legend: {
1609
- settings: import('../legendSlice').LegendSettings;
1610
- size: Size;
1611
- payload: ReadonlyArray<ReadonlyArray<import('../../components/DefaultLegendContent').LegendPayload>>;
1612
- };
1613
- options: import('../optionsSlice').ChartOptions;
1614
- polarAxis: {
1615
- radiusAxis: Record<AxisId, RadiusAxisSettings>;
1616
- angleAxis: Record<AxisId, AngleAxisSettings>;
1617
- };
1618
- polarOptions: import('../polarOptionsSlice').PolarChartOptions;
1619
- referenceElements: {
1620
- dots: ReadonlyArray<ReferenceDotSettings>;
1621
- areas: ReadonlyArray<ReferenceAreaSettings>;
1622
- lines: ReadonlyArray<ReferenceLineSettings>;
1623
- };
1624
- rootProps: import('../rootPropsSlice').UpdatableChartOptions;
1625
- tooltip: import('../tooltipSlice').TooltipState;
1626
- }, axisType: "xAxis" | "yAxis" | "angleAxis" | "radiusAxis", axisId: AxisId, isPanorama: boolean) => readonly number[]) & {
1627
- clearCache: () => void;
1628
- resultsCount: () => number;
1629
- resetResultsCount: () => void;
1630
- } & {
1631
- resultFunc: (resultFuncArgs_0: NumberDomain | CategoricalDomain, resultFuncArgs_1: AxisWithTicksSettings, resultFuncArgs_2: string) => readonly number[];
1632
- memoizedResultFunc: ((resultFuncArgs_0: NumberDomain | CategoricalDomain, resultFuncArgs_1: AxisWithTicksSettings, resultFuncArgs_2: string) => readonly number[]) & {
1633
- clearCache: () => void;
1634
- resultsCount: () => number;
1635
- resetResultsCount: () => void;
1636
- };
1637
- lastResult: () => readonly number[];
1638
- dependencies: [(state: RechartsRootState, axisType: XorYorZType, axisId: AxisId, isPanorama: boolean) => NumberDomain | CategoricalDomain | undefined, typeof selectAxisSettings, (state: RechartsRootState, axisType: XorYorZType, axisId: AxisId) => string | undefined];
1639
- recomputations: () => number;
1640
- resetRecomputations: () => void;
1641
- dependencyRecomputations: () => number;
1642
- resetDependencyRecomputations: () => void;
1643
- } & {
1644
- argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
1645
- memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
1646
- }, typeof selectAxisRange, (state: RechartsRootState, axisType: XorYorZType, axisId: AxisId, isPanorama: boolean) => ReadonlyArray<unknown> | undefined, ((state: {
1647
- brush: import('../brushSlice').BrushSettings;
1648
- cartesianAxis: {
1649
- xAxis: Record<AxisId, XAxisSettings>;
1650
- yAxis: Record<AxisId, YAxisSettings>;
1651
- zAxis: Record<AxisId, ZAxisSettings>;
1652
- };
1653
- chartData: ChartDataState;
1654
- graphicalItems: import('../graphicalItemsSlice').GraphicalItemsState;
1655
- layout: {
1656
- layoutType: LayoutType;
1657
- width: number;
1658
- height: number;
1659
- margin: import('../../types').Margin;
1660
- scale: number;
1661
- };
1662
- legend: {
1663
- settings: import('../legendSlice').LegendSettings;
1664
- size: Size;
1665
- payload: ReadonlyArray<ReadonlyArray<import('../../components/DefaultLegendContent').LegendPayload>>;
1666
- };
1667
- options: import('../optionsSlice').ChartOptions;
1668
- polarAxis: {
1669
- radiusAxis: Record<AxisId, RadiusAxisSettings>;
1670
- angleAxis: Record<AxisId, AngleAxisSettings>;
1671
- };
1672
- polarOptions: import('../polarOptionsSlice').PolarChartOptions;
1673
- referenceElements: {
1674
- dots: ReadonlyArray<ReferenceDotSettings>;
1675
- areas: ReadonlyArray<ReferenceAreaSettings>;
1676
- lines: ReadonlyArray<ReferenceLineSettings>;
1677
- };
1678
- rootProps: import('../rootPropsSlice').UpdatableChartOptions;
1679
- tooltip: import('../tooltipSlice').TooltipState;
1680
- }, axisType: "xAxis" | "yAxis" | "angleAxis" | "radiusAxis", axisId: AxisId, isPanorama: boolean) => readonly unknown[]) & {
1681
- clearCache: () => void;
1682
- resultsCount: () => number;
1683
- resetResultsCount: () => void;
1684
- } & {
1685
- resultFunc: (resultFuncArgs_0: LayoutType, resultFuncArgs_1: AppliedChartData, resultFuncArgs_2: AxisWithTicksSettings, resultFuncArgs_3: any) => readonly unknown[];
1686
- memoizedResultFunc: ((resultFuncArgs_0: LayoutType, resultFuncArgs_1: AppliedChartData, resultFuncArgs_2: AxisWithTicksSettings, resultFuncArgs_3: any) => readonly unknown[]) & {
1687
- clearCache: () => void;
1688
- resultsCount: () => number;
1689
- resetResultsCount: () => void;
1690
- };
1691
- lastResult: () => readonly unknown[];
1692
- dependencies: [(state: RechartsRootState) => LayoutType, (state: RechartsRootState, axisType: XorYorZType, axisId: AxisId, isPanorama: boolean) => AppliedChartData, typeof selectAxisSettings, <T>(_state: RechartsRootState, axisType: T) => T];
1693
- recomputations: () => number;
1694
- resetRecomputations: () => void;
1695
- dependencyRecomputations: () => number;
1696
- resetDependencyRecomputations: () => void;
1697
- } & {
1698
- argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
1699
- memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
1700
- }, <T>(_state: RechartsRootState, axisType: T) => T];
1701
- recomputations: () => number;
1702
- resetRecomputations: () => void;
1703
- dependencyRecomputations: () => number;
1704
- resetDependencyRecomputations: () => void;
1705
- } & {
1706
- argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
1707
- memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
1708
- };
1709
- export declare const selectAxisInverseTickSnapScale: (state: RechartsRootState, axisType: XorYorZType, axisId: AxisId, isPanorama: boolean) => InverseScaleFunction | undefined;
1710
- export declare function combineGraphicalItemTicks(layout: LayoutType, axis: AxisWithTicksSettings, scale: RechartsScale | undefined, axisRange: AxisRange | undefined, duplicateDomain: ReadonlyArray<unknown> | undefined, categoricalDomain: ReadonlyArray<unknown> | undefined, axisType: XorYType): TickItem[] | null;
1711
- export declare const selectTicksOfGraphicalItem: (state: RechartsRootState, axisType: XorYType, axisId: AxisId, isPanorama: boolean) => TickItem[] | null;
1712
- export type BaseAxisWithScale = BaseCartesianAxis & {
1713
- scale: RechartsScale;
1714
- };
1715
- export declare const selectAxisWithScale: (state: RechartsRootState, axisType: XorYorZType, axisId: AxisId, isPanorama: boolean) => BaseAxisWithScale | undefined;
1716
- export type ZAxisWithScale = ZAxisSettings & {
1717
- scale: RechartsScale;
1718
- };
1719
- export declare const selectZAxisWithScale: ((state: {
1720
- brush: import('../brushSlice').BrushSettings;
1721
- cartesianAxis: {
1722
- xAxis: Record<AxisId, XAxisSettings>;
1723
- yAxis: Record<AxisId, YAxisSettings>;
1724
- zAxis: Record<AxisId, ZAxisSettings>;
1725
- };
1726
- chartData: ChartDataState;
1727
- graphicalItems: import('../graphicalItemsSlice').GraphicalItemsState;
1728
- layout: {
1729
- layoutType: LayoutType;
1730
- width: number;
1731
- height: number;
1732
- margin: import('../../types').Margin;
1733
- scale: number;
1734
- };
1735
- legend: {
1736
- settings: import('../legendSlice').LegendSettings;
1737
- size: Size;
1738
- payload: ReadonlyArray<ReadonlyArray<import('../../components/DefaultLegendContent').LegendPayload>>;
1739
- };
1740
- options: import('../optionsSlice').ChartOptions;
1741
- polarAxis: {
1742
- radiusAxis: Record<AxisId, RadiusAxisSettings>;
1743
- angleAxis: Record<AxisId, AngleAxisSettings>;
1744
- };
1745
- polarOptions: import('../polarOptionsSlice').PolarChartOptions;
1746
- referenceElements: {
1747
- dots: ReadonlyArray<ReferenceDotSettings>;
1748
- areas: ReadonlyArray<ReferenceAreaSettings>;
1749
- lines: ReadonlyArray<ReferenceLineSettings>;
1750
- };
1751
- rootProps: import('../rootPropsSlice').UpdatableChartOptions;
1752
- tooltip: import('../tooltipSlice').TooltipState;
1753
- }, axisType: "zAxis", axisId: AxisId, isPanorama: boolean) => ZAxisWithScale) & {
1754
- clearCache: () => void;
1755
- resultsCount: () => number;
1756
- resetResultsCount: () => void;
1757
- } & {
1758
- resultFunc: (resultFuncArgs_0: ZAxisSettings, resultFuncArgs_1: RechartsScale) => ZAxisWithScale;
1759
- memoizedResultFunc: ((resultFuncArgs_0: ZAxisSettings, resultFuncArgs_1: RechartsScale) => ZAxisWithScale) & {
1760
- clearCache: () => void;
1761
- resultsCount: () => number;
1762
- resetResultsCount: () => void;
1763
- };
1764
- lastResult: () => ZAxisWithScale;
1765
- dependencies: [(state: RechartsRootState, _axisType: "zAxis", axisId: AxisId) => ZAxisSettings, ((state: {
1766
- brush: import('../brushSlice').BrushSettings;
1767
- cartesianAxis: {
1768
- xAxis: Record<AxisId, XAxisSettings>;
1769
- yAxis: Record<AxisId, YAxisSettings>;
1770
- zAxis: Record<AxisId, ZAxisSettings>;
1771
- };
1772
- chartData: ChartDataState;
1773
- graphicalItems: import('../graphicalItemsSlice').GraphicalItemsState;
1774
- layout: {
1775
- layoutType: LayoutType;
1776
- width: number;
1777
- height: number;
1778
- margin: import('../../types').Margin;
1779
- scale: number;
1780
- };
1781
- legend: {
1782
- settings: import('../legendSlice').LegendSettings;
1783
- size: Size;
1784
- payload: ReadonlyArray<ReadonlyArray<import('../../components/DefaultLegendContent').LegendPayload>>;
1785
- };
1786
- options: import('../optionsSlice').ChartOptions;
1787
- polarAxis: {
1788
- radiusAxis: Record<AxisId, RadiusAxisSettings>;
1789
- angleAxis: Record<AxisId, AngleAxisSettings>;
1790
- };
1791
- polarOptions: import('../polarOptionsSlice').PolarChartOptions;
1792
- referenceElements: {
1793
- dots: ReadonlyArray<ReferenceDotSettings>;
1794
- areas: ReadonlyArray<ReferenceAreaSettings>;
1795
- lines: ReadonlyArray<ReferenceLineSettings>;
1796
- };
1797
- rootProps: import('../rootPropsSlice').UpdatableChartOptions;
1798
- tooltip: import('../tooltipSlice').TooltipState;
1799
- }, axisType: XorYorZType, axisId: AxisId, isPanorama: boolean) => RechartsScale) & {
1800
- clearCache: () => void;
1801
- resultsCount: () => number;
1802
- resetResultsCount: () => void;
1803
- } & {
1804
- resultFunc: (resultFuncArgs_0: BaseCartesianAxis, resultFuncArgs_1: string, resultFuncArgs_2: NumberDomain | CategoricalDomain, resultFuncArgs_3: AxisRange) => RechartsScale;
1805
- memoizedResultFunc: ((resultFuncArgs_0: BaseCartesianAxis, resultFuncArgs_1: string, resultFuncArgs_2: NumberDomain | CategoricalDomain, resultFuncArgs_3: AxisRange) => RechartsScale) & {
1806
- clearCache: () => void;
1807
- resultsCount: () => number;
1808
- resetResultsCount: () => void;
1809
- };
1810
- lastResult: () => RechartsScale;
1811
- dependencies: [typeof selectBaseAxis, (state: RechartsRootState, axisType: XorYorZType, axisId: AxisId) => string | undefined, (state: RechartsRootState, axisType: XorYorZType, axisId: AxisId, isPanorama: boolean) => NumberDomain | CategoricalDomain | undefined, (state: RechartsRootState, axisType: XorYorZType, axisId: AxisId, isPanorama: boolean) => AxisRange | undefined];
1812
- recomputations: () => number;
1813
- resetRecomputations: () => void;
1814
- dependencyRecomputations: () => number;
1815
- resetDependencyRecomputations: () => void;
1816
- } & {
1817
- argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
1818
- memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
1819
- }];
1820
- recomputations: () => number;
1821
- resetRecomputations: () => void;
1822
- dependencyRecomputations: () => number;
1823
- resetDependencyRecomputations: () => void;
1824
- } & {
1825
- argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
1826
- memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
1827
- };
1828
- /**
1829
- * We are also going to need to implement polar chart directions if we want to support keyboard controls for those.
1830
- */
1831
- export type AxisDirection = 'left-to-right' | 'right-to-left' | 'top-to-bottom' | 'bottom-to-top';
1832
- export declare const selectChartDirection: (state: RechartsRootState) => AxisDirection | undefined;
1833
- export {};