@mui/x-charts
Version:
The community edition of MUI X Charts components.
36 lines • 1.65 kB
TypeScript
import { ChartRootSelector } from "../../utils/selectors.js";
import { UseChartIdSignature } from "./useChartId.types.js";
/**
* Get the id attribute of the chart.
* @param {ChartState<[UseChartIdSignature]>} state The state of the chart.
* @returns {string} The id attribute of the chart.
*/
export declare const selectorChartId: ((state: 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<{}> & {
cacheKey: import("../../models/index.js").ChartStateCacheKey;
}) => string | undefined) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
} & {
resultFunc: (resultFuncArgs_0: {
chartId: string | undefined;
providedChartId: string | undefined;
}) => string | undefined;
memoizedResultFunc: ((resultFuncArgs_0: {
chartId: string | undefined;
providedChartId: string | undefined;
}) => string | undefined) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
};
lastResult: () => string | undefined;
dependencies: [ChartRootSelector<UseChartIdSignature>];
recomputations: () => number;
resetRecomputations: () => void;
dependencyRecomputations: () => number;
resetDependencyRecomputations: () => void;
} & {
memoize: typeof import("reselect").weakMapMemoize;
argsMemoize: typeof import("reselect").weakMapMemoize;
};