CollectionsPlotLegend options object that extends OBJ_Collection options object (without parent).
parent
A legend consists of a number of trace samples and their corresponding names, and may have an encompassing frame with a border and fill.
position
length
number
space
offset
font
fontColorIsLineColor
boolean
frame
show
hide
custom
traces
CollectionsPlotLegend options object that extends OBJ_Collection options object (without
parent).A legend consists of a number of trace samples and their corresponding names, and may have an encompassing frame with a border and fill.
positionTypeParsablePoint — position of the first trace in the legendlengthnumber— length of the line samplespacenumber— space between the line and the textoffsetTypeParsablePoint | TypeParsablePoint[] — offset between trace samples - can be used to space out a legend, or make it horizontalfontOBJ_Font — default font for trace sample textfontColorIsLineColorboolean— set the trace sample text color to the same as the line sampleframenumber[] | OBJ_PlotFrame — frame around the legend - specifying just a color will create a solid fill rectangle of that colorshownumber[] — array of which trace indeces to show if only some should be shownhidenumber[] — array of which trace indeces to hide if some should be hiddencustomOBJ_PlotLegendCustom — customizations to specific trace samplestracesCOL_Trace[] — the traces from the plot that this legend will display. This is used by CollectionsPlot and should not be used by the user.