Legend
Properties
Sets the color of the border enclosing the legend. Default: #444.
Sets the width (in px) of the border enclosing the legend. Default: 0.
Sets the orientation of the legend (vertical/horizontal). Default: vertical.
The order at which the legend items are displayed. "normal": top-to-bottom in the same order as the input data. "reversed": the items are displayed in the opposite order.
Sets the legend's horizontal position anchor. This anchor binds the x
position to the "left", "center" or "right" of the legend. Value "auto" anchors legends to the right for x
values greater than or equal to 2/3, anchors legends to the left for x
values less than or equal to 1/3 and anchors legends with respect to their center otherwise. Default: left.
Number between or equal to -2 and 3. Sets the y position (in normalized coordinates) of the legend. Defaults to "1" for vertical legends, defaults to "-0.1" for horizontal legends on graphs w/o range sliders and defaults to "1.1" for horizontal legends on graph with one or multiple range sliders.
Sets the legend's vertical position anchor. This anchor binds the y
position to the "top", "middle" or "bottom" of the legend. Value "auto" anchors legends at their bottom for y
values less than or equal to 1/3, anchors legends to at their top for y
values greater than or equal to 2/3 and anchors legends with respect to their middle otherwise.
Functions
A safe Number ray
A safe Number range
Convert any type-safe configurator to json string