title: legend name: legend desc: | The legend element is a container object for legends.

reference: | (plot )

option_summary: true properties: - title: "Legend Options" anchor: legend-options properties: - name: position desc: | Set the legend position. desc_code: | position ([top|center|bottom] [left|center|right]) examples: | ;; set the position to top left position (top left) - name: item desc: | Add a legend/item element to the legend. See the legend/item element for options. desc_code: | item () - name: item-flow desc: | Enable flowing/inline item layout. desc_code: | item-flow [on|off] - name: item-column-padding desc: | Set the item column padding. See the measure page for more details on valid values. desc_code: | item-column-padding examples: | ;; set the column padding to 1em item-column-padding 2em - name: item-row-padding desc: | Set the item row padding. See the measure page for more details on valid values. desc_code: | item-row-padding examples: | ;; set the row padding to 1em item-row-padding 2em - name: extra desc: | Add custom elements to the legend desc_code: | extra ()

Edit this page on GitHub