import { type AttributeOrPlaceholder, type MeasureOrPlaceholder, type NullableFiltersOrPlaceholders, type SortsOrPlaceholders } from "@gooddata/sdk-ui"; import { type IBucketChartProps } from "../../interfaces/chartProps.js"; /** * @beta */ export interface IMekkoBucketProps { /** * Specify the measure that sets each column's width (proportional to its value). */ widthMeasure?: MeasureOrPlaceholder; /** * Specify the measure that sets each column's height, read off the Y axis. */ heightMeasure?: MeasureOrPlaceholder; /** * Specify the attribute used to create the columns (one column per attribute element). */ viewBy?: AttributeOrPlaceholder; /** * Specify the attribute used to stack the columns into segments. */ stackBy?: AttributeOrPlaceholder; /** * Specify filters to apply on the data to chart. */ filters?: NullableFiltersOrPlaceholders; /** * Specify how to sort the data to chart. */ sortBy?: SortsOrPlaceholders; /** * Resolution context for composed placeholders. */ placeholdersResolutionContext?: any; } /** * @beta */ export interface IMekkoProps extends IBucketChartProps, IMekkoBucketProps { } /** * Mekko (Marimekko) chart shows data as stacked columns whose widths are proportional to a measure. * * @remarks * Each column's width is driven by the width measure, its height by the height measure, columns are * created from the view-by attribute, and segments come from the stack-by attribute. * * @beta */ export declare function Mekko(props: IMekkoProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=Mekko.d.ts.map