IGeoChartLegendConfig
Legend configuration shared by GeoChart components.
export interface IGeoChartLegendConfig
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
boolean | (Optional) Enables legend rendering. | ||
(Optional) Legend position. | |||
boolean | “autoPositionWithPopup” | (Optional) Responsive behavior for the geo legend. |
Property details
IGeoChartLegendConfig.enabledproperty
Enables legend rendering.
enabled?: boolean;
Default Value
true
IGeoChartLegendConfig.positionproperty
Legend position. "auto" picks a placement based on available space. Legacy edge-based values are still accepted for backward compatibility, but are deprecated and normalized to corner values: - "top" maps to "top-right" - "right" maps to "top-right" - "bottom" maps to "bottom-right" - "left" maps to "top-left"
position?: GeoLegendPosition | LegacyGeoLegendPosition;
Default Value
“auto”
IGeoChartLegendConfig.responsiveproperty
Responsive behavior for the geo legend.
responsive?: boolean | "autoPositionWithPopup";
Default Value
false
Remarks
true enables responsive legend layout. The legacy "autoPositionWithPopup" value is kept for backward compatibility and preserves the automatic legend placement heuristics used in smaller containers.