OptionaltitleTitle for the color legend.
OptionalsubtitleSubtitle displayed below the title.
OptionaltitlePadding between title and legend content in pixels.
OptionalmarginTop margin (distance from size legend) in pixels.
OptionalshapeWidth of color swatches in pixels.
OptionalshapeHeight of color swatches in pixels.
OptionalshapePadding between swatches in pixels.
OptionallabelOffset adjustments for labels.
OptionaldecimalsNumber of decimal places for legend labels.
OptionallabelCustom formatter function for legend labels.
OptionallabelType of labels to show.
OptionallabelsUser-defined labels for each class.
OptionalnoWhether to show a "no data" item.
OptionalnoText label for "no data" item.
OptionalsepLength of separation line in pixels.
OptionalsepColor of separation line.
OptionalsepWidth of separation line in pixels.
OptionaltickLength of threshold ticks in pixels.
OptionalpointLabel for the point of divergence in diverging legends.
OptionalpointValue at the point of divergence in diverging legends.
OptionalpointPadding around divergence point in pixels.
OptionaldivergingLength of diverging line in pixels.
OptionaldivergingLength of diverging arrows in pixels.
OptionalshowWhether to draw the horizontal divergence line/tick. Set to false to show only the arrows (when pointOfDivergenceLabel has 2 parts separated by '|').
OptionaldivergingExtra gap in pixels added after the longest legend label when computing the diverging line's length, if divergingLineLength isn't explicitly set.
OptionalpointPosition the 2 diverging labels near the top/bottom of the whole scale instead of near the divergence point. Unless divergingArrowLength is explicitly set, the arrows also stretch to reach near their own label.
OptionalpointPosition the 2 diverging labels above/below their arrowhead, starting at the arrow's x position, instead of beside it. Shorten divergingArrowLength to leave room for the label text.
Configuration for color legend in proportional symbol maps.