insightBuckets()
Home > @gooddata/sdk-model > insightBuckets
insightBuckets() function
Gets buckets for the insight. If ids are provided, then only returns buckets matching the ids.
Signature:
export declare function insightBuckets(insight: IInsightDefinition, ...ids: string[]): IBucket[];
Parameters
Parameter | Type | Description |
---|---|---|
insight | IInsightDefinition | insight to work with |
ids | string[] | local identifiers of buckets |
Returns:
IBucket[]
empty list if none match