import { type IInsight, type IInsightDefinition } from "@gooddata/sdk-model"; import { type ISortConfig } from "../../../interfaces/SortConfig.js"; import { type IDrillDownContext, type IExtendedReferencePoint, type IReferencePoint, type IUiConfig, type IVisConstruct, type IVisProps } from "../../../interfaces/Visualization.js"; import { PluggableBaseChart } from "../baseChart/PluggableBaseChart.js"; /** * PluggableAreaChart * * ## Buckets * * | Name | Id | Accepts | * |----------|----------|---------------------| * | Measures | measures | measures only | * | ViewBy | view | attributes or dates | * | StackBy | stack | attributes only | * * ### Bucket axioms * * - |Measures| ≥ 1 * - |ViewBy| ≤ 2 * - |StackBy| ≤ 1 * - |ViewBy| + |StackBy| ≤ 2 * - |ViewBy| + |StackBy| = 2 ⇒ |Measures| ≤ 1 * - |ViewBy| + |StackBy| \< 2 ⇒ |Measures| ≤ 20 * * ## Dimensions * * The PluggableAreaChart always creates two dimensional execution. * * - |StackBy| = 1 ∧ |ViewBy| ≥ 1 ⇒ [[StackBy[0]], [ViewBy[0], MeasureGroupIdentifier]] * - |StackBy| = 1 ∧ |ViewBy| = 0 ⇒ [[StackBy[0]], [MeasureGroupIdentifier]] * - |StackBy| = 0 ∧ |ViewBy| = 2 ⇒ [[ViewBy[1]], [ViewBy[0], MeasureGroupIdentifier]] * - |StackBy| = 0 ∧ |ViewBy| = 1 ⇒ [[MeasureGroupIdentifier], [ViewBy[0]]] * - |StackBy| = 0 ∧ |ViewBy| = 0 ⇒ [[MeasureGroupIdentifier], []]] * * ## Sorts * * Unless the user specifies otherwise, PluggableAreaChart does not use any sorts. * */ export declare class PluggableAreaChart extends PluggableBaseChart { constructor(props: IVisConstruct); getUiConfig(): IUiConfig; getExtendedReferencePoint(referencePoint: IReferencePoint): Promise; getInsightWithDrillDownApplied(source: IInsight, drillDownContext: IDrillDownContext, backendSupportsElementUris: boolean): IInsight; getSortConfig(referencePoint: IReferencePoint): Promise; protected updateInstanceProperties(options: IVisProps, insight: IInsightDefinition, insightPropertiesMeta: any): void; protected configureBuckets(extendedReferencePoint: IExtendedReferencePoint): void; protected getSupportedPropertiesList(): string[]; protected renderConfigurationPanel(insight: IInsightDefinition, options: IVisProps): void; private addFilters; private updateCustomSupportedProperties; private addSupportedProperties; private getViewByMaxItemCount; private getBucketMeasures; private getBucketItemsWithMultipleDates; private getDefaultAndAvailableSort; private isSortDisabled; private isContinuousLineControlDisabled; private isDistinctPointShapesDisabled; } //# sourceMappingURL=PluggableAreaChart.d.ts.map