@mui/x-charts
Version:
The community edition of MUI X Charts components.
16 lines • 2.47 kB
TypeScript
import type { AxisId } from "../../../../models/axis.js";
import { type DomainDefinition } from "./domain.js";
/**
* Selector that computes niced domains for X axes.
* Used by auto-size to get accurate tick labels that match what the chart actually displays.
*/
export declare const selectorChartXAxisDomainsForAutoSize: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & 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 & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
cacheKey: import("../../models/index.js").ChartStateCacheKey;
}) => Record<AxisId, DomainDefinition>;
/**
* Selector that computes niced domains for Y axes.
* Used by auto-size to get accurate tick labels that match what the chart actually displays.
*/
export declare const selectorChartYAxisDomainsForAutoSize: (args_0: import("../../corePlugins/useChartId/useChartId.types.js").UseChartIdState & import("../../corePlugins/useChartSeriesConfig/useChartSeriesConfig.types.js").UseChartSeriesConfigState<keyof import("../../../index.js").ChartsSeriesConfig> & import("../../corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.types.js").UseChartExperimentalFeaturesState & 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 & import("../../../index.js").UseChartInteractionListenerState & Partial<import("./useChartCartesianAxis.types.js").UseChartCartesianAxisState> & {
cacheKey: import("../../models/index.js").ChartStateCacheKey;
}) => Record<AxisId, DomainDefinition>;