UNPKG

@mui/x-charts

Version:

The community edition of MUI X Charts components.

22 lines 1.33 kB
import { type AllSeriesType } from "../../../models/seriesType/index.js"; export declare function getSeriesWithDefaultValues(seriesData: AllSeriesType<'bar'>, seriesIndex: number, colors: readonly string[]): { id: import("../../../index.js").SeriesId; color: string; type: "bar"; data?: ReadonlyArray<import("../../../index.js").BarValueType | null>; dataKey?: string; label?: string | ((location: "tooltip" | "legend") => string); layout?: "horizontal" | "vertical"; stackOffset?: import("../../../index.js").StackOffsetType; minBarSize?: number; barLabel?: "value" | ((item: import("@mui/x-charts/BarChart").BarItem, context: import("@mui/x-charts/BarChart").BarLabelContext) => string | null | undefined); barLabelPlacement?: "center" | "outside"; valueFormatter?: import("../../../internals/index.js").SeriesValueFormatter<number | null> | undefined; highlightScope?: import("../../../index.js").HighlightScope; labelMarkType?: import("../../../internals/index.js").ChartsLabelMarkType; colorGetter?: ((data: import("../../../internals/index.js").ColorCallbackValue<number | null>) => string) | undefined; xAxisId?: import("../../../internals/index.js").AxisId; yAxisId?: import("../../../internals/index.js").AxisId; stack?: string; stackOrder?: import("../../../index.js").StackOrderType; };