/** * Base interface for geo data items * * @internal */ export interface IGeoDataItem { /** * Display name of the data item */ name: string; /** * Index position in the data view */ index: number; } /** * Represents an attribute item in geo data * * @internal */ export interface IGeoAttributeItem extends IGeoDataItem { /** * Identifier or URI of the display form used to produce this attribute data. */ displayFormId?: string; /** * Execution-local identifier of the attribute this data came from. Unique within the * execution, unlike {@link displayFormId}, so it is what identifies a row in the custom * tooltip lookup - see `buildKeySegment`. */ localIdentifier?: string; /** * Array of string values for the attribute */ data: string[]; /** * Optional attribute element URIs. */ uris?: string[]; } /** * Represents a segment item with URIs for drilling * * @internal */ export interface IGeoSegmentItem extends IGeoAttributeItem { /** * URIs corresponding to segment values for drilling functionality */ uris: string[]; } /** * Represents a measure item with numeric data * * @internal */ export interface IGeoMeasureItem extends IGeoDataItem { /** * Format string for displaying measure values */ format: string; /** * Array of numeric values */ data: number[]; /** * Bucket localIdentifier of the underlying measure. * * @remarks * Used by custom-tooltip reference resolution as the lookup key into * `ITooltipReferenceMaps.measures` to find the LDM identifier referenced * as `{metric/}` in tooltip content. */ localIdentifier?: string; } /** * Common subset of geo data used by legends * * @internal */ export interface IGeoCommonData { /** * Color measure data (determines pushpin or area color) */ color?: IGeoMeasureItem; /** * Segment data (for categorization and drilling) */ segment?: IGeoSegmentItem; /** * Additional tooltip text attribute */ tooltipText?: IGeoAttributeItem; } //# sourceMappingURL=common.d.ts.map