Comment on page
Create a custom legend for any set of data or range. Creating a legend with this component allows for a bit more flexibility than what can be achieved by working with the legends automatically output from different studies.
- values [Required]
A list of numerical values or data collections that the legend refers to. This can also be the minimum and maximum numerical values of the data. The legend's maximum and minimum values will be set by the max and min of the data set.
An optional plane or point to set the location of the legend. (Default: Rhino origin - (0, 0, 0))
A text string representing a legend title. Legends are usually titled with the units of the data.
Optional legend parameters from the "LB Legend Parameters" component.
Optional 2D LegendParameters from the "LB Legend Parameters 2D" component, which will be used to customize a legend in the plane of the screen so that it functions like a head-up display (HUD). If unspecified, the VisualizationSet will be rendered with 3D legends in the Rhino scene much like the other native Ladybug Tools components.
A colored mesh for the legend colors.
A text object for the legend title.
An array of text objects for the label text.
An array of text strings for the label text.
An array of colors that align with the input _values. This can be used to color geometry that aligns with the values.