@mui/x-charts
Version:
The community edition of MUI X Charts components.
23 lines • 1.49 kB
text/typescript
import { type AllSeriesType } from "../../../models/seriesType/index.mjs";
export declare function getSeriesWithDefaultValues(seriesData: AllSeriesType<'bar'>, seriesIndex: number, colors: readonly string[]): {
id: string;
color: string;
type: "bar";
data?: ReadonlyArray<import("../../../index.mjs").BarValueType | null>;
dataKey?: string;
valueGetter?: (item: import("../../../internals/index.mjs").DatasetElementType<unknown>) => import("../../../index.mjs").BarValueType | null;
label?: string | ((location: "tooltip" | "legend") => string);
layout?: "horizontal" | "vertical";
stackOffset?: import("../../../index.mjs").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.mjs").SeriesValueFormatter<number | null> | undefined;
highlightScope?: import("../../../internals/index.mjs").CommonHighlightScope | undefined;
labelMarkType?: import("../../../internals/index.mjs").ChartsLabelMarkType;
colorGetter?: ((data: import("../../../internals/index.mjs").ColorCallbackValue<number | null>) => string) | undefined;
xAxisId?: import("../../../internals/index.mjs").AxisId;
yAxisId?: import("../../../internals/index.mjs").AxisId;
stack?: string;
stackOrder?: import("../../../index.mjs").StackOrderType;
};