vccs 0.0.1 → 0.1.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/index.d.ts +0 -0
- package/dist/cartesian/funnel/type.d.ts +37 -0
- package/dist/cartesian/funnel/utils.d.ts +12 -0
- package/dist/cartesian/index.d.ts +11 -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/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 +8 -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 +63 -0
- package/dist/es/cartesian/GraphicalItemClipPath.mjs +36 -0
- package/dist/es/cartesian/area/ActivePoints.mjs +74 -0
- package/dist/es/cartesian/area/Area.mjs +41 -0
- package/dist/es/cartesian/area/ClipRect.mjs +104 -0
- package/dist/es/cartesian/area/RenderArea.mjs +151 -0
- package/dist/es/cartesian/area/hooks/useArea.mjs +57 -0
- package/dist/es/cartesian/area/type.mjs +136 -0
- package/dist/es/cartesian/area/utils.mjs +59 -0
- package/dist/es/cartesian/axis/XAxis.mjs +189 -0
- package/dist/es/cartesian/axis/YAxis.mjs +181 -0
- package/dist/es/cartesian/bar/Bar.mjs +89 -0
- package/dist/es/cartesian/bar/components/BarBackground.mjs +29 -0
- package/dist/es/cartesian/bar/components/BarRectangles.mjs +106 -0
- package/dist/es/cartesian/bar/hooks/useBar.mjs +41 -0
- package/dist/es/cartesian/bar/type.mjs +131 -0
- package/dist/es/cartesian/bar/utils.mjs +84 -0
- package/dist/es/cartesian/cartesian-axis/CartesianAxis.mjs +246 -0
- package/dist/es/cartesian/cartesian-grid/Background.mjs +30 -0
- package/dist/es/cartesian/cartesian-grid/CartesianGrid.mjs +155 -0
- package/dist/es/cartesian/cartesian-grid/HorizontalGridLines.mjs +49 -0
- package/dist/es/cartesian/cartesian-grid/HorizontalStripes.mjs +43 -0
- package/dist/es/cartesian/cartesian-grid/VerticalGridLines.mjs +44 -0
- package/dist/es/cartesian/cartesian-grid/VerticalStripes.mjs +43 -0
- package/dist/es/cartesian/cartesian-grid/const.mjs +29 -0
- package/dist/es/cartesian/cartesian-grid/utils.mjs +17 -0
- package/dist/es/cartesian/error-bar/ErrorBar.mjs +115 -0
- package/dist/es/cartesian/error-bar/ErrorBarContext.mjs +19 -0
- package/dist/es/cartesian/line/ActivePoints.mjs +75 -0
- package/dist/es/cartesian/line/Line.mjs +46 -0
- package/dist/es/cartesian/line/StaticLine.mjs +148 -0
- package/dist/es/cartesian/line/hooks/useLine.mjs +53 -0
- package/dist/es/cartesian/line/type.mjs +112 -0
- package/dist/es/cartesian/line/utils.mjs +33 -0
- package/dist/es/cartesian/reference-area/ReferenceArea.mjs +146 -0
- package/dist/es/cartesian/reference-line/ReferenceLine.mjs +143 -0
- package/dist/es/cartesian/scatter/Scatter.mjs +252 -0
- package/dist/es/cartesian/scatter/hooks/useScatter.mjs +19 -0
- package/dist/es/cartesian/useNeedsClip.mjs +14 -0
- package/dist/es/cartesian/utils/get-ticks.mjs +83 -0
- package/dist/es/cartesian/z-axis/ZAxis.mjs +70 -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/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 +137 -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 +66 -0
- package/dist/es/chart/TooltipPortalContext.mjs +5 -0
- package/dist/es/chart/const.mjs +7 -0
- package/dist/es/chart/generateCategoricalChart.mjs +166 -0
- package/dist/es/chart/provideClipPathId.mjs +10 -0
- package/dist/es/components/Cell.mjs +11 -0
- package/dist/es/components/Text.mjs +5 -0
- package/dist/es/components/Text.vue_vue_type_script_setup_true_lang.mjs +154 -0
- package/dist/es/components/Tooltip.mjs +388 -0
- package/dist/es/components/label/Label.mjs +36 -0
- package/dist/es/components/label/LabelList.mjs +49 -0
- package/dist/es/components/label/types.mjs +35 -0
- package/dist/es/components/label/utils.mjs +233 -0
- package/dist/es/components/legend/Legend.mjs +82 -0
- package/dist/es/components/legend/LegendSymbol.mjs +60 -0
- package/dist/es/components/legend/hooks/useLegend.mjs +52 -0
- package/dist/es/components/legend/hooks/useLegendContent.mjs +47 -0
- package/dist/es/components/legend/type.mjs +41 -0
- package/dist/es/components/legend/utils.mjs +17 -0
- package/dist/es/components/utils.mjs +31 -0
- package/dist/es/container/ClipPath.mjs +25 -0
- package/dist/es/container/Layer.mjs +12 -0
- package/dist/es/container/ResponsiveContainer.mjs +5 -0
- package/dist/es/container/ResponsiveContainer.vue_vue_type_script_setup_true_lang.mjs +112 -0
- package/dist/es/container/Surface.mjs +58 -0
- package/dist/es/container/useSizeContext.mjs +5 -0
- package/dist/es/context/ChartDataContextProvider.mjs +21 -0
- package/dist/es/context/PanoramaContextProvider.mjs +19 -0
- package/dist/es/context/accessibilityContext.mjs +5 -0
- package/dist/es/context/cartesianLabelListContext.mjs +5 -0
- package/dist/es/context/chartLayoutContext.mjs +46 -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 +15 -0
- package/dist/es/events/useChartSynchronisation.mjs +88 -0
- package/dist/es/hooks/useSetupGraphicalItem.mjs +57 -0
- package/dist/es/index.mjs +42 -0
- package/dist/es/polar/pie/Pie.mjs +145 -0
- package/dist/es/polar/pie/type.mjs +97 -0
- package/dist/es/polar/radar/PolarAngleAxis.mjs +161 -0
- package/dist/es/polar/radar/PolarGrid.mjs +102 -0
- package/dist/es/polar/radar/PolarRadiusAxis.mjs +137 -0
- package/dist/es/polar/radar/Radar.mjs +248 -0
- package/dist/es/polar/radial-bar/RadialBar.mjs +176 -0
- package/dist/es/polar/radial-bar/type.mjs +97 -0
- package/dist/es/shape/Cross.mjs +15 -0
- package/dist/es/shape/Curve.mjs +60 -0
- package/dist/es/shape/Dot.mjs +23 -0
- package/dist/es/shape/Rectangle.mjs +68 -0
- package/dist/es/shape/Sector.mjs +128 -0
- package/dist/es/shape/Symbols.mjs +41 -0
- package/dist/es/state/ReportChartProps.mjs +63 -0
- package/dist/es/state/ReportMainChartProps.mjs +41 -0
- package/dist/es/state/ReportPolarOptions.mjs +55 -0
- package/dist/es/state/SetGraphicalItem.mjs +34 -0
- package/dist/es/state/SetLegendPayload.mjs +16 -0
- package/dist/es/state/SetTooltipEntrySettings.mjs +17 -0
- package/dist/es/state/brushSlice.mjs +22 -0
- package/dist/es/state/cartesianAxisSlice.mjs +33 -0
- package/dist/es/state/chartDataSlice.mjs +28 -0
- package/dist/es/state/externalEventsMiddleware.mjs +20 -0
- package/dist/es/state/graphicalItemsSlice.mjs +43 -0
- package/dist/es/state/hooks.mjs +5 -0
- package/dist/es/state/keyboardEventsMiddleware.mjs +55 -0
- package/dist/es/state/layoutSlice.mjs +33 -0
- package/dist/es/state/legendSlice.mjs +35 -0
- package/dist/es/state/mouseEventsMiddleware.mjs +34 -0
- package/dist/es/state/optionsSlice.mjs +22 -0
- package/dist/es/state/polarAxisSlice.mjs +26 -0
- package/dist/es/state/polarOptionsSlice.mjs +11 -0
- package/dist/es/state/reduxDevtoolsJsonStringifyReplacer.mjs +6 -0
- package/dist/es/state/referenceElementsSlice.mjs +34 -0
- package/dist/es/state/rootPropsSlice.mjs +21 -0
- package/dist/es/state/selectors/areaSelectors.mjs +67 -0
- package/dist/es/state/selectors/axisSelectors.mjs +693 -0
- package/dist/es/state/selectors/barSelectors.mjs +178 -0
- package/dist/es/state/selectors/brushSelectors.mjs +17 -0
- package/dist/es/state/selectors/combiners/combineActiveLabel.mjs +8 -0
- package/dist/es/state/selectors/combiners/combineActiveTooltipIndex.mjs +34 -0
- package/dist/es/state/selectors/combiners/combineAxisRangeWithReverse.mjs +6 -0
- package/dist/es/state/selectors/combiners/combineCoordinateForDefaultIndex.mjs +19 -0
- package/dist/es/state/selectors/combiners/combineTooltipInteractionState.mjs +32 -0
- package/dist/es/state/selectors/combiners/combineTooltipPayloadConfigurations.mjs +9 -0
- package/dist/es/state/selectors/common.mjs +4 -0
- package/dist/es/state/selectors/containerSelectors.mjs +4 -0
- package/dist/es/state/selectors/dataSelectors.mjs +16 -0
- package/dist/es/state/selectors/legendSelectors.mjs +9 -0
- package/dist/es/state/selectors/lineSelectors.mjs +57 -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 +97 -0
- package/dist/es/state/selectors/polarAxisSelectors.mjs +148 -0
- package/dist/es/state/selectors/polarGridSelectors.mjs +17 -0
- package/dist/es/state/selectors/polarScaleSelectors.mjs +52 -0
- package/dist/es/state/selectors/polarSelectors.mjs +64 -0
- package/dist/es/state/selectors/radarSelectors.mjs +113 -0
- package/dist/es/state/selectors/radialBarSelectors.mjs +212 -0
- package/dist/es/state/selectors/rootPropsSelectors.mjs +8 -0
- package/dist/es/state/selectors/scatterSelectors.mjs +118 -0
- package/dist/es/state/selectors/selectActivePropsFromChartPointer.mjs +18 -0
- package/dist/es/state/selectors/selectAllAxes.mjs +5 -0
- package/dist/es/state/selectors/selectChartOffset.mjs +60 -0
- package/dist/es/state/selectors/selectChartOffsetInternal.mjs +55 -0
- package/dist/es/state/selectors/selectTooltipEventType.mjs +21 -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 +85 -0
- package/dist/es/state/selectors/tooltipSelectors.mjs +220 -0
- package/dist/es/state/selectors/touchSelectors.mjs +16 -0
- package/dist/es/state/store.mjs +55 -0
- package/dist/es/state/tooltipSlice.mjs +75 -0
- package/dist/es/state/touchEventsMiddleware.mjs +38 -0
- package/dist/es/state/utils/useReportScale.mjs +16 -0
- package/dist/es/synchronisation/syncSelectors.mjs +6 -0
- package/dist/es/synchronisation/useChartSynchronisation.mjs +24 -0
- package/dist/es/types/event.mjs +4 -0
- package/dist/es/utils/ReduceCSSCalc.mjs +82 -0
- package/dist/es/utils/VueUtils.mjs +18 -0
- package/dist/es/utils/attrs.mjs +52 -0
- package/dist/es/utils/cartesian.mjs +22 -0
- package/dist/es/utils/chart.mjs +265 -0
- package/dist/es/utils/const.mjs +4 -0
- package/dist/es/utils/createContext.mjs +12 -0
- package/dist/es/utils/data-utils.mjs +12 -0
- package/dist/es/utils/data.mjs +27 -0
- package/dist/es/utils/events.mjs +5 -0
- package/dist/es/utils/getLinearRegression.mjs +17 -0
- package/dist/es/utils/grid.mjs +8 -0
- package/dist/es/utils/isDomainSpecifiedByUser.mjs +65 -0
- package/dist/es/utils/legend.mjs +18 -0
- package/dist/es/utils/log.mjs +11 -0
- package/dist/es/utils/payload/getUniqPayload.mjs +7 -0
- package/dist/es/utils/polar.mjs +52 -0
- package/dist/es/utils/props.mjs +14 -0
- package/dist/es/utils/resolveDefaultProps.mjs +7 -0
- package/dist/es/utils/scale/getNiceTickValues.mjs +59 -0
- package/dist/es/utils/scale/utils/arithmetic.mjs +24 -0
- package/dist/es/utils/scale/utils/utils.mjs +34 -0
- package/dist/es/utils/style.mjs +19 -0
- package/dist/es/utils/tick.mjs +31 -0
- package/dist/es/utils/tooltip/translate.mjs +59 -0
- package/dist/es/utils/validate.mjs +31 -0
- package/dist/events/useChartSynchronisation.d.ts +8 -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/index.d.ts +8 -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,944 @@
|
|
|
1
|
+
import { Series } from 'victory-vendor/d3-shape';
|
|
2
|
+
import { RechartsRootState } from '../store';
|
|
3
|
+
import { BaseAxisWithScale, StackGroup, selectUnfilteredCartesianItems } from './axisSelectors';
|
|
4
|
+
import { AxisId } from '../cartesianAxisSlice';
|
|
5
|
+
import { ChartData } from '../chartDataSlice';
|
|
6
|
+
import { selectChartDataWithIndexesIfNotInPanorama } from './dataSelectors';
|
|
7
|
+
import { selectBarCategoryGap } from './rootPropsSelectors';
|
|
8
|
+
import { DataKey, LayoutType, TickItem } from '../../types';
|
|
9
|
+
import { MinPointSize, NormalizedStackId } from '../../shape';
|
|
10
|
+
import { StackId } from '../../types/tick';
|
|
11
|
+
import { BarPositionPosition, BarRectangleItem } from '../../types/bar';
|
|
12
|
+
export type BarSettings = {
|
|
13
|
+
barSize: number | string | undefined;
|
|
14
|
+
data: ChartData | undefined;
|
|
15
|
+
dataKey: DataKey<any>;
|
|
16
|
+
maxBarSize: number | undefined;
|
|
17
|
+
minPointSize: MinPointSize;
|
|
18
|
+
stackId: NormalizedStackId | undefined;
|
|
19
|
+
};
|
|
20
|
+
declare function pickIsPanorama(_state: RechartsRootState, _xAxisId: AxisId, _yAxisId: AxisId, isPanorama: boolean): boolean;
|
|
21
|
+
declare function pickBarSettings(_state: RechartsRootState, _xAxisId: AxisId, _yAxisId: AxisId, _isPanorama: boolean, barSettings: BarSettings): BarSettings;
|
|
22
|
+
declare function pickMaxBarSize(_state: RechartsRootState, _xAxisId: AxisId, _yAxisId: AxisId, _isPanorama: boolean, barSettings: BarSettings): number | undefined;
|
|
23
|
+
export declare const selectAllVisibleBars: ((state: {
|
|
24
|
+
brush: import('../brushSlice').BrushSettings;
|
|
25
|
+
cartesianAxis: {
|
|
26
|
+
xAxis: Record<AxisId, import('../cartesianAxisSlice').XAxisSettings>;
|
|
27
|
+
yAxis: Record<AxisId, import('../cartesianAxisSlice').YAxisSettings>;
|
|
28
|
+
zAxis: Record<AxisId, import('../cartesianAxisSlice').ZAxisSettings>;
|
|
29
|
+
};
|
|
30
|
+
chartData: import('../chartDataSlice').ChartDataState;
|
|
31
|
+
graphicalItems: import('../graphicalItemsSlice').GraphicalItemsState;
|
|
32
|
+
layout: {
|
|
33
|
+
layoutType: LayoutType;
|
|
34
|
+
width: number;
|
|
35
|
+
height: number;
|
|
36
|
+
margin: import('../../types').Margin;
|
|
37
|
+
scale: number;
|
|
38
|
+
};
|
|
39
|
+
legend: {
|
|
40
|
+
settings: import('../legendSlice').LegendSettings;
|
|
41
|
+
size: import('../../types').Size;
|
|
42
|
+
payload: ReadonlyArray<ReadonlyArray<import('../../components/DefaultLegendContent').LegendPayload>>;
|
|
43
|
+
};
|
|
44
|
+
options: import('../optionsSlice').ChartOptions;
|
|
45
|
+
polarAxis: {
|
|
46
|
+
radiusAxis: Record<AxisId, import('../polarAxisSlice').RadiusAxisSettings>;
|
|
47
|
+
angleAxis: Record<AxisId, import('../polarAxisSlice').AngleAxisSettings>;
|
|
48
|
+
};
|
|
49
|
+
polarOptions: import('../polarOptionsSlice').PolarChartOptions;
|
|
50
|
+
referenceElements: {
|
|
51
|
+
dots: ReadonlyArray<import('../referenceElementsSlice').ReferenceDotSettings>;
|
|
52
|
+
areas: ReadonlyArray<import('../referenceElementsSlice').ReferenceAreaSettings>;
|
|
53
|
+
lines: ReadonlyArray<import('../referenceElementsSlice').ReferenceLineSettings>;
|
|
54
|
+
};
|
|
55
|
+
rootProps: import('../rootPropsSlice').UpdatableChartOptions;
|
|
56
|
+
tooltip: import('../tooltipSlice').TooltipState;
|
|
57
|
+
}, _xAxisId: AxisId, _yAxisId: AxisId, isPanorama: boolean) => import('../graphicalItemsSlice').CartesianGraphicalItemSettings[]) & {
|
|
58
|
+
clearCache: () => void;
|
|
59
|
+
resultsCount: () => number;
|
|
60
|
+
resetResultsCount: () => void;
|
|
61
|
+
} & {
|
|
62
|
+
resultFunc: (resultFuncArgs_0: LayoutType, resultFuncArgs_1: readonly import('../graphicalItemsSlice').CartesianGraphicalItemSettings[], resultFuncArgs_2: AxisId, resultFuncArgs_3: AxisId, resultFuncArgs_4: boolean) => import('../graphicalItemsSlice').CartesianGraphicalItemSettings[];
|
|
63
|
+
memoizedResultFunc: ((resultFuncArgs_0: LayoutType, resultFuncArgs_1: readonly import('../graphicalItemsSlice').CartesianGraphicalItemSettings[], resultFuncArgs_2: AxisId, resultFuncArgs_3: AxisId, resultFuncArgs_4: boolean) => import('../graphicalItemsSlice').CartesianGraphicalItemSettings[]) & {
|
|
64
|
+
clearCache: () => void;
|
|
65
|
+
resultsCount: () => number;
|
|
66
|
+
resetResultsCount: () => void;
|
|
67
|
+
};
|
|
68
|
+
lastResult: () => import('../graphicalItemsSlice').CartesianGraphicalItemSettings[];
|
|
69
|
+
dependencies: [(state: RechartsRootState) => LayoutType, typeof selectUnfilteredCartesianItems, (_state: RechartsRootState, xAxisId: AxisId) => AxisId, (_state: RechartsRootState, _xAxisId: AxisId, yAxisId: AxisId) => AxisId, typeof pickIsPanorama];
|
|
70
|
+
recomputations: () => number;
|
|
71
|
+
resetRecomputations: () => void;
|
|
72
|
+
dependencyRecomputations: () => number;
|
|
73
|
+
resetDependencyRecomputations: () => void;
|
|
74
|
+
} & {
|
|
75
|
+
argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
76
|
+
memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
77
|
+
};
|
|
78
|
+
type BarCategory = {
|
|
79
|
+
stackId: StackId | undefined;
|
|
80
|
+
/**
|
|
81
|
+
* List of dataKeys of items stacked at this position.
|
|
82
|
+
* All of these Bars are either sharing the same stackId,
|
|
83
|
+
* or this is an array with one Bar because it has no stackId defined.
|
|
84
|
+
*
|
|
85
|
+
* This structure limits us to having one dataKey only once per stack which I think is reasonable.
|
|
86
|
+
* People who want to have the same data twice can duplicate their data to have two distinct dataKeys.
|
|
87
|
+
*/
|
|
88
|
+
dataKeys: ReadonlyArray<DataKey<any>>;
|
|
89
|
+
/**
|
|
90
|
+
* Width (in horizontal chart) or height (in vertical chart) of this stack of items
|
|
91
|
+
*/
|
|
92
|
+
barSize: number;
|
|
93
|
+
};
|
|
94
|
+
export type SizeList = ReadonlyArray<BarCategory>;
|
|
95
|
+
export declare function selectBarCartesianAxisSize(state: RechartsRootState, xAxisId: AxisId, yAxisId: AxisId): number;
|
|
96
|
+
/**
|
|
97
|
+
* Some graphical items allow data stacking. The stacks are optional,
|
|
98
|
+
* so all props here are optional too.
|
|
99
|
+
*/
|
|
100
|
+
export interface MaybeStackedGraphicalItem {
|
|
101
|
+
stackId: StackId | undefined;
|
|
102
|
+
dataKey: DataKey<any> | undefined;
|
|
103
|
+
barSize: number | string | undefined;
|
|
104
|
+
}
|
|
105
|
+
export declare function combineBarSizeList(allBars: ReadonlyArray<MaybeStackedGraphicalItem>, globalSize: string | number | undefined, totalSize?: number): BarCategory[];
|
|
106
|
+
export declare const selectBarSizeList: ((state: {
|
|
107
|
+
brush: import('../brushSlice').BrushSettings;
|
|
108
|
+
cartesianAxis: {
|
|
109
|
+
xAxis: Record<AxisId, import('../cartesianAxisSlice').XAxisSettings>;
|
|
110
|
+
yAxis: Record<AxisId, import('../cartesianAxisSlice').YAxisSettings>;
|
|
111
|
+
zAxis: Record<AxisId, import('../cartesianAxisSlice').ZAxisSettings>;
|
|
112
|
+
};
|
|
113
|
+
chartData: import('../chartDataSlice').ChartDataState;
|
|
114
|
+
graphicalItems: import('../graphicalItemsSlice').GraphicalItemsState;
|
|
115
|
+
layout: {
|
|
116
|
+
layoutType: LayoutType;
|
|
117
|
+
width: number;
|
|
118
|
+
height: number;
|
|
119
|
+
margin: import('../../types').Margin;
|
|
120
|
+
scale: number;
|
|
121
|
+
};
|
|
122
|
+
legend: {
|
|
123
|
+
settings: import('../legendSlice').LegendSettings;
|
|
124
|
+
size: import('../../types').Size;
|
|
125
|
+
payload: ReadonlyArray<ReadonlyArray<import('../../components/DefaultLegendContent').LegendPayload>>;
|
|
126
|
+
};
|
|
127
|
+
options: import('../optionsSlice').ChartOptions;
|
|
128
|
+
polarAxis: {
|
|
129
|
+
radiusAxis: Record<AxisId, import('../polarAxisSlice').RadiusAxisSettings>;
|
|
130
|
+
angleAxis: Record<AxisId, import('../polarAxisSlice').AngleAxisSettings>;
|
|
131
|
+
};
|
|
132
|
+
polarOptions: import('../polarOptionsSlice').PolarChartOptions;
|
|
133
|
+
referenceElements: {
|
|
134
|
+
dots: ReadonlyArray<import('../referenceElementsSlice').ReferenceDotSettings>;
|
|
135
|
+
areas: ReadonlyArray<import('../referenceElementsSlice').ReferenceAreaSettings>;
|
|
136
|
+
lines: ReadonlyArray<import('../referenceElementsSlice').ReferenceLineSettings>;
|
|
137
|
+
};
|
|
138
|
+
rootProps: import('../rootPropsSlice').UpdatableChartOptions;
|
|
139
|
+
tooltip: import('../tooltipSlice').TooltipState;
|
|
140
|
+
}, _xAxisId: AxisId, _yAxisId: AxisId, isPanorama: boolean) => BarCategory[]) & {
|
|
141
|
+
clearCache: () => void;
|
|
142
|
+
resultsCount: () => number;
|
|
143
|
+
resetResultsCount: () => void;
|
|
144
|
+
} & {
|
|
145
|
+
resultFunc: (resultFuncArgs_0: import('../graphicalItemsSlice').CartesianGraphicalItemSettings[], resultFuncArgs_1: string | number, resultFuncArgs_2: number) => BarCategory[];
|
|
146
|
+
memoizedResultFunc: ((resultFuncArgs_0: import('../graphicalItemsSlice').CartesianGraphicalItemSettings[], resultFuncArgs_1: string | number, resultFuncArgs_2: number) => BarCategory[]) & {
|
|
147
|
+
clearCache: () => void;
|
|
148
|
+
resultsCount: () => number;
|
|
149
|
+
resetResultsCount: () => void;
|
|
150
|
+
};
|
|
151
|
+
lastResult: () => BarCategory[];
|
|
152
|
+
dependencies: [((state: {
|
|
153
|
+
brush: import('../brushSlice').BrushSettings;
|
|
154
|
+
cartesianAxis: {
|
|
155
|
+
xAxis: Record<AxisId, import('../cartesianAxisSlice').XAxisSettings>;
|
|
156
|
+
yAxis: Record<AxisId, import('../cartesianAxisSlice').YAxisSettings>;
|
|
157
|
+
zAxis: Record<AxisId, import('../cartesianAxisSlice').ZAxisSettings>;
|
|
158
|
+
};
|
|
159
|
+
chartData: import('../chartDataSlice').ChartDataState;
|
|
160
|
+
graphicalItems: import('../graphicalItemsSlice').GraphicalItemsState;
|
|
161
|
+
layout: {
|
|
162
|
+
layoutType: LayoutType;
|
|
163
|
+
width: number;
|
|
164
|
+
height: number;
|
|
165
|
+
margin: import('../../types').Margin;
|
|
166
|
+
scale: number;
|
|
167
|
+
};
|
|
168
|
+
legend: {
|
|
169
|
+
settings: import('../legendSlice').LegendSettings;
|
|
170
|
+
size: import('../../types').Size;
|
|
171
|
+
payload: ReadonlyArray<ReadonlyArray<import('../../components/DefaultLegendContent').LegendPayload>>;
|
|
172
|
+
};
|
|
173
|
+
options: import('../optionsSlice').ChartOptions;
|
|
174
|
+
polarAxis: {
|
|
175
|
+
radiusAxis: Record<AxisId, import('../polarAxisSlice').RadiusAxisSettings>;
|
|
176
|
+
angleAxis: Record<AxisId, import('../polarAxisSlice').AngleAxisSettings>;
|
|
177
|
+
};
|
|
178
|
+
polarOptions: import('../polarOptionsSlice').PolarChartOptions;
|
|
179
|
+
referenceElements: {
|
|
180
|
+
dots: ReadonlyArray<import('../referenceElementsSlice').ReferenceDotSettings>;
|
|
181
|
+
areas: ReadonlyArray<import('../referenceElementsSlice').ReferenceAreaSettings>;
|
|
182
|
+
lines: ReadonlyArray<import('../referenceElementsSlice').ReferenceLineSettings>;
|
|
183
|
+
};
|
|
184
|
+
rootProps: import('../rootPropsSlice').UpdatableChartOptions;
|
|
185
|
+
tooltip: import('../tooltipSlice').TooltipState;
|
|
186
|
+
}, _xAxisId: AxisId, _yAxisId: AxisId, isPanorama: boolean) => import('../graphicalItemsSlice').CartesianGraphicalItemSettings[]) & {
|
|
187
|
+
clearCache: () => void;
|
|
188
|
+
resultsCount: () => number;
|
|
189
|
+
resetResultsCount: () => void;
|
|
190
|
+
} & {
|
|
191
|
+
resultFunc: (resultFuncArgs_0: LayoutType, resultFuncArgs_1: readonly import('../graphicalItemsSlice').CartesianGraphicalItemSettings[], resultFuncArgs_2: AxisId, resultFuncArgs_3: AxisId, resultFuncArgs_4: boolean) => import('../graphicalItemsSlice').CartesianGraphicalItemSettings[];
|
|
192
|
+
memoizedResultFunc: ((resultFuncArgs_0: LayoutType, resultFuncArgs_1: readonly import('../graphicalItemsSlice').CartesianGraphicalItemSettings[], resultFuncArgs_2: AxisId, resultFuncArgs_3: AxisId, resultFuncArgs_4: boolean) => import('../graphicalItemsSlice').CartesianGraphicalItemSettings[]) & {
|
|
193
|
+
clearCache: () => void;
|
|
194
|
+
resultsCount: () => number;
|
|
195
|
+
resetResultsCount: () => void;
|
|
196
|
+
};
|
|
197
|
+
lastResult: () => import('../graphicalItemsSlice').CartesianGraphicalItemSettings[];
|
|
198
|
+
dependencies: [(state: RechartsRootState) => LayoutType, typeof selectUnfilteredCartesianItems, (_state: RechartsRootState, xAxisId: AxisId) => AxisId, (_state: RechartsRootState, _xAxisId: AxisId, yAxisId: AxisId) => AxisId, typeof pickIsPanorama];
|
|
199
|
+
recomputations: () => number;
|
|
200
|
+
resetRecomputations: () => void;
|
|
201
|
+
dependencyRecomputations: () => number;
|
|
202
|
+
resetDependencyRecomputations: () => void;
|
|
203
|
+
} & {
|
|
204
|
+
argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
205
|
+
memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
206
|
+
}, (state: RechartsRootState) => string | number, typeof selectBarCartesianAxisSize];
|
|
207
|
+
recomputations: () => number;
|
|
208
|
+
resetRecomputations: () => void;
|
|
209
|
+
dependencyRecomputations: () => number;
|
|
210
|
+
resetDependencyRecomputations: () => void;
|
|
211
|
+
} & {
|
|
212
|
+
argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
213
|
+
memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
214
|
+
};
|
|
215
|
+
export declare function selectBarBandSize(state: RechartsRootState, xAxisId: AxisId, yAxisId: AxisId, isPanorama: boolean, barSettings: BarSettings): number;
|
|
216
|
+
declare function selectAxisBandSize(state: RechartsRootState, xAxisId: AxisId, yAxisId: AxisId, isPanorama: boolean): number;
|
|
217
|
+
export type BarWithPosition = {
|
|
218
|
+
stackId: StackId | undefined;
|
|
219
|
+
/**
|
|
220
|
+
* List of dataKeys of items stacked at this position.
|
|
221
|
+
* All of these Bars are either sharing the same stackId,
|
|
222
|
+
* or this is an array with one Bar because it has no stackId defined.
|
|
223
|
+
*
|
|
224
|
+
* This structure limits us to having one dataKey only once per stack which I think is reasonable.
|
|
225
|
+
* People who want to have the same data twice can duplicate their data to have two distinct dataKeys.
|
|
226
|
+
*/
|
|
227
|
+
dataKeys: ReadonlyArray<DataKey<any>>;
|
|
228
|
+
/**
|
|
229
|
+
* Position of this stack in absolute pixels measured from the start of the chart
|
|
230
|
+
*/
|
|
231
|
+
position: BarPositionPosition;
|
|
232
|
+
};
|
|
233
|
+
export declare function combineAllBarPositions(sizeList: SizeList, globalMaxBarSize: number, barGap: string | number, barCategoryGap: string | number, barBandSize: number, bandSize: number | undefined, childMaxBarSize: number | undefined): readonly BarWithPosition[];
|
|
234
|
+
export declare const selectAllBarPositions: ((state: {
|
|
235
|
+
brush: import('../brushSlice').BrushSettings;
|
|
236
|
+
cartesianAxis: {
|
|
237
|
+
xAxis: Record<AxisId, import('../cartesianAxisSlice').XAxisSettings>;
|
|
238
|
+
yAxis: Record<AxisId, import('../cartesianAxisSlice').YAxisSettings>;
|
|
239
|
+
zAxis: Record<AxisId, import('../cartesianAxisSlice').ZAxisSettings>;
|
|
240
|
+
};
|
|
241
|
+
chartData: import('../chartDataSlice').ChartDataState;
|
|
242
|
+
graphicalItems: import('../graphicalItemsSlice').GraphicalItemsState;
|
|
243
|
+
layout: {
|
|
244
|
+
layoutType: LayoutType;
|
|
245
|
+
width: number;
|
|
246
|
+
height: number;
|
|
247
|
+
margin: import('../../types').Margin;
|
|
248
|
+
scale: number;
|
|
249
|
+
};
|
|
250
|
+
legend: {
|
|
251
|
+
settings: import('../legendSlice').LegendSettings;
|
|
252
|
+
size: import('../../types').Size;
|
|
253
|
+
payload: ReadonlyArray<ReadonlyArray<import('../../components/DefaultLegendContent').LegendPayload>>;
|
|
254
|
+
};
|
|
255
|
+
options: import('../optionsSlice').ChartOptions;
|
|
256
|
+
polarAxis: {
|
|
257
|
+
radiusAxis: Record<AxisId, import('../polarAxisSlice').RadiusAxisSettings>;
|
|
258
|
+
angleAxis: Record<AxisId, import('../polarAxisSlice').AngleAxisSettings>;
|
|
259
|
+
};
|
|
260
|
+
polarOptions: import('../polarOptionsSlice').PolarChartOptions;
|
|
261
|
+
referenceElements: {
|
|
262
|
+
dots: ReadonlyArray<import('../referenceElementsSlice').ReferenceDotSettings>;
|
|
263
|
+
areas: ReadonlyArray<import('../referenceElementsSlice').ReferenceAreaSettings>;
|
|
264
|
+
lines: ReadonlyArray<import('../referenceElementsSlice').ReferenceLineSettings>;
|
|
265
|
+
};
|
|
266
|
+
rootProps: import('../rootPropsSlice').UpdatableChartOptions;
|
|
267
|
+
tooltip: import('../tooltipSlice').TooltipState;
|
|
268
|
+
}, xAxisId: AxisId, yAxisId: AxisId, isPanorama: boolean, barSettings: BarSettings) => readonly BarWithPosition[]) & {
|
|
269
|
+
clearCache: () => void;
|
|
270
|
+
resultsCount: () => number;
|
|
271
|
+
resetResultsCount: () => void;
|
|
272
|
+
} & {
|
|
273
|
+
resultFunc: (resultFuncArgs_0: BarCategory[], resultFuncArgs_1: number, resultFuncArgs_2: string | number, resultFuncArgs_3: string | number, resultFuncArgs_4: number, resultFuncArgs_5: number, resultFuncArgs_6: number) => readonly BarWithPosition[];
|
|
274
|
+
memoizedResultFunc: ((resultFuncArgs_0: BarCategory[], resultFuncArgs_1: number, resultFuncArgs_2: string | number, resultFuncArgs_3: string | number, resultFuncArgs_4: number, resultFuncArgs_5: number, resultFuncArgs_6: number) => readonly BarWithPosition[]) & {
|
|
275
|
+
clearCache: () => void;
|
|
276
|
+
resultsCount: () => number;
|
|
277
|
+
resetResultsCount: () => void;
|
|
278
|
+
};
|
|
279
|
+
lastResult: () => readonly BarWithPosition[];
|
|
280
|
+
dependencies: [((state: {
|
|
281
|
+
brush: import('../brushSlice').BrushSettings;
|
|
282
|
+
cartesianAxis: {
|
|
283
|
+
xAxis: Record<AxisId, import('../cartesianAxisSlice').XAxisSettings>;
|
|
284
|
+
yAxis: Record<AxisId, import('../cartesianAxisSlice').YAxisSettings>;
|
|
285
|
+
zAxis: Record<AxisId, import('../cartesianAxisSlice').ZAxisSettings>;
|
|
286
|
+
};
|
|
287
|
+
chartData: import('../chartDataSlice').ChartDataState;
|
|
288
|
+
graphicalItems: import('../graphicalItemsSlice').GraphicalItemsState;
|
|
289
|
+
layout: {
|
|
290
|
+
layoutType: LayoutType;
|
|
291
|
+
width: number;
|
|
292
|
+
height: number;
|
|
293
|
+
margin: import('../../types').Margin;
|
|
294
|
+
scale: number;
|
|
295
|
+
};
|
|
296
|
+
legend: {
|
|
297
|
+
settings: import('../legendSlice').LegendSettings;
|
|
298
|
+
size: import('../../types').Size;
|
|
299
|
+
payload: ReadonlyArray<ReadonlyArray<import('../../components/DefaultLegendContent').LegendPayload>>;
|
|
300
|
+
};
|
|
301
|
+
options: import('../optionsSlice').ChartOptions;
|
|
302
|
+
polarAxis: {
|
|
303
|
+
radiusAxis: Record<AxisId, import('../polarAxisSlice').RadiusAxisSettings>;
|
|
304
|
+
angleAxis: Record<AxisId, import('../polarAxisSlice').AngleAxisSettings>;
|
|
305
|
+
};
|
|
306
|
+
polarOptions: import('../polarOptionsSlice').PolarChartOptions;
|
|
307
|
+
referenceElements: {
|
|
308
|
+
dots: ReadonlyArray<import('../referenceElementsSlice').ReferenceDotSettings>;
|
|
309
|
+
areas: ReadonlyArray<import('../referenceElementsSlice').ReferenceAreaSettings>;
|
|
310
|
+
lines: ReadonlyArray<import('../referenceElementsSlice').ReferenceLineSettings>;
|
|
311
|
+
};
|
|
312
|
+
rootProps: import('../rootPropsSlice').UpdatableChartOptions;
|
|
313
|
+
tooltip: import('../tooltipSlice').TooltipState;
|
|
314
|
+
}, _xAxisId: AxisId, _yAxisId: AxisId, isPanorama: boolean) => BarCategory[]) & {
|
|
315
|
+
clearCache: () => void;
|
|
316
|
+
resultsCount: () => number;
|
|
317
|
+
resetResultsCount: () => void;
|
|
318
|
+
} & {
|
|
319
|
+
resultFunc: (resultFuncArgs_0: import('../graphicalItemsSlice').CartesianGraphicalItemSettings[], resultFuncArgs_1: string | number, resultFuncArgs_2: number) => BarCategory[];
|
|
320
|
+
memoizedResultFunc: ((resultFuncArgs_0: import('../graphicalItemsSlice').CartesianGraphicalItemSettings[], resultFuncArgs_1: string | number, resultFuncArgs_2: number) => BarCategory[]) & {
|
|
321
|
+
clearCache: () => void;
|
|
322
|
+
resultsCount: () => number;
|
|
323
|
+
resetResultsCount: () => void;
|
|
324
|
+
};
|
|
325
|
+
lastResult: () => BarCategory[];
|
|
326
|
+
dependencies: [((state: {
|
|
327
|
+
brush: import('../brushSlice').BrushSettings;
|
|
328
|
+
cartesianAxis: {
|
|
329
|
+
xAxis: Record<AxisId, import('../cartesianAxisSlice').XAxisSettings>;
|
|
330
|
+
yAxis: Record<AxisId, import('../cartesianAxisSlice').YAxisSettings>;
|
|
331
|
+
zAxis: Record<AxisId, import('../cartesianAxisSlice').ZAxisSettings>;
|
|
332
|
+
};
|
|
333
|
+
chartData: import('../chartDataSlice').ChartDataState;
|
|
334
|
+
graphicalItems: import('../graphicalItemsSlice').GraphicalItemsState;
|
|
335
|
+
layout: {
|
|
336
|
+
layoutType: LayoutType;
|
|
337
|
+
width: number;
|
|
338
|
+
height: number;
|
|
339
|
+
margin: import('../../types').Margin;
|
|
340
|
+
scale: number;
|
|
341
|
+
};
|
|
342
|
+
legend: {
|
|
343
|
+
settings: import('../legendSlice').LegendSettings;
|
|
344
|
+
size: import('../../types').Size;
|
|
345
|
+
payload: ReadonlyArray<ReadonlyArray<import('../../components/DefaultLegendContent').LegendPayload>>;
|
|
346
|
+
};
|
|
347
|
+
options: import('../optionsSlice').ChartOptions;
|
|
348
|
+
polarAxis: {
|
|
349
|
+
radiusAxis: Record<AxisId, import('../polarAxisSlice').RadiusAxisSettings>;
|
|
350
|
+
angleAxis: Record<AxisId, import('../polarAxisSlice').AngleAxisSettings>;
|
|
351
|
+
};
|
|
352
|
+
polarOptions: import('../polarOptionsSlice').PolarChartOptions;
|
|
353
|
+
referenceElements: {
|
|
354
|
+
dots: ReadonlyArray<import('../referenceElementsSlice').ReferenceDotSettings>;
|
|
355
|
+
areas: ReadonlyArray<import('../referenceElementsSlice').ReferenceAreaSettings>;
|
|
356
|
+
lines: ReadonlyArray<import('../referenceElementsSlice').ReferenceLineSettings>;
|
|
357
|
+
};
|
|
358
|
+
rootProps: import('../rootPropsSlice').UpdatableChartOptions;
|
|
359
|
+
tooltip: import('../tooltipSlice').TooltipState;
|
|
360
|
+
}, _xAxisId: AxisId, _yAxisId: AxisId, isPanorama: boolean) => import('../graphicalItemsSlice').CartesianGraphicalItemSettings[]) & {
|
|
361
|
+
clearCache: () => void;
|
|
362
|
+
resultsCount: () => number;
|
|
363
|
+
resetResultsCount: () => void;
|
|
364
|
+
} & {
|
|
365
|
+
resultFunc: (resultFuncArgs_0: LayoutType, resultFuncArgs_1: readonly import('../graphicalItemsSlice').CartesianGraphicalItemSettings[], resultFuncArgs_2: AxisId, resultFuncArgs_3: AxisId, resultFuncArgs_4: boolean) => import('../graphicalItemsSlice').CartesianGraphicalItemSettings[];
|
|
366
|
+
memoizedResultFunc: ((resultFuncArgs_0: LayoutType, resultFuncArgs_1: readonly import('../graphicalItemsSlice').CartesianGraphicalItemSettings[], resultFuncArgs_2: AxisId, resultFuncArgs_3: AxisId, resultFuncArgs_4: boolean) => import('../graphicalItemsSlice').CartesianGraphicalItemSettings[]) & {
|
|
367
|
+
clearCache: () => void;
|
|
368
|
+
resultsCount: () => number;
|
|
369
|
+
resetResultsCount: () => void;
|
|
370
|
+
};
|
|
371
|
+
lastResult: () => import('../graphicalItemsSlice').CartesianGraphicalItemSettings[];
|
|
372
|
+
dependencies: [(state: RechartsRootState) => LayoutType, typeof selectUnfilteredCartesianItems, (_state: RechartsRootState, xAxisId: AxisId) => AxisId, (_state: RechartsRootState, _xAxisId: AxisId, yAxisId: AxisId) => AxisId, typeof pickIsPanorama];
|
|
373
|
+
recomputations: () => number;
|
|
374
|
+
resetRecomputations: () => void;
|
|
375
|
+
dependencyRecomputations: () => number;
|
|
376
|
+
resetDependencyRecomputations: () => void;
|
|
377
|
+
} & {
|
|
378
|
+
argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
379
|
+
memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
380
|
+
}, (state: RechartsRootState) => string | number, typeof selectBarCartesianAxisSize];
|
|
381
|
+
recomputations: () => number;
|
|
382
|
+
resetRecomputations: () => void;
|
|
383
|
+
dependencyRecomputations: () => number;
|
|
384
|
+
resetDependencyRecomputations: () => void;
|
|
385
|
+
} & {
|
|
386
|
+
argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
387
|
+
memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
388
|
+
}, (state: RechartsRootState) => number, (state: RechartsRootState) => string | number, typeof selectBarCategoryGap, typeof selectBarBandSize, typeof selectAxisBandSize, typeof pickMaxBarSize];
|
|
389
|
+
recomputations: () => number;
|
|
390
|
+
resetRecomputations: () => void;
|
|
391
|
+
dependencyRecomputations: () => number;
|
|
392
|
+
resetDependencyRecomputations: () => void;
|
|
393
|
+
} & {
|
|
394
|
+
argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
395
|
+
memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
396
|
+
};
|
|
397
|
+
declare function selectXAxisWithScale(state: RechartsRootState, xAxisId: AxisId, _yAxisId: AxisId, isPanorama: boolean): BaseAxisWithScale;
|
|
398
|
+
declare function selectYAxisWithScale(state: RechartsRootState, _xAxisId: AxisId, yAxisId: AxisId, isPanorama: boolean): BaseAxisWithScale;
|
|
399
|
+
declare function selectXAxisTicks(state: RechartsRootState, xAxisId: AxisId, _yAxisId: AxisId, isPanorama: boolean): TickItem[];
|
|
400
|
+
declare function selectYAxisTicks(state: RechartsRootState, _xAxisId: AxisId, yAxisId: AxisId, isPanorama: boolean): TickItem[];
|
|
401
|
+
export declare const selectBarPosition: ((state: {
|
|
402
|
+
brush: import('../brushSlice').BrushSettings;
|
|
403
|
+
cartesianAxis: {
|
|
404
|
+
xAxis: Record<AxisId, import('../cartesianAxisSlice').XAxisSettings>;
|
|
405
|
+
yAxis: Record<AxisId, import('../cartesianAxisSlice').YAxisSettings>;
|
|
406
|
+
zAxis: Record<AxisId, import('../cartesianAxisSlice').ZAxisSettings>;
|
|
407
|
+
};
|
|
408
|
+
chartData: import('../chartDataSlice').ChartDataState;
|
|
409
|
+
graphicalItems: import('../graphicalItemsSlice').GraphicalItemsState;
|
|
410
|
+
layout: {
|
|
411
|
+
layoutType: LayoutType;
|
|
412
|
+
width: number;
|
|
413
|
+
height: number;
|
|
414
|
+
margin: import('../../types').Margin;
|
|
415
|
+
scale: number;
|
|
416
|
+
};
|
|
417
|
+
legend: {
|
|
418
|
+
settings: import('../legendSlice').LegendSettings;
|
|
419
|
+
size: import('../../types').Size;
|
|
420
|
+
payload: ReadonlyArray<ReadonlyArray<import('../../components/DefaultLegendContent').LegendPayload>>;
|
|
421
|
+
};
|
|
422
|
+
options: import('../optionsSlice').ChartOptions;
|
|
423
|
+
polarAxis: {
|
|
424
|
+
radiusAxis: Record<AxisId, import('../polarAxisSlice').RadiusAxisSettings>;
|
|
425
|
+
angleAxis: Record<AxisId, import('../polarAxisSlice').AngleAxisSettings>;
|
|
426
|
+
};
|
|
427
|
+
polarOptions: import('../polarOptionsSlice').PolarChartOptions;
|
|
428
|
+
referenceElements: {
|
|
429
|
+
dots: ReadonlyArray<import('../referenceElementsSlice').ReferenceDotSettings>;
|
|
430
|
+
areas: ReadonlyArray<import('../referenceElementsSlice').ReferenceAreaSettings>;
|
|
431
|
+
lines: ReadonlyArray<import('../referenceElementsSlice').ReferenceLineSettings>;
|
|
432
|
+
};
|
|
433
|
+
rootProps: import('../rootPropsSlice').UpdatableChartOptions;
|
|
434
|
+
tooltip: import('../tooltipSlice').TooltipState;
|
|
435
|
+
}, xAxisId: AxisId, yAxisId: AxisId, isPanorama: boolean, barSettings: BarSettings) => BarPositionPosition) & {
|
|
436
|
+
clearCache: () => void;
|
|
437
|
+
resultsCount: () => number;
|
|
438
|
+
resetResultsCount: () => void;
|
|
439
|
+
} & {
|
|
440
|
+
resultFunc: (resultFuncArgs_0: readonly BarWithPosition[], resultFuncArgs_1: BarSettings) => BarPositionPosition;
|
|
441
|
+
memoizedResultFunc: ((resultFuncArgs_0: readonly BarWithPosition[], resultFuncArgs_1: BarSettings) => BarPositionPosition) & {
|
|
442
|
+
clearCache: () => void;
|
|
443
|
+
resultsCount: () => number;
|
|
444
|
+
resetResultsCount: () => void;
|
|
445
|
+
};
|
|
446
|
+
lastResult: () => BarPositionPosition;
|
|
447
|
+
dependencies: [((state: {
|
|
448
|
+
brush: import('../brushSlice').BrushSettings;
|
|
449
|
+
cartesianAxis: {
|
|
450
|
+
xAxis: Record<AxisId, import('../cartesianAxisSlice').XAxisSettings>;
|
|
451
|
+
yAxis: Record<AxisId, import('../cartesianAxisSlice').YAxisSettings>;
|
|
452
|
+
zAxis: Record<AxisId, import('../cartesianAxisSlice').ZAxisSettings>;
|
|
453
|
+
};
|
|
454
|
+
chartData: import('../chartDataSlice').ChartDataState;
|
|
455
|
+
graphicalItems: import('../graphicalItemsSlice').GraphicalItemsState;
|
|
456
|
+
layout: {
|
|
457
|
+
layoutType: LayoutType;
|
|
458
|
+
width: number;
|
|
459
|
+
height: number;
|
|
460
|
+
margin: import('../../types').Margin;
|
|
461
|
+
scale: number;
|
|
462
|
+
};
|
|
463
|
+
legend: {
|
|
464
|
+
settings: import('../legendSlice').LegendSettings;
|
|
465
|
+
size: import('../../types').Size;
|
|
466
|
+
payload: ReadonlyArray<ReadonlyArray<import('../../components/DefaultLegendContent').LegendPayload>>;
|
|
467
|
+
};
|
|
468
|
+
options: import('../optionsSlice').ChartOptions;
|
|
469
|
+
polarAxis: {
|
|
470
|
+
radiusAxis: Record<AxisId, import('../polarAxisSlice').RadiusAxisSettings>;
|
|
471
|
+
angleAxis: Record<AxisId, import('../polarAxisSlice').AngleAxisSettings>;
|
|
472
|
+
};
|
|
473
|
+
polarOptions: import('../polarOptionsSlice').PolarChartOptions;
|
|
474
|
+
referenceElements: {
|
|
475
|
+
dots: ReadonlyArray<import('../referenceElementsSlice').ReferenceDotSettings>;
|
|
476
|
+
areas: ReadonlyArray<import('../referenceElementsSlice').ReferenceAreaSettings>;
|
|
477
|
+
lines: ReadonlyArray<import('../referenceElementsSlice').ReferenceLineSettings>;
|
|
478
|
+
};
|
|
479
|
+
rootProps: import('../rootPropsSlice').UpdatableChartOptions;
|
|
480
|
+
tooltip: import('../tooltipSlice').TooltipState;
|
|
481
|
+
}, xAxisId: AxisId, yAxisId: AxisId, isPanorama: boolean, barSettings: BarSettings) => readonly BarWithPosition[]) & {
|
|
482
|
+
clearCache: () => void;
|
|
483
|
+
resultsCount: () => number;
|
|
484
|
+
resetResultsCount: () => void;
|
|
485
|
+
} & {
|
|
486
|
+
resultFunc: (resultFuncArgs_0: BarCategory[], resultFuncArgs_1: number, resultFuncArgs_2: string | number, resultFuncArgs_3: string | number, resultFuncArgs_4: number, resultFuncArgs_5: number, resultFuncArgs_6: number) => readonly BarWithPosition[];
|
|
487
|
+
memoizedResultFunc: ((resultFuncArgs_0: BarCategory[], resultFuncArgs_1: number, resultFuncArgs_2: string | number, resultFuncArgs_3: string | number, resultFuncArgs_4: number, resultFuncArgs_5: number, resultFuncArgs_6: number) => readonly BarWithPosition[]) & {
|
|
488
|
+
clearCache: () => void;
|
|
489
|
+
resultsCount: () => number;
|
|
490
|
+
resetResultsCount: () => void;
|
|
491
|
+
};
|
|
492
|
+
lastResult: () => readonly BarWithPosition[];
|
|
493
|
+
dependencies: [((state: {
|
|
494
|
+
brush: import('../brushSlice').BrushSettings;
|
|
495
|
+
cartesianAxis: {
|
|
496
|
+
xAxis: Record<AxisId, import('../cartesianAxisSlice').XAxisSettings>;
|
|
497
|
+
yAxis: Record<AxisId, import('../cartesianAxisSlice').YAxisSettings>;
|
|
498
|
+
zAxis: Record<AxisId, import('../cartesianAxisSlice').ZAxisSettings>;
|
|
499
|
+
};
|
|
500
|
+
chartData: import('../chartDataSlice').ChartDataState;
|
|
501
|
+
graphicalItems: import('../graphicalItemsSlice').GraphicalItemsState;
|
|
502
|
+
layout: {
|
|
503
|
+
layoutType: LayoutType;
|
|
504
|
+
width: number;
|
|
505
|
+
height: number;
|
|
506
|
+
margin: import('../../types').Margin;
|
|
507
|
+
scale: number;
|
|
508
|
+
};
|
|
509
|
+
legend: {
|
|
510
|
+
settings: import('../legendSlice').LegendSettings;
|
|
511
|
+
size: import('../../types').Size;
|
|
512
|
+
payload: ReadonlyArray<ReadonlyArray<import('../../components/DefaultLegendContent').LegendPayload>>;
|
|
513
|
+
};
|
|
514
|
+
options: import('../optionsSlice').ChartOptions;
|
|
515
|
+
polarAxis: {
|
|
516
|
+
radiusAxis: Record<AxisId, import('../polarAxisSlice').RadiusAxisSettings>;
|
|
517
|
+
angleAxis: Record<AxisId, import('../polarAxisSlice').AngleAxisSettings>;
|
|
518
|
+
};
|
|
519
|
+
polarOptions: import('../polarOptionsSlice').PolarChartOptions;
|
|
520
|
+
referenceElements: {
|
|
521
|
+
dots: ReadonlyArray<import('../referenceElementsSlice').ReferenceDotSettings>;
|
|
522
|
+
areas: ReadonlyArray<import('../referenceElementsSlice').ReferenceAreaSettings>;
|
|
523
|
+
lines: ReadonlyArray<import('../referenceElementsSlice').ReferenceLineSettings>;
|
|
524
|
+
};
|
|
525
|
+
rootProps: import('../rootPropsSlice').UpdatableChartOptions;
|
|
526
|
+
tooltip: import('../tooltipSlice').TooltipState;
|
|
527
|
+
}, _xAxisId: AxisId, _yAxisId: AxisId, isPanorama: boolean) => BarCategory[]) & {
|
|
528
|
+
clearCache: () => void;
|
|
529
|
+
resultsCount: () => number;
|
|
530
|
+
resetResultsCount: () => void;
|
|
531
|
+
} & {
|
|
532
|
+
resultFunc: (resultFuncArgs_0: import('../graphicalItemsSlice').CartesianGraphicalItemSettings[], resultFuncArgs_1: string | number, resultFuncArgs_2: number) => BarCategory[];
|
|
533
|
+
memoizedResultFunc: ((resultFuncArgs_0: import('../graphicalItemsSlice').CartesianGraphicalItemSettings[], resultFuncArgs_1: string | number, resultFuncArgs_2: number) => BarCategory[]) & {
|
|
534
|
+
clearCache: () => void;
|
|
535
|
+
resultsCount: () => number;
|
|
536
|
+
resetResultsCount: () => void;
|
|
537
|
+
};
|
|
538
|
+
lastResult: () => BarCategory[];
|
|
539
|
+
dependencies: [((state: {
|
|
540
|
+
brush: import('../brushSlice').BrushSettings;
|
|
541
|
+
cartesianAxis: {
|
|
542
|
+
xAxis: Record<AxisId, import('../cartesianAxisSlice').XAxisSettings>;
|
|
543
|
+
yAxis: Record<AxisId, import('../cartesianAxisSlice').YAxisSettings>;
|
|
544
|
+
zAxis: Record<AxisId, import('../cartesianAxisSlice').ZAxisSettings>;
|
|
545
|
+
};
|
|
546
|
+
chartData: import('../chartDataSlice').ChartDataState;
|
|
547
|
+
graphicalItems: import('../graphicalItemsSlice').GraphicalItemsState;
|
|
548
|
+
layout: {
|
|
549
|
+
layoutType: LayoutType;
|
|
550
|
+
width: number;
|
|
551
|
+
height: number;
|
|
552
|
+
margin: import('../../types').Margin;
|
|
553
|
+
scale: number;
|
|
554
|
+
};
|
|
555
|
+
legend: {
|
|
556
|
+
settings: import('../legendSlice').LegendSettings;
|
|
557
|
+
size: import('../../types').Size;
|
|
558
|
+
payload: ReadonlyArray<ReadonlyArray<import('../../components/DefaultLegendContent').LegendPayload>>;
|
|
559
|
+
};
|
|
560
|
+
options: import('../optionsSlice').ChartOptions;
|
|
561
|
+
polarAxis: {
|
|
562
|
+
radiusAxis: Record<AxisId, import('../polarAxisSlice').RadiusAxisSettings>;
|
|
563
|
+
angleAxis: Record<AxisId, import('../polarAxisSlice').AngleAxisSettings>;
|
|
564
|
+
};
|
|
565
|
+
polarOptions: import('../polarOptionsSlice').PolarChartOptions;
|
|
566
|
+
referenceElements: {
|
|
567
|
+
dots: ReadonlyArray<import('../referenceElementsSlice').ReferenceDotSettings>;
|
|
568
|
+
areas: ReadonlyArray<import('../referenceElementsSlice').ReferenceAreaSettings>;
|
|
569
|
+
lines: ReadonlyArray<import('../referenceElementsSlice').ReferenceLineSettings>;
|
|
570
|
+
};
|
|
571
|
+
rootProps: import('../rootPropsSlice').UpdatableChartOptions;
|
|
572
|
+
tooltip: import('../tooltipSlice').TooltipState;
|
|
573
|
+
}, _xAxisId: AxisId, _yAxisId: AxisId, isPanorama: boolean) => import('../graphicalItemsSlice').CartesianGraphicalItemSettings[]) & {
|
|
574
|
+
clearCache: () => void;
|
|
575
|
+
resultsCount: () => number;
|
|
576
|
+
resetResultsCount: () => void;
|
|
577
|
+
} & {
|
|
578
|
+
resultFunc: (resultFuncArgs_0: LayoutType, resultFuncArgs_1: readonly import('../graphicalItemsSlice').CartesianGraphicalItemSettings[], resultFuncArgs_2: AxisId, resultFuncArgs_3: AxisId, resultFuncArgs_4: boolean) => import('../graphicalItemsSlice').CartesianGraphicalItemSettings[];
|
|
579
|
+
memoizedResultFunc: ((resultFuncArgs_0: LayoutType, resultFuncArgs_1: readonly import('../graphicalItemsSlice').CartesianGraphicalItemSettings[], resultFuncArgs_2: AxisId, resultFuncArgs_3: AxisId, resultFuncArgs_4: boolean) => import('../graphicalItemsSlice').CartesianGraphicalItemSettings[]) & {
|
|
580
|
+
clearCache: () => void;
|
|
581
|
+
resultsCount: () => number;
|
|
582
|
+
resetResultsCount: () => void;
|
|
583
|
+
};
|
|
584
|
+
lastResult: () => import('../graphicalItemsSlice').CartesianGraphicalItemSettings[];
|
|
585
|
+
dependencies: [(state: RechartsRootState) => LayoutType, typeof selectUnfilteredCartesianItems, (_state: RechartsRootState, xAxisId: AxisId) => AxisId, (_state: RechartsRootState, _xAxisId: AxisId, yAxisId: AxisId) => AxisId, typeof pickIsPanorama];
|
|
586
|
+
recomputations: () => number;
|
|
587
|
+
resetRecomputations: () => void;
|
|
588
|
+
dependencyRecomputations: () => number;
|
|
589
|
+
resetDependencyRecomputations: () => void;
|
|
590
|
+
} & {
|
|
591
|
+
argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
592
|
+
memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
593
|
+
}, (state: RechartsRootState) => string | number, typeof selectBarCartesianAxisSize];
|
|
594
|
+
recomputations: () => number;
|
|
595
|
+
resetRecomputations: () => void;
|
|
596
|
+
dependencyRecomputations: () => number;
|
|
597
|
+
resetDependencyRecomputations: () => void;
|
|
598
|
+
} & {
|
|
599
|
+
argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
600
|
+
memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
601
|
+
}, (state: RechartsRootState) => number, (state: RechartsRootState) => string | number, typeof selectBarCategoryGap, typeof selectBarBandSize, typeof selectAxisBandSize, typeof pickMaxBarSize];
|
|
602
|
+
recomputations: () => number;
|
|
603
|
+
resetRecomputations: () => void;
|
|
604
|
+
dependencyRecomputations: () => number;
|
|
605
|
+
resetDependencyRecomputations: () => void;
|
|
606
|
+
} & {
|
|
607
|
+
argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
608
|
+
memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
609
|
+
}, typeof pickBarSettings];
|
|
610
|
+
recomputations: () => number;
|
|
611
|
+
resetRecomputations: () => void;
|
|
612
|
+
dependencyRecomputations: () => number;
|
|
613
|
+
resetDependencyRecomputations: () => void;
|
|
614
|
+
} & {
|
|
615
|
+
argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
616
|
+
memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
617
|
+
};
|
|
618
|
+
export declare function combineStackedData(stackGroups: Record<StackId, StackGroup> | undefined, barSettings: MaybeStackedGraphicalItem): Series<Record<number, number>, DataKey<any>> | undefined;
|
|
619
|
+
export declare const selectBarRectangles: ((state: {
|
|
620
|
+
brush: import('../brushSlice').BrushSettings;
|
|
621
|
+
cartesianAxis: {
|
|
622
|
+
xAxis: Record<AxisId, import('../cartesianAxisSlice').XAxisSettings>;
|
|
623
|
+
yAxis: Record<AxisId, import('../cartesianAxisSlice').YAxisSettings>;
|
|
624
|
+
zAxis: Record<AxisId, import('../cartesianAxisSlice').ZAxisSettings>;
|
|
625
|
+
};
|
|
626
|
+
chartData: import('../chartDataSlice').ChartDataState;
|
|
627
|
+
graphicalItems: import('../graphicalItemsSlice').GraphicalItemsState;
|
|
628
|
+
layout: {
|
|
629
|
+
layoutType: LayoutType;
|
|
630
|
+
width: number;
|
|
631
|
+
height: number;
|
|
632
|
+
margin: import('../../types').Margin;
|
|
633
|
+
scale: number;
|
|
634
|
+
};
|
|
635
|
+
legend: {
|
|
636
|
+
settings: import('../legendSlice').LegendSettings;
|
|
637
|
+
size: import('../../types').Size;
|
|
638
|
+
payload: ReadonlyArray<ReadonlyArray<import('../../components/DefaultLegendContent').LegendPayload>>;
|
|
639
|
+
};
|
|
640
|
+
options: import('../optionsSlice').ChartOptions;
|
|
641
|
+
polarAxis: {
|
|
642
|
+
radiusAxis: Record<AxisId, import('../polarAxisSlice').RadiusAxisSettings>;
|
|
643
|
+
angleAxis: Record<AxisId, import('../polarAxisSlice').AngleAxisSettings>;
|
|
644
|
+
};
|
|
645
|
+
polarOptions: import('../polarOptionsSlice').PolarChartOptions;
|
|
646
|
+
referenceElements: {
|
|
647
|
+
dots: ReadonlyArray<import('../referenceElementsSlice').ReferenceDotSettings>;
|
|
648
|
+
areas: ReadonlyArray<import('../referenceElementsSlice').ReferenceAreaSettings>;
|
|
649
|
+
lines: ReadonlyArray<import('../referenceElementsSlice').ReferenceLineSettings>;
|
|
650
|
+
};
|
|
651
|
+
rootProps: import('../rootPropsSlice').UpdatableChartOptions;
|
|
652
|
+
tooltip: import('../tooltipSlice').TooltipState;
|
|
653
|
+
}, xAxisId: AxisId, yAxisId: AxisId, isPanorama: boolean, barSettings: BarSettings) => readonly BarRectangleItem[]) & {
|
|
654
|
+
clearCache: () => void;
|
|
655
|
+
resultsCount: () => number;
|
|
656
|
+
resetResultsCount: () => void;
|
|
657
|
+
} & {
|
|
658
|
+
resultFunc: (resultFuncArgs_0: Required<import('../../types').ChartOffset>, resultFuncArgs_1: BaseAxisWithScale, resultFuncArgs_2: BaseAxisWithScale, resultFuncArgs_3: TickItem[], resultFuncArgs_4: TickItem[], resultFuncArgs_5: BarPositionPosition, resultFuncArgs_6: LayoutType, resultFuncArgs_7: import('../chartDataSlice').ChartDataState, resultFuncArgs_8: number, resultFuncArgs_9: Series<Record<number, number>, DataKey<any>>, resultFuncArgs_10: BarSettings) => readonly BarRectangleItem[];
|
|
659
|
+
memoizedResultFunc: ((resultFuncArgs_0: Required<import('../../types').ChartOffset>, resultFuncArgs_1: BaseAxisWithScale, resultFuncArgs_2: BaseAxisWithScale, resultFuncArgs_3: TickItem[], resultFuncArgs_4: TickItem[], resultFuncArgs_5: BarPositionPosition, resultFuncArgs_6: LayoutType, resultFuncArgs_7: import('../chartDataSlice').ChartDataState, resultFuncArgs_8: number, resultFuncArgs_9: Series<Record<number, number>, DataKey<any>>, resultFuncArgs_10: BarSettings) => readonly BarRectangleItem[]) & {
|
|
660
|
+
clearCache: () => void;
|
|
661
|
+
resultsCount: () => number;
|
|
662
|
+
resetResultsCount: () => void;
|
|
663
|
+
};
|
|
664
|
+
lastResult: () => readonly BarRectangleItem[];
|
|
665
|
+
dependencies: [(state: RechartsRootState) => import('../../types').ChartOffsetRequired, typeof selectXAxisWithScale, typeof selectYAxisWithScale, typeof selectXAxisTicks, typeof selectYAxisTicks, ((state: {
|
|
666
|
+
brush: import('../brushSlice').BrushSettings;
|
|
667
|
+
cartesianAxis: {
|
|
668
|
+
xAxis: Record<AxisId, import('../cartesianAxisSlice').XAxisSettings>;
|
|
669
|
+
yAxis: Record<AxisId, import('../cartesianAxisSlice').YAxisSettings>;
|
|
670
|
+
zAxis: Record<AxisId, import('../cartesianAxisSlice').ZAxisSettings>;
|
|
671
|
+
};
|
|
672
|
+
chartData: import('../chartDataSlice').ChartDataState;
|
|
673
|
+
graphicalItems: import('../graphicalItemsSlice').GraphicalItemsState;
|
|
674
|
+
layout: {
|
|
675
|
+
layoutType: LayoutType;
|
|
676
|
+
width: number;
|
|
677
|
+
height: number;
|
|
678
|
+
margin: import('../../types').Margin;
|
|
679
|
+
scale: number;
|
|
680
|
+
};
|
|
681
|
+
legend: {
|
|
682
|
+
settings: import('../legendSlice').LegendSettings;
|
|
683
|
+
size: import('../../types').Size;
|
|
684
|
+
payload: ReadonlyArray<ReadonlyArray<import('../../components/DefaultLegendContent').LegendPayload>>;
|
|
685
|
+
};
|
|
686
|
+
options: import('../optionsSlice').ChartOptions;
|
|
687
|
+
polarAxis: {
|
|
688
|
+
radiusAxis: Record<AxisId, import('../polarAxisSlice').RadiusAxisSettings>;
|
|
689
|
+
angleAxis: Record<AxisId, import('../polarAxisSlice').AngleAxisSettings>;
|
|
690
|
+
};
|
|
691
|
+
polarOptions: import('../polarOptionsSlice').PolarChartOptions;
|
|
692
|
+
referenceElements: {
|
|
693
|
+
dots: ReadonlyArray<import('../referenceElementsSlice').ReferenceDotSettings>;
|
|
694
|
+
areas: ReadonlyArray<import('../referenceElementsSlice').ReferenceAreaSettings>;
|
|
695
|
+
lines: ReadonlyArray<import('../referenceElementsSlice').ReferenceLineSettings>;
|
|
696
|
+
};
|
|
697
|
+
rootProps: import('../rootPropsSlice').UpdatableChartOptions;
|
|
698
|
+
tooltip: import('../tooltipSlice').TooltipState;
|
|
699
|
+
}, xAxisId: AxisId, yAxisId: AxisId, isPanorama: boolean, barSettings: BarSettings) => BarPositionPosition) & {
|
|
700
|
+
clearCache: () => void;
|
|
701
|
+
resultsCount: () => number;
|
|
702
|
+
resetResultsCount: () => void;
|
|
703
|
+
} & {
|
|
704
|
+
resultFunc: (resultFuncArgs_0: readonly BarWithPosition[], resultFuncArgs_1: BarSettings) => BarPositionPosition;
|
|
705
|
+
memoizedResultFunc: ((resultFuncArgs_0: readonly BarWithPosition[], resultFuncArgs_1: BarSettings) => BarPositionPosition) & {
|
|
706
|
+
clearCache: () => void;
|
|
707
|
+
resultsCount: () => number;
|
|
708
|
+
resetResultsCount: () => void;
|
|
709
|
+
};
|
|
710
|
+
lastResult: () => BarPositionPosition;
|
|
711
|
+
dependencies: [((state: {
|
|
712
|
+
brush: import('../brushSlice').BrushSettings;
|
|
713
|
+
cartesianAxis: {
|
|
714
|
+
xAxis: Record<AxisId, import('../cartesianAxisSlice').XAxisSettings>;
|
|
715
|
+
yAxis: Record<AxisId, import('../cartesianAxisSlice').YAxisSettings>;
|
|
716
|
+
zAxis: Record<AxisId, import('../cartesianAxisSlice').ZAxisSettings>;
|
|
717
|
+
};
|
|
718
|
+
chartData: import('../chartDataSlice').ChartDataState;
|
|
719
|
+
graphicalItems: import('../graphicalItemsSlice').GraphicalItemsState;
|
|
720
|
+
layout: {
|
|
721
|
+
layoutType: LayoutType;
|
|
722
|
+
width: number;
|
|
723
|
+
height: number;
|
|
724
|
+
margin: import('../../types').Margin;
|
|
725
|
+
scale: number;
|
|
726
|
+
};
|
|
727
|
+
legend: {
|
|
728
|
+
settings: import('../legendSlice').LegendSettings;
|
|
729
|
+
size: import('../../types').Size;
|
|
730
|
+
payload: ReadonlyArray<ReadonlyArray<import('../../components/DefaultLegendContent').LegendPayload>>;
|
|
731
|
+
};
|
|
732
|
+
options: import('../optionsSlice').ChartOptions;
|
|
733
|
+
polarAxis: {
|
|
734
|
+
radiusAxis: Record<AxisId, import('../polarAxisSlice').RadiusAxisSettings>;
|
|
735
|
+
angleAxis: Record<AxisId, import('../polarAxisSlice').AngleAxisSettings>;
|
|
736
|
+
};
|
|
737
|
+
polarOptions: import('../polarOptionsSlice').PolarChartOptions;
|
|
738
|
+
referenceElements: {
|
|
739
|
+
dots: ReadonlyArray<import('../referenceElementsSlice').ReferenceDotSettings>;
|
|
740
|
+
areas: ReadonlyArray<import('../referenceElementsSlice').ReferenceAreaSettings>;
|
|
741
|
+
lines: ReadonlyArray<import('../referenceElementsSlice').ReferenceLineSettings>;
|
|
742
|
+
};
|
|
743
|
+
rootProps: import('../rootPropsSlice').UpdatableChartOptions;
|
|
744
|
+
tooltip: import('../tooltipSlice').TooltipState;
|
|
745
|
+
}, xAxisId: AxisId, yAxisId: AxisId, isPanorama: boolean, barSettings: BarSettings) => readonly BarWithPosition[]) & {
|
|
746
|
+
clearCache: () => void;
|
|
747
|
+
resultsCount: () => number;
|
|
748
|
+
resetResultsCount: () => void;
|
|
749
|
+
} & {
|
|
750
|
+
resultFunc: (resultFuncArgs_0: BarCategory[], resultFuncArgs_1: number, resultFuncArgs_2: string | number, resultFuncArgs_3: string | number, resultFuncArgs_4: number, resultFuncArgs_5: number, resultFuncArgs_6: number) => readonly BarWithPosition[];
|
|
751
|
+
memoizedResultFunc: ((resultFuncArgs_0: BarCategory[], resultFuncArgs_1: number, resultFuncArgs_2: string | number, resultFuncArgs_3: string | number, resultFuncArgs_4: number, resultFuncArgs_5: number, resultFuncArgs_6: number) => readonly BarWithPosition[]) & {
|
|
752
|
+
clearCache: () => void;
|
|
753
|
+
resultsCount: () => number;
|
|
754
|
+
resetResultsCount: () => void;
|
|
755
|
+
};
|
|
756
|
+
lastResult: () => readonly BarWithPosition[];
|
|
757
|
+
dependencies: [((state: {
|
|
758
|
+
brush: import('../brushSlice').BrushSettings;
|
|
759
|
+
cartesianAxis: {
|
|
760
|
+
xAxis: Record<AxisId, import('../cartesianAxisSlice').XAxisSettings>;
|
|
761
|
+
yAxis: Record<AxisId, import('../cartesianAxisSlice').YAxisSettings>;
|
|
762
|
+
zAxis: Record<AxisId, import('../cartesianAxisSlice').ZAxisSettings>;
|
|
763
|
+
};
|
|
764
|
+
chartData: import('../chartDataSlice').ChartDataState;
|
|
765
|
+
graphicalItems: import('../graphicalItemsSlice').GraphicalItemsState;
|
|
766
|
+
layout: {
|
|
767
|
+
layoutType: LayoutType;
|
|
768
|
+
width: number;
|
|
769
|
+
height: number;
|
|
770
|
+
margin: import('../../types').Margin;
|
|
771
|
+
scale: number;
|
|
772
|
+
};
|
|
773
|
+
legend: {
|
|
774
|
+
settings: import('../legendSlice').LegendSettings;
|
|
775
|
+
size: import('../../types').Size;
|
|
776
|
+
payload: ReadonlyArray<ReadonlyArray<import('../../components/DefaultLegendContent').LegendPayload>>;
|
|
777
|
+
};
|
|
778
|
+
options: import('../optionsSlice').ChartOptions;
|
|
779
|
+
polarAxis: {
|
|
780
|
+
radiusAxis: Record<AxisId, import('../polarAxisSlice').RadiusAxisSettings>;
|
|
781
|
+
angleAxis: Record<AxisId, import('../polarAxisSlice').AngleAxisSettings>;
|
|
782
|
+
};
|
|
783
|
+
polarOptions: import('../polarOptionsSlice').PolarChartOptions;
|
|
784
|
+
referenceElements: {
|
|
785
|
+
dots: ReadonlyArray<import('../referenceElementsSlice').ReferenceDotSettings>;
|
|
786
|
+
areas: ReadonlyArray<import('../referenceElementsSlice').ReferenceAreaSettings>;
|
|
787
|
+
lines: ReadonlyArray<import('../referenceElementsSlice').ReferenceLineSettings>;
|
|
788
|
+
};
|
|
789
|
+
rootProps: import('../rootPropsSlice').UpdatableChartOptions;
|
|
790
|
+
tooltip: import('../tooltipSlice').TooltipState;
|
|
791
|
+
}, _xAxisId: AxisId, _yAxisId: AxisId, isPanorama: boolean) => BarCategory[]) & {
|
|
792
|
+
clearCache: () => void;
|
|
793
|
+
resultsCount: () => number;
|
|
794
|
+
resetResultsCount: () => void;
|
|
795
|
+
} & {
|
|
796
|
+
resultFunc: (resultFuncArgs_0: import('../graphicalItemsSlice').CartesianGraphicalItemSettings[], resultFuncArgs_1: string | number, resultFuncArgs_2: number) => BarCategory[];
|
|
797
|
+
memoizedResultFunc: ((resultFuncArgs_0: import('../graphicalItemsSlice').CartesianGraphicalItemSettings[], resultFuncArgs_1: string | number, resultFuncArgs_2: number) => BarCategory[]) & {
|
|
798
|
+
clearCache: () => void;
|
|
799
|
+
resultsCount: () => number;
|
|
800
|
+
resetResultsCount: () => void;
|
|
801
|
+
};
|
|
802
|
+
lastResult: () => BarCategory[];
|
|
803
|
+
dependencies: [((state: {
|
|
804
|
+
brush: import('../brushSlice').BrushSettings;
|
|
805
|
+
cartesianAxis: {
|
|
806
|
+
xAxis: Record<AxisId, import('../cartesianAxisSlice').XAxisSettings>;
|
|
807
|
+
yAxis: Record<AxisId, import('../cartesianAxisSlice').YAxisSettings>;
|
|
808
|
+
zAxis: Record<AxisId, import('../cartesianAxisSlice').ZAxisSettings>;
|
|
809
|
+
};
|
|
810
|
+
chartData: import('../chartDataSlice').ChartDataState;
|
|
811
|
+
graphicalItems: import('../graphicalItemsSlice').GraphicalItemsState;
|
|
812
|
+
layout: {
|
|
813
|
+
layoutType: LayoutType;
|
|
814
|
+
width: number;
|
|
815
|
+
height: number;
|
|
816
|
+
margin: import('../../types').Margin;
|
|
817
|
+
scale: number;
|
|
818
|
+
};
|
|
819
|
+
legend: {
|
|
820
|
+
settings: import('../legendSlice').LegendSettings;
|
|
821
|
+
size: import('../../types').Size;
|
|
822
|
+
payload: ReadonlyArray<ReadonlyArray<import('../../components/DefaultLegendContent').LegendPayload>>;
|
|
823
|
+
};
|
|
824
|
+
options: import('../optionsSlice').ChartOptions;
|
|
825
|
+
polarAxis: {
|
|
826
|
+
radiusAxis: Record<AxisId, import('../polarAxisSlice').RadiusAxisSettings>;
|
|
827
|
+
angleAxis: Record<AxisId, import('../polarAxisSlice').AngleAxisSettings>;
|
|
828
|
+
};
|
|
829
|
+
polarOptions: import('../polarOptionsSlice').PolarChartOptions;
|
|
830
|
+
referenceElements: {
|
|
831
|
+
dots: ReadonlyArray<import('../referenceElementsSlice').ReferenceDotSettings>;
|
|
832
|
+
areas: ReadonlyArray<import('../referenceElementsSlice').ReferenceAreaSettings>;
|
|
833
|
+
lines: ReadonlyArray<import('../referenceElementsSlice').ReferenceLineSettings>;
|
|
834
|
+
};
|
|
835
|
+
rootProps: import('../rootPropsSlice').UpdatableChartOptions;
|
|
836
|
+
tooltip: import('../tooltipSlice').TooltipState;
|
|
837
|
+
}, _xAxisId: AxisId, _yAxisId: AxisId, isPanorama: boolean) => import('../graphicalItemsSlice').CartesianGraphicalItemSettings[]) & {
|
|
838
|
+
clearCache: () => void;
|
|
839
|
+
resultsCount: () => number;
|
|
840
|
+
resetResultsCount: () => void;
|
|
841
|
+
} & {
|
|
842
|
+
resultFunc: (resultFuncArgs_0: LayoutType, resultFuncArgs_1: readonly import('../graphicalItemsSlice').CartesianGraphicalItemSettings[], resultFuncArgs_2: AxisId, resultFuncArgs_3: AxisId, resultFuncArgs_4: boolean) => import('../graphicalItemsSlice').CartesianGraphicalItemSettings[];
|
|
843
|
+
memoizedResultFunc: ((resultFuncArgs_0: LayoutType, resultFuncArgs_1: readonly import('../graphicalItemsSlice').CartesianGraphicalItemSettings[], resultFuncArgs_2: AxisId, resultFuncArgs_3: AxisId, resultFuncArgs_4: boolean) => import('../graphicalItemsSlice').CartesianGraphicalItemSettings[]) & {
|
|
844
|
+
clearCache: () => void;
|
|
845
|
+
resultsCount: () => number;
|
|
846
|
+
resetResultsCount: () => void;
|
|
847
|
+
};
|
|
848
|
+
lastResult: () => import('../graphicalItemsSlice').CartesianGraphicalItemSettings[];
|
|
849
|
+
dependencies: [(state: RechartsRootState) => LayoutType, typeof selectUnfilteredCartesianItems, (_state: RechartsRootState, xAxisId: AxisId) => AxisId, (_state: RechartsRootState, _xAxisId: AxisId, yAxisId: AxisId) => AxisId, typeof pickIsPanorama];
|
|
850
|
+
recomputations: () => number;
|
|
851
|
+
resetRecomputations: () => void;
|
|
852
|
+
dependencyRecomputations: () => number;
|
|
853
|
+
resetDependencyRecomputations: () => void;
|
|
854
|
+
} & {
|
|
855
|
+
argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
856
|
+
memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
857
|
+
}, (state: RechartsRootState) => string | number, typeof selectBarCartesianAxisSize];
|
|
858
|
+
recomputations: () => number;
|
|
859
|
+
resetRecomputations: () => void;
|
|
860
|
+
dependencyRecomputations: () => number;
|
|
861
|
+
resetDependencyRecomputations: () => void;
|
|
862
|
+
} & {
|
|
863
|
+
argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
864
|
+
memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
865
|
+
}, (state: RechartsRootState) => number, (state: RechartsRootState) => string | number, typeof selectBarCategoryGap, typeof selectBarBandSize, typeof selectAxisBandSize, typeof pickMaxBarSize];
|
|
866
|
+
recomputations: () => number;
|
|
867
|
+
resetRecomputations: () => void;
|
|
868
|
+
dependencyRecomputations: () => number;
|
|
869
|
+
resetDependencyRecomputations: () => void;
|
|
870
|
+
} & {
|
|
871
|
+
argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
872
|
+
memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
873
|
+
}, typeof pickBarSettings];
|
|
874
|
+
recomputations: () => number;
|
|
875
|
+
resetRecomputations: () => void;
|
|
876
|
+
dependencyRecomputations: () => number;
|
|
877
|
+
resetDependencyRecomputations: () => void;
|
|
878
|
+
} & {
|
|
879
|
+
argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
880
|
+
memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
881
|
+
}, (state: RechartsRootState) => LayoutType, typeof selectChartDataWithIndexesIfNotInPanorama, typeof selectAxisBandSize, (state: RechartsRootState, xAxisId: AxisId, yAxisId: AxisId, isPanorama: boolean, barSettings: BarSettings) => Series<Record<number, number>, DataKey<any>> | undefined, ((state: {
|
|
882
|
+
brush: import('../brushSlice').BrushSettings;
|
|
883
|
+
cartesianAxis: {
|
|
884
|
+
xAxis: Record<AxisId, import('../cartesianAxisSlice').XAxisSettings>;
|
|
885
|
+
yAxis: Record<AxisId, import('../cartesianAxisSlice').YAxisSettings>;
|
|
886
|
+
zAxis: Record<AxisId, import('../cartesianAxisSlice').ZAxisSettings>;
|
|
887
|
+
};
|
|
888
|
+
chartData: import('../chartDataSlice').ChartDataState;
|
|
889
|
+
graphicalItems: import('../graphicalItemsSlice').GraphicalItemsState;
|
|
890
|
+
layout: {
|
|
891
|
+
layoutType: LayoutType;
|
|
892
|
+
width: number;
|
|
893
|
+
height: number;
|
|
894
|
+
margin: import('../../types').Margin;
|
|
895
|
+
scale: number;
|
|
896
|
+
};
|
|
897
|
+
legend: {
|
|
898
|
+
settings: import('../legendSlice').LegendSettings;
|
|
899
|
+
size: import('../../types').Size;
|
|
900
|
+
payload: ReadonlyArray<ReadonlyArray<import('../../components/DefaultLegendContent').LegendPayload>>;
|
|
901
|
+
};
|
|
902
|
+
options: import('../optionsSlice').ChartOptions;
|
|
903
|
+
polarAxis: {
|
|
904
|
+
radiusAxis: Record<AxisId, import('../polarAxisSlice').RadiusAxisSettings>;
|
|
905
|
+
angleAxis: Record<AxisId, import('../polarAxisSlice').AngleAxisSettings>;
|
|
906
|
+
};
|
|
907
|
+
polarOptions: import('../polarOptionsSlice').PolarChartOptions;
|
|
908
|
+
referenceElements: {
|
|
909
|
+
dots: ReadonlyArray<import('../referenceElementsSlice').ReferenceDotSettings>;
|
|
910
|
+
areas: ReadonlyArray<import('../referenceElementsSlice').ReferenceAreaSettings>;
|
|
911
|
+
lines: ReadonlyArray<import('../referenceElementsSlice').ReferenceLineSettings>;
|
|
912
|
+
};
|
|
913
|
+
rootProps: import('../rootPropsSlice').UpdatableChartOptions;
|
|
914
|
+
tooltip: import('../tooltipSlice').TooltipState;
|
|
915
|
+
}, _xAxisId: AxisId, _yAxisId: AxisId, _isPanorama: boolean, barSettings: BarSettings) => BarSettings) & {
|
|
916
|
+
clearCache: () => void;
|
|
917
|
+
resultsCount: () => number;
|
|
918
|
+
resetResultsCount: () => void;
|
|
919
|
+
} & {
|
|
920
|
+
resultFunc: (resultFuncArgs_0: readonly import('../graphicalItemsSlice').CartesianGraphicalItemSettings[], resultFuncArgs_1: BarSettings) => BarSettings;
|
|
921
|
+
memoizedResultFunc: ((resultFuncArgs_0: readonly import('../graphicalItemsSlice').CartesianGraphicalItemSettings[], resultFuncArgs_1: BarSettings) => BarSettings) & {
|
|
922
|
+
clearCache: () => void;
|
|
923
|
+
resultsCount: () => number;
|
|
924
|
+
resetResultsCount: () => void;
|
|
925
|
+
};
|
|
926
|
+
lastResult: () => BarSettings;
|
|
927
|
+
dependencies: [typeof selectUnfilteredCartesianItems, typeof pickBarSettings];
|
|
928
|
+
recomputations: () => number;
|
|
929
|
+
resetRecomputations: () => void;
|
|
930
|
+
dependencyRecomputations: () => number;
|
|
931
|
+
resetDependencyRecomputations: () => void;
|
|
932
|
+
} & {
|
|
933
|
+
argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
934
|
+
memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
935
|
+
}];
|
|
936
|
+
recomputations: () => number;
|
|
937
|
+
resetRecomputations: () => void;
|
|
938
|
+
dependencyRecomputations: () => number;
|
|
939
|
+
resetDependencyRecomputations: () => void;
|
|
940
|
+
} & {
|
|
941
|
+
argsMemoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
942
|
+
memoize: typeof import('@reduxjs/toolkit').weakMapMemoize;
|
|
943
|
+
};
|
|
944
|
+
export {};
|