@mui/x-charts 8.5.2 → 8.5.3
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/CHANGELOG.md +96 -11
- package/ChartsLegend/ChartsLegend.d.ts +1 -0
- package/ChartsLegend/ChartsLegend.js +1 -0
- package/ChartsLegend/ContinuousColorLegend.d.ts +1 -0
- package/ChartsLegend/PiecewiseColorLegend.d.ts +1 -0
- package/ChartsLegend/chartsLegendClasses.d.ts +3 -1
- package/ChartsLegend/chartsLegendClasses.js +2 -1
- package/ChartsSurface/ChartsSurface.d.ts +1 -1
- package/ScatterChart/Scatter.d.ts +2 -0
- package/ScatterChart/Scatter.js +9 -1
- package/ScatterChart/index.d.ts +3 -1
- package/ScatterChart/index.js +16 -1
- package/ScatterChart/scatterClasses.d.ts +8 -0
- package/ScatterChart/scatterClasses.js +22 -0
- package/esm/ChartsLegend/ChartsLegend.d.ts +1 -0
- package/esm/ChartsLegend/ChartsLegend.js +1 -0
- package/esm/ChartsLegend/ContinuousColorLegend.d.ts +1 -0
- package/esm/ChartsLegend/PiecewiseColorLegend.d.ts +1 -0
- package/esm/ChartsLegend/chartsLegendClasses.d.ts +3 -1
- package/esm/ChartsLegend/chartsLegendClasses.js +2 -1
- package/esm/ChartsSurface/ChartsSurface.d.ts +1 -1
- package/esm/ScatterChart/Scatter.d.ts +2 -0
- package/esm/ScatterChart/Scatter.js +9 -1
- package/esm/ScatterChart/index.d.ts +3 -1
- package/esm/ScatterChart/index.js +2 -1
- package/esm/ScatterChart/scatterClasses.d.ts +8 -0
- package/esm/ScatterChart/scatterClasses.js +13 -0
- package/esm/hooks/useItemHighlighted.js +2 -2
- package/esm/index.js +1 -1
- package/esm/internals/createSeriesSelectorOfType.js +2 -2
- package/esm/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.selectors.d.ts +3 -29
- package/esm/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.selectors.js +1 -1
- package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.d.ts +14 -724
- package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.js +10 -10
- package/esm/internals/plugins/corePlugins/useChartId/useChartId.selectors.d.ts +3 -29
- package/esm/internals/plugins/corePlugins/useChartId/useChartId.selectors.js +1 -1
- package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +6 -54
- package/esm/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.js +2 -2
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.d.ts +12 -208
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.d.ts +7 -66
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.js +2 -3
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +21 -6222
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.js +4 -6
- package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.ts +50 -5
- package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +18 -622
- package/esm/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.js +3 -3
- package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.d.ts +18 -230
- package/esm/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.js +6 -6
- package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.d.ts +17 -2012
- package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.js +2 -2
- package/esm/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.d.ts +39 -4
- package/esm/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.selectors.d.ts +3 -27
- package/esm/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.selectors.js +1 -1
- package/esm/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.selectors.d.ts +5 -40
- package/esm/internals/plugins/utils/selectors.d.ts +18 -6
- package/esm/internals/plugins/utils/selectors.js +3 -3
- package/esm/internals/store/useSelector.d.ts +2 -2
- package/esm/internals/store/useSelector.js +2 -2
- package/hooks/useItemHighlighted.js +2 -2
- package/index.js +1 -1
- package/internals/createSeriesSelectorOfType.js +2 -2
- package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.selectors.d.ts +3 -29
- package/internals/plugins/corePlugins/useChartAnimation/useChartAnimation.selectors.js +1 -1
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.d.ts +14 -724
- package/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.js +11 -10
- package/internals/plugins/corePlugins/useChartId/useChartId.selectors.d.ts +3 -29
- package/internals/plugins/corePlugins/useChartId/useChartId.selectors.js +1 -1
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.d.ts +6 -54
- package/internals/plugins/corePlugins/useChartSeries/useChartSeries.selectors.js +2 -2
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.d.ts +12 -208
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.d.ts +7 -66
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisLayout.selectors.js +4 -3
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.d.ts +21 -6222
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.js +4 -6
- package/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianInteraction.selectors.d.ts +50 -5
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.d.ts +18 -622
- package/internals/plugins/featurePlugins/useChartHighlight/useChartHighlight.selectors.js +3 -3
- package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.d.ts +18 -230
- package/internals/plugins/featurePlugins/useChartInteraction/useChartInteraction.selectors.js +6 -6
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.d.ts +17 -2012
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarAxis.selectors.js +2 -2
- package/internals/plugins/featurePlugins/useChartPolarAxis/useChartPolarInteraction.selectors.d.ts +39 -4
- package/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.selectors.d.ts +3 -27
- package/internals/plugins/featurePlugins/useChartVoronoi/useChartVoronoi.selectors.js +1 -1
- package/internals/plugins/featurePlugins/useChartZAxis/useChartZAxis.selectors.d.ts +5 -40
- package/internals/plugins/utils/selectors.d.ts +18 -6
- package/internals/plugins/utils/selectors.js +3 -3
- package/internals/store/useSelector.d.ts +2 -2
- package/internals/store/useSelector.js +2 -2
- package/package.json +3 -3
package/esm/internals/plugins/corePlugins/useChartDimensions/useChartDimensions.selectors.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { createSelector } from "../../utils/selectors.js";
|
|
2
2
|
import { selectorChartBottomAxisSize, selectorChartLeftAxisSize, selectorChartRightAxisSize, selectorChartTopAxisSize } from "../../featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.js";
|
|
3
3
|
export const selectorChartDimensionsState = state => state.dimensions;
|
|
4
|
-
export const selectorChartMargin =
|
|
5
|
-
const selectorChartWidth =
|
|
6
|
-
const selectorChartHeight =
|
|
7
|
-
const selectorChartTopMargin =
|
|
8
|
-
const selectorChartRightMargin =
|
|
9
|
-
const selectorChartBottomMargin =
|
|
10
|
-
const selectorChartLeftMargin =
|
|
11
|
-
export const selectorChartDrawingArea = createSelector(selectorChartWidth, selectorChartHeight, selectorChartTopMargin, selectorChartRightMargin, selectorChartBottomMargin, selectorChartLeftMargin, selectorChartTopAxisSize, selectorChartRightAxisSize, selectorChartBottomAxisSize, selectorChartLeftAxisSize, (width, height, marginTop, marginRight, marginBottom, marginLeft, axisSizeTop, axisSizeRight, axisSizeBottom, axisSizeLeft) => ({
|
|
4
|
+
export const selectorChartMargin = state => state.dimensions.margin;
|
|
5
|
+
const selectorChartWidth = state => state.dimensions.width;
|
|
6
|
+
const selectorChartHeight = state => state.dimensions.height;
|
|
7
|
+
const selectorChartTopMargin = state => state.dimensions.margin.top;
|
|
8
|
+
const selectorChartRightMargin = state => state.dimensions.margin.right;
|
|
9
|
+
const selectorChartBottomMargin = state => state.dimensions.margin.bottom;
|
|
10
|
+
const selectorChartLeftMargin = state => state.dimensions.margin.left;
|
|
11
|
+
export const selectorChartDrawingArea = createSelector([selectorChartWidth, selectorChartHeight, selectorChartTopMargin, selectorChartRightMargin, selectorChartBottomMargin, selectorChartLeftMargin, selectorChartTopAxisSize, selectorChartRightAxisSize, selectorChartBottomAxisSize, selectorChartLeftAxisSize], (width, height, marginTop, marginRight, marginBottom, marginLeft, axisSizeTop, axisSizeRight, axisSizeBottom, axisSizeLeft) => ({
|
|
12
12
|
width: width - marginLeft - marginRight - axisSizeLeft - axisSizeRight,
|
|
13
13
|
left: marginLeft + axisSizeLeft,
|
|
14
14
|
right: marginRight + axisSizeRight,
|
|
@@ -16,11 +16,11 @@ export const selectorChartDrawingArea = createSelector(selectorChartWidth, selec
|
|
|
16
16
|
top: marginTop + axisSizeTop,
|
|
17
17
|
bottom: marginBottom + axisSizeBottom
|
|
18
18
|
}));
|
|
19
|
-
export const selectorChartPropsSize = createSelector(selectorChartDimensionsState, dimensionsState => ({
|
|
19
|
+
export const selectorChartPropsSize = createSelector([selectorChartDimensionsState], dimensionsState => ({
|
|
20
20
|
width: dimensionsState.propsWidth,
|
|
21
21
|
height: dimensionsState.propsHeight
|
|
22
22
|
}));
|
|
23
|
-
export const selectorChartContainerSize = createSelector(selectorChartWidth, selectorChartHeight, (width, height) => ({
|
|
23
|
+
export const selectorChartContainerSize = createSelector([selectorChartWidth, selectorChartHeight], (width, height) => ({
|
|
24
24
|
width,
|
|
25
25
|
height
|
|
26
26
|
}));
|
|
@@ -1,36 +1,10 @@
|
|
|
1
|
-
import { ChartRootSelector } from "../../utils/selectors.js";
|
|
2
|
-
import { UseChartIdSignature } from "./useChartId.types.js";
|
|
3
1
|
/**
|
|
4
2
|
* Get the id attribute of the chart.
|
|
5
3
|
* @param {ChartState<[UseChartIdSignature]>} state The state of the chart.
|
|
6
4
|
* @returns {string} The id attribute of the chart.
|
|
7
5
|
*/
|
|
8
|
-
export declare const selectorChartId: (
|
|
6
|
+
export declare const selectorChartId: import("reselect").Selector<import("./useChartId.types.js").UseChartIdState & import("../useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & Partial<{}> & {
|
|
9
7
|
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
10
|
-
}) => string | undefined) & {
|
|
11
|
-
clearCache: () => void;
|
|
12
|
-
resultsCount: () => number;
|
|
13
|
-
resetResultsCount: () => void;
|
|
14
8
|
} & {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
providedChartId: string | undefined;
|
|
18
|
-
}) => string | undefined;
|
|
19
|
-
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
20
|
-
chartId: string | undefined;
|
|
21
|
-
providedChartId: string | undefined;
|
|
22
|
-
}) => string | undefined) & {
|
|
23
|
-
clearCache: () => void;
|
|
24
|
-
resultsCount: () => number;
|
|
25
|
-
resetResultsCount: () => void;
|
|
26
|
-
};
|
|
27
|
-
lastResult: () => string | undefined;
|
|
28
|
-
dependencies: [ChartRootSelector<UseChartIdSignature>];
|
|
29
|
-
recomputations: () => number;
|
|
30
|
-
resetRecomputations: () => void;
|
|
31
|
-
dependencyRecomputations: () => number;
|
|
32
|
-
resetDependencyRecomputations: () => void;
|
|
33
|
-
} & {
|
|
34
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
35
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
36
|
-
};
|
|
9
|
+
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
10
|
+
}, string | undefined, any[]>;
|
|
@@ -6,4 +6,4 @@ const selectorChartIdState = state => state.id;
|
|
|
6
6
|
* @param {ChartState<[UseChartIdSignature]>} state The state of the chart.
|
|
7
7
|
* @returns {string} The id attribute of the chart.
|
|
8
8
|
*/
|
|
9
|
-
export const selectorChartId = createSelector(selectorChartIdState, idState => idState.chartId);
|
|
9
|
+
export const selectorChartId = createSelector([selectorChartIdState], idState => idState.chartId);
|
|
@@ -1,61 +1,13 @@
|
|
|
1
1
|
import { ChartRootSelector } from "../../utils/selectors.js";
|
|
2
2
|
import { UseChartSeriesSignature } from "./useChartSeries.types.js";
|
|
3
3
|
export declare const selectorChartSeriesState: ChartRootSelector<UseChartSeriesSignature>;
|
|
4
|
-
export declare const selectorChartSeriesProcessed: (
|
|
4
|
+
export declare const selectorChartSeriesProcessed: import("reselect").Selector<import("../useChartId/useChartId.types.js").UseChartIdState & import("../useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("./useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & Partial<{}> & {
|
|
5
5
|
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
6
|
-
}) => import("./useChartSeries.types.js").ProcessedSeries<keyof import("../../../index.js").ChartsSeriesConfig>) & {
|
|
7
|
-
clearCache: () => void;
|
|
8
|
-
resultsCount: () => number;
|
|
9
|
-
resetResultsCount: () => void;
|
|
10
6
|
} & {
|
|
11
|
-
resultFunc: (resultFuncArgs_0: {
|
|
12
|
-
processedSeries: import("./useChartSeries.types.js").ProcessedSeries<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
13
|
-
seriesConfig: import("../../models/index.js").ChartSeriesConfig<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
14
|
-
}) => import("./useChartSeries.types.js").ProcessedSeries<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
15
|
-
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
16
|
-
processedSeries: import("./useChartSeries.types.js").ProcessedSeries<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
17
|
-
seriesConfig: import("../../models/index.js").ChartSeriesConfig<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
18
|
-
}) => import("./useChartSeries.types.js").ProcessedSeries<keyof import("../../../index.js").ChartsSeriesConfig>) & {
|
|
19
|
-
clearCache: () => void;
|
|
20
|
-
resultsCount: () => number;
|
|
21
|
-
resetResultsCount: () => void;
|
|
22
|
-
};
|
|
23
|
-
lastResult: () => import("./useChartSeries.types.js").ProcessedSeries<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
24
|
-
dependencies: [ChartRootSelector<UseChartSeriesSignature>];
|
|
25
|
-
recomputations: () => number;
|
|
26
|
-
resetRecomputations: () => void;
|
|
27
|
-
dependencyRecomputations: () => number;
|
|
28
|
-
resetDependencyRecomputations: () => void;
|
|
29
|
-
} & {
|
|
30
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
31
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
32
|
-
};
|
|
33
|
-
export declare const selectorChartSeriesConfig: ((state: import("../useChartId/useChartId.types.js").UseChartIdState & import("../useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("./useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & Partial<{}> & {
|
|
34
7
|
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
resetResultsCount: () => void;
|
|
39
|
-
} & {
|
|
40
|
-
resultFunc: (resultFuncArgs_0: {
|
|
41
|
-
processedSeries: import("./useChartSeries.types.js").ProcessedSeries<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
42
|
-
seriesConfig: import("../../models/index.js").ChartSeriesConfig<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
43
|
-
}) => import("../../models/index.js").ChartSeriesConfig<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
44
|
-
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
45
|
-
processedSeries: import("./useChartSeries.types.js").ProcessedSeries<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
46
|
-
seriesConfig: import("../../models/index.js").ChartSeriesConfig<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
47
|
-
}) => import("../../models/index.js").ChartSeriesConfig<keyof import("../../../index.js").ChartsSeriesConfig>) & {
|
|
48
|
-
clearCache: () => void;
|
|
49
|
-
resultsCount: () => number;
|
|
50
|
-
resetResultsCount: () => void;
|
|
51
|
-
};
|
|
52
|
-
lastResult: () => import("../../models/index.js").ChartSeriesConfig<keyof import("../../../index.js").ChartsSeriesConfig>;
|
|
53
|
-
dependencies: [ChartRootSelector<UseChartSeriesSignature>];
|
|
54
|
-
recomputations: () => number;
|
|
55
|
-
resetRecomputations: () => void;
|
|
56
|
-
dependencyRecomputations: () => number;
|
|
57
|
-
resetDependencyRecomputations: () => void;
|
|
8
|
+
}, import("./useChartSeries.types.js").ProcessedSeries<keyof import("../../../index.js").ChartsSeriesConfig>, any[]>;
|
|
9
|
+
export declare const selectorChartSeriesConfig: import("reselect").Selector<import("../useChartId/useChartId.types.js").UseChartIdState & import("../useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("./useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & Partial<{}> & {
|
|
10
|
+
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
58
11
|
} & {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
};
|
|
12
|
+
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
13
|
+
}, import("../../models/index.js").ChartSeriesConfig<keyof import("../../../index.js").ChartsSeriesConfig>, any[]>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { createSelector } from "../../utils/selectors.js";
|
|
2
2
|
export const selectorChartSeriesState = state => state.series;
|
|
3
|
-
export const selectorChartSeriesProcessed = createSelector(selectorChartSeriesState, seriesState => seriesState.processedSeries);
|
|
4
|
-
export const selectorChartSeriesConfig = createSelector(selectorChartSeriesState, seriesState => seriesState.seriesConfig);
|
|
3
|
+
export const selectorChartSeriesProcessed = createSelector([selectorChartSeriesState], seriesState => seriesState.processedSeries);
|
|
4
|
+
export const selectorChartSeriesConfig = createSelector([selectorChartSeriesState], seriesState => seriesState.seriesConfig);
|
package/esm/internals/plugins/featurePlugins/useChartCartesianAxis/useChartAxisSize.selectors.d.ts
CHANGED
|
@@ -1,216 +1,20 @@
|
|
|
1
|
-
export declare const selectorChartLeftAxisSize: (
|
|
1
|
+
export declare const selectorChartLeftAxisSize: import("reselect").Selector<import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
|
|
2
2
|
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
3
|
-
}) => number) & {
|
|
4
|
-
clearCache: () => void;
|
|
5
|
-
resultsCount: () => number;
|
|
6
|
-
resetResultsCount: () => void;
|
|
7
3
|
} & {
|
|
8
|
-
resultFunc: (resultFuncArgs_0: import("../../../index.js").DefaultedYAxis[] | undefined) => number;
|
|
9
|
-
memoizedResultFunc: ((resultFuncArgs_0: import("../../../index.js").DefaultedYAxis[] | undefined) => number) & {
|
|
10
|
-
clearCache: () => void;
|
|
11
|
-
resultsCount: () => number;
|
|
12
|
-
resetResultsCount: () => void;
|
|
13
|
-
};
|
|
14
|
-
lastResult: () => number;
|
|
15
|
-
dependencies: [((state: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
|
|
16
|
-
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
17
|
-
}) => import("../../../index.js").DefaultedYAxis[] | undefined) & {
|
|
18
|
-
clearCache: () => void;
|
|
19
|
-
resultsCount: () => number;
|
|
20
|
-
resetResultsCount: () => void;
|
|
21
|
-
} & {
|
|
22
|
-
resultFunc: (resultFuncArgs_0: {
|
|
23
|
-
x: import("../../../index.js").DefaultedXAxis[];
|
|
24
|
-
y: import("../../../index.js").DefaultedYAxis[];
|
|
25
|
-
} | undefined) => import("../../../index.js").DefaultedYAxis[] | undefined;
|
|
26
|
-
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
27
|
-
x: import("../../../index.js").DefaultedXAxis[];
|
|
28
|
-
y: import("../../../index.js").DefaultedYAxis[];
|
|
29
|
-
} | undefined) => import("../../../index.js").DefaultedYAxis[] | undefined) & {
|
|
30
|
-
clearCache: () => void;
|
|
31
|
-
resultsCount: () => number;
|
|
32
|
-
resetResultsCount: () => void;
|
|
33
|
-
};
|
|
34
|
-
lastResult: () => import("../../../index.js").DefaultedYAxis[] | undefined;
|
|
35
|
-
dependencies: [(state: import("../../models/index.js").ChartState<[], [import("./useChartCartesianAxis.types.js").UseChartCartesianAxisSignature]>) => {
|
|
36
|
-
x: import("../../../index.js").DefaultedXAxis[];
|
|
37
|
-
y: import("../../../index.js").DefaultedYAxis[];
|
|
38
|
-
} | undefined];
|
|
39
|
-
recomputations: () => number;
|
|
40
|
-
resetRecomputations: () => void;
|
|
41
|
-
dependencyRecomputations: () => number;
|
|
42
|
-
resetDependencyRecomputations: () => void;
|
|
43
|
-
} & {
|
|
44
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
45
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
46
|
-
}];
|
|
47
|
-
recomputations: () => number;
|
|
48
|
-
resetRecomputations: () => void;
|
|
49
|
-
dependencyRecomputations: () => number;
|
|
50
|
-
resetDependencyRecomputations: () => void;
|
|
51
|
-
} & {
|
|
52
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
53
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
54
|
-
};
|
|
55
|
-
export declare const selectorChartRightAxisSize: ((state: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
|
|
56
4
|
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
resultsCount: () => number;
|
|
60
|
-
resetResultsCount: () => void;
|
|
61
|
-
} & {
|
|
62
|
-
resultFunc: (resultFuncArgs_0: import("../../../index.js").DefaultedYAxis[] | undefined) => number;
|
|
63
|
-
memoizedResultFunc: ((resultFuncArgs_0: import("../../../index.js").DefaultedYAxis[] | undefined) => number) & {
|
|
64
|
-
clearCache: () => void;
|
|
65
|
-
resultsCount: () => number;
|
|
66
|
-
resetResultsCount: () => void;
|
|
67
|
-
};
|
|
68
|
-
lastResult: () => number;
|
|
69
|
-
dependencies: [((state: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
|
|
70
|
-
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
71
|
-
}) => import("../../../index.js").DefaultedYAxis[] | undefined) & {
|
|
72
|
-
clearCache: () => void;
|
|
73
|
-
resultsCount: () => number;
|
|
74
|
-
resetResultsCount: () => void;
|
|
75
|
-
} & {
|
|
76
|
-
resultFunc: (resultFuncArgs_0: {
|
|
77
|
-
x: import("../../../index.js").DefaultedXAxis[];
|
|
78
|
-
y: import("../../../index.js").DefaultedYAxis[];
|
|
79
|
-
} | undefined) => import("../../../index.js").DefaultedYAxis[] | undefined;
|
|
80
|
-
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
81
|
-
x: import("../../../index.js").DefaultedXAxis[];
|
|
82
|
-
y: import("../../../index.js").DefaultedYAxis[];
|
|
83
|
-
} | undefined) => import("../../../index.js").DefaultedYAxis[] | undefined) & {
|
|
84
|
-
clearCache: () => void;
|
|
85
|
-
resultsCount: () => number;
|
|
86
|
-
resetResultsCount: () => void;
|
|
87
|
-
};
|
|
88
|
-
lastResult: () => import("../../../index.js").DefaultedYAxis[] | undefined;
|
|
89
|
-
dependencies: [(state: import("../../models/index.js").ChartState<[], [import("./useChartCartesianAxis.types.js").UseChartCartesianAxisSignature]>) => {
|
|
90
|
-
x: import("../../../index.js").DefaultedXAxis[];
|
|
91
|
-
y: import("../../../index.js").DefaultedYAxis[];
|
|
92
|
-
} | undefined];
|
|
93
|
-
recomputations: () => number;
|
|
94
|
-
resetRecomputations: () => void;
|
|
95
|
-
dependencyRecomputations: () => number;
|
|
96
|
-
resetDependencyRecomputations: () => void;
|
|
97
|
-
} & {
|
|
98
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
99
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
100
|
-
}];
|
|
101
|
-
recomputations: () => number;
|
|
102
|
-
resetRecomputations: () => void;
|
|
103
|
-
dependencyRecomputations: () => number;
|
|
104
|
-
resetDependencyRecomputations: () => void;
|
|
105
|
-
} & {
|
|
106
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
107
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
108
|
-
};
|
|
109
|
-
export declare const selectorChartTopAxisSize: ((state: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
|
|
5
|
+
}, number, []>;
|
|
6
|
+
export declare const selectorChartRightAxisSize: import("reselect").Selector<import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
|
|
110
7
|
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
111
|
-
}) => number) & {
|
|
112
|
-
clearCache: () => void;
|
|
113
|
-
resultsCount: () => number;
|
|
114
|
-
resetResultsCount: () => void;
|
|
115
|
-
} & {
|
|
116
|
-
resultFunc: (resultFuncArgs_0: import("../../../index.js").DefaultedXAxis[] | undefined) => number;
|
|
117
|
-
memoizedResultFunc: ((resultFuncArgs_0: import("../../../index.js").DefaultedXAxis[] | undefined) => number) & {
|
|
118
|
-
clearCache: () => void;
|
|
119
|
-
resultsCount: () => number;
|
|
120
|
-
resetResultsCount: () => void;
|
|
121
|
-
};
|
|
122
|
-
lastResult: () => number;
|
|
123
|
-
dependencies: [((state: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
|
|
124
|
-
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
125
|
-
}) => import("../../../index.js").DefaultedXAxis[] | undefined) & {
|
|
126
|
-
clearCache: () => void;
|
|
127
|
-
resultsCount: () => number;
|
|
128
|
-
resetResultsCount: () => void;
|
|
129
|
-
} & {
|
|
130
|
-
resultFunc: (resultFuncArgs_0: {
|
|
131
|
-
x: import("../../../index.js").DefaultedXAxis[];
|
|
132
|
-
y: import("../../../index.js").DefaultedYAxis[];
|
|
133
|
-
} | undefined) => import("../../../index.js").DefaultedXAxis[] | undefined;
|
|
134
|
-
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
135
|
-
x: import("../../../index.js").DefaultedXAxis[];
|
|
136
|
-
y: import("../../../index.js").DefaultedYAxis[];
|
|
137
|
-
} | undefined) => import("../../../index.js").DefaultedXAxis[] | undefined) & {
|
|
138
|
-
clearCache: () => void;
|
|
139
|
-
resultsCount: () => number;
|
|
140
|
-
resetResultsCount: () => void;
|
|
141
|
-
};
|
|
142
|
-
lastResult: () => import("../../../index.js").DefaultedXAxis[] | undefined;
|
|
143
|
-
dependencies: [(state: import("../../models/index.js").ChartState<[], [import("./useChartCartesianAxis.types.js").UseChartCartesianAxisSignature]>) => {
|
|
144
|
-
x: import("../../../index.js").DefaultedXAxis[];
|
|
145
|
-
y: import("../../../index.js").DefaultedYAxis[];
|
|
146
|
-
} | undefined];
|
|
147
|
-
recomputations: () => number;
|
|
148
|
-
resetRecomputations: () => void;
|
|
149
|
-
dependencyRecomputations: () => number;
|
|
150
|
-
resetDependencyRecomputations: () => void;
|
|
151
|
-
} & {
|
|
152
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
153
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
154
|
-
}];
|
|
155
|
-
recomputations: () => number;
|
|
156
|
-
resetRecomputations: () => void;
|
|
157
|
-
dependencyRecomputations: () => number;
|
|
158
|
-
resetDependencyRecomputations: () => void;
|
|
159
8
|
} & {
|
|
160
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
161
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
162
|
-
};
|
|
163
|
-
export declare const selectorChartBottomAxisSize: ((state: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
|
|
164
9
|
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
resetResultsCount: () => void;
|
|
10
|
+
}, number, []>;
|
|
11
|
+
export declare const selectorChartTopAxisSize: import("reselect").Selector<import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
|
|
12
|
+
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
169
13
|
} & {
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
resetResultsCount: () => void;
|
|
175
|
-
};
|
|
176
|
-
lastResult: () => number;
|
|
177
|
-
dependencies: [((state: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
|
|
178
|
-
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
179
|
-
}) => import("../../../index.js").DefaultedXAxis[] | undefined) & {
|
|
180
|
-
clearCache: () => void;
|
|
181
|
-
resultsCount: () => number;
|
|
182
|
-
resetResultsCount: () => void;
|
|
183
|
-
} & {
|
|
184
|
-
resultFunc: (resultFuncArgs_0: {
|
|
185
|
-
x: import("../../../index.js").DefaultedXAxis[];
|
|
186
|
-
y: import("../../../index.js").DefaultedYAxis[];
|
|
187
|
-
} | undefined) => import("../../../index.js").DefaultedXAxis[] | undefined;
|
|
188
|
-
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
189
|
-
x: import("../../../index.js").DefaultedXAxis[];
|
|
190
|
-
y: import("../../../index.js").DefaultedYAxis[];
|
|
191
|
-
} | undefined) => import("../../../index.js").DefaultedXAxis[] | undefined) & {
|
|
192
|
-
clearCache: () => void;
|
|
193
|
-
resultsCount: () => number;
|
|
194
|
-
resetResultsCount: () => void;
|
|
195
|
-
};
|
|
196
|
-
lastResult: () => import("../../../index.js").DefaultedXAxis[] | undefined;
|
|
197
|
-
dependencies: [(state: import("../../models/index.js").ChartState<[], [import("./useChartCartesianAxis.types.js").UseChartCartesianAxisSignature]>) => {
|
|
198
|
-
x: import("../../../index.js").DefaultedXAxis[];
|
|
199
|
-
y: import("../../../index.js").DefaultedYAxis[];
|
|
200
|
-
} | undefined];
|
|
201
|
-
recomputations: () => number;
|
|
202
|
-
resetRecomputations: () => void;
|
|
203
|
-
dependencyRecomputations: () => number;
|
|
204
|
-
resetDependencyRecomputations: () => void;
|
|
205
|
-
} & {
|
|
206
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
207
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
208
|
-
}];
|
|
209
|
-
recomputations: () => number;
|
|
210
|
-
resetRecomputations: () => void;
|
|
211
|
-
dependencyRecomputations: () => number;
|
|
212
|
-
resetDependencyRecomputations: () => void;
|
|
14
|
+
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
15
|
+
}, number, []>;
|
|
16
|
+
export declare const selectorChartBottomAxisSize: import("reselect").Selector<import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
|
|
17
|
+
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
213
18
|
} & {
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
};
|
|
19
|
+
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
20
|
+
}, number, []>;
|
|
@@ -1,70 +1,11 @@
|
|
|
1
1
|
import { UseChartCartesianAxisSignature } from "./useChartCartesianAxis.types.js";
|
|
2
|
+
import { DefaultedXAxis, DefaultedYAxis } from "../../../../models/axis.js";
|
|
2
3
|
import { ChartState } from "../../models/chart.js";
|
|
3
4
|
export declare const selectorChartCartesianAxisState: (state: ChartState<[], [UseChartCartesianAxisSignature]>) => {
|
|
4
|
-
x:
|
|
5
|
-
y:
|
|
5
|
+
x: DefaultedXAxis[];
|
|
6
|
+
y: DefaultedYAxis[];
|
|
6
7
|
} | undefined;
|
|
7
|
-
export
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
resultsCount: () => number;
|
|
12
|
-
resetResultsCount: () => void;
|
|
13
|
-
} & {
|
|
14
|
-
resultFunc: (resultFuncArgs_0: {
|
|
15
|
-
x: import("../../../index.js").DefaultedXAxis[];
|
|
16
|
-
y: import("../../../index.js").DefaultedYAxis[];
|
|
17
|
-
} | undefined) => import("../../../index.js").DefaultedXAxis[] | undefined;
|
|
18
|
-
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
19
|
-
x: import("../../../index.js").DefaultedXAxis[];
|
|
20
|
-
y: import("../../../index.js").DefaultedYAxis[];
|
|
21
|
-
} | undefined) => import("../../../index.js").DefaultedXAxis[] | undefined) & {
|
|
22
|
-
clearCache: () => void;
|
|
23
|
-
resultsCount: () => number;
|
|
24
|
-
resetResultsCount: () => void;
|
|
25
|
-
};
|
|
26
|
-
lastResult: () => import("../../../index.js").DefaultedXAxis[] | undefined;
|
|
27
|
-
dependencies: [(state: ChartState<[], [UseChartCartesianAxisSignature]>) => {
|
|
28
|
-
x: import("../../../index.js").DefaultedXAxis[];
|
|
29
|
-
y: import("../../../index.js").DefaultedYAxis[];
|
|
30
|
-
} | undefined];
|
|
31
|
-
recomputations: () => number;
|
|
32
|
-
resetRecomputations: () => void;
|
|
33
|
-
dependencyRecomputations: () => number;
|
|
34
|
-
resetDependencyRecomputations: () => void;
|
|
35
|
-
} & {
|
|
36
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
37
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
38
|
-
};
|
|
39
|
-
export declare const selectorChartRawYAxis: ((state: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartDimensions/useChartDimensions.types.js").UseChartDimensionsState & import("../../corePlugins/useChartSeries/useChartSeries.types.js").UseChartSeriesState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartAnimation/useChartAnimation.types.js").UseChartAnimationState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
|
|
40
|
-
cacheKey: import("../../models/index.js").ChartStateCacheKey;
|
|
41
|
-
}) => import("../../../index.js").DefaultedYAxis[] | undefined) & {
|
|
42
|
-
clearCache: () => void;
|
|
43
|
-
resultsCount: () => number;
|
|
44
|
-
resetResultsCount: () => void;
|
|
45
|
-
} & {
|
|
46
|
-
resultFunc: (resultFuncArgs_0: {
|
|
47
|
-
x: import("../../../index.js").DefaultedXAxis[];
|
|
48
|
-
y: import("../../../index.js").DefaultedYAxis[];
|
|
49
|
-
} | undefined) => import("../../../index.js").DefaultedYAxis[] | undefined;
|
|
50
|
-
memoizedResultFunc: ((resultFuncArgs_0: {
|
|
51
|
-
x: import("../../../index.js").DefaultedXAxis[];
|
|
52
|
-
y: import("../../../index.js").DefaultedYAxis[];
|
|
53
|
-
} | undefined) => import("../../../index.js").DefaultedYAxis[] | undefined) & {
|
|
54
|
-
clearCache: () => void;
|
|
55
|
-
resultsCount: () => number;
|
|
56
|
-
resetResultsCount: () => void;
|
|
57
|
-
};
|
|
58
|
-
lastResult: () => import("../../../index.js").DefaultedYAxis[] | undefined;
|
|
59
|
-
dependencies: [(state: ChartState<[], [UseChartCartesianAxisSignature]>) => {
|
|
60
|
-
x: import("../../../index.js").DefaultedXAxis[];
|
|
61
|
-
y: import("../../../index.js").DefaultedYAxis[];
|
|
62
|
-
} | undefined];
|
|
63
|
-
recomputations: () => number;
|
|
64
|
-
resetRecomputations: () => void;
|
|
65
|
-
dependencyRecomputations: () => number;
|
|
66
|
-
resetDependencyRecomputations: () => void;
|
|
67
|
-
} & {
|
|
68
|
-
memoize: typeof import("reselect").weakMapMemoize;
|
|
69
|
-
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
70
|
-
};
|
|
8
|
+
export type SelectorChartRawXAxisType = <State extends ChartState<[], [UseChartCartesianAxisSignature]>>(state: State) => DefaultedXAxis[] | undefined;
|
|
9
|
+
export declare const selectorChartRawXAxis: SelectorChartRawXAxisType;
|
|
10
|
+
export type SelectorChartRawYAxisType = <State extends ChartState<[], [UseChartCartesianAxisSignature]>>(state: State) => DefaultedYAxis[] | undefined;
|
|
11
|
+
export declare const selectorChartRawYAxis: SelectorChartRawYAxisType;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { createSelector } from "../../utils/selectors.js";
|
|
2
1
|
export const selectorChartCartesianAxisState = state => state.cartesianAxis;
|
|
3
|
-
export const selectorChartRawXAxis =
|
|
4
|
-
export const selectorChartRawYAxis =
|
|
2
|
+
export const selectorChartRawXAxis = state => state.cartesianAxis?.x;
|
|
3
|
+
export const selectorChartRawYAxis = state => state.cartesianAxis?.y;
|