OptionalxLegend origin x-coordinate in pixels.
OptionalyLegend origin y-coordinate in pixels.
OptionalwidthLegend width in pixels.
OptionalheightLegend height in pixels.
OptionaltitleLegend title text.
OptionalsubtitleLegend subtitle text.
OptionaltitleLegend title font size in pixels.
OptionalboxInner spacing around legend content.
OptionalboxBackground opacity of the legend box.
OptionaltitlePadding between the title block and legend body.
OptionalshapeSymbol swatch width in pixels.
OptionalshapeSymbol swatch height in pixels.
OptionalshapeHorizontal gap between shape and label.
OptionalsepLength of separator lines in discrete legends.
OptionallabelLabel font size in pixels.
OptionallabelPixel offsets applied to labels.
OptionallabelCustom formatter for legend labels.
OptionaldecimalsNumber of decimal places for auto-formatted labels.
OptionalorientationLegend layout direction.
OptionalascendingSort legend entries in ascending order when true.
OptionalnoWhether to display the no-data legend item.
OptionalnoLabel used for no-data legend item.
OptionalnoVertical gap before the no-data swatch in pixels.
OptionalnoWidth of the no-data swatch in pixels.
OptionalnoHeight of the no-data swatch in pixels.
OptionalmaxWhether to show dataset min/max labels when supported.
OptionalmaxText affixes for min/max labels as [minSuffix, maxSuffix].
OptionalflowConfiguration for the flow width legend.
OptionalnodeConfiguration for the node size legend.
OptionalflowConfiguration for the flow color legend.
OptionalregionConfiguration for the region color legend.
Configuration for flow map legends. Flow maps can display multiple legend types: flow width, node size, flow color, and region color.