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