Since 16.0.0. Collapsible legend sections are not recommended in the Redwood theme.
Whether the section is initially expanded. Only applies if the section is collapsible.
Since 14.1.0. Applications should use the expanded API on oj-legend instead.
The id of the legend section. For the DataProvider case, the key for the node will be used as the id.
An array of objects with the following properties defining the legend items. Also accepts a Promise for deferred data rendering. No data will be rendered if the Promise is rejected.
An array of nested legend sections.
Since 18.0.0. Use of nested legend sections is not recommended in Redwood theme. As such, this attribute is deprecated.
The title of the legend section.
The horizontal alignment of the section title. If the section is collapsible or nested, only start alignment is supported.
Since 15.1.0. Individual section title alignment is no longer supported. Use section-title-halign in oj-legend to align all section titles.
The CSS style object defining the style of the section title. The following style properties are supported: color, cursor, fontFamily, fontSize, fontStyle, fontWeight, textDecoration.
Since 15.1.0. Individual section title style is no longer supported. Use section-title-style in oj-legend to style all section titles.
Generated using TypeDoc
Whether the section is collapsible. Only applies if the legend orientation is vertical.