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].
Configuration for pattern fill legends. Used to display a legend showing hatching/pattern options for regions. The pattern fill legend is typically appended below the main choropleth legend.