Representation of a plot legend. The legend is a key to the features
(that is, symbols or pictures) used in the plot.
Inheritance Hierarchy
Node
Spotfire.Dxp.Framework.DocumentModelDocumentNode
Spotfire.Dxp.Application.VisualsLegend
Namespace: Spotfire.Dxp.Application.Visuals
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 71.0.22122.5390 (71.0.22122.5390)
Syntax
C#
[SerializableAttribute] [PersistenceVersionAttribute(56, 0)] public sealed class Legend : DocumentNode
The Legend type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| Context |
Gets the context of this node.
(Inherited from DocumentNode.) | |
| Dock |
Gets or sets the docking of the legend.
| |
| Font | Obsolete.
Gets or sets the font of this legend.
| |
| FontMetadata |
Gets or sets the font of this legend.
| |
| IsAttached |
Gets a value indicating whether this node is attached.
(Inherited from DocumentNode.) | |
| Items |
Gets the collection of legend items in this legend.
| |
| MaxValuesPerLegendItem |
Gets or sets the max values per legend item. This value controls how many legend items are shown before the list is truncated.
| |
| Transactions |
Gets a collection of methods for executing transactions on the document.
(Inherited from DocumentNode.) | |
| Width |
Gets or sets the width, in pixels, of the legend as it is displayed in the user interface.
| |
| Visible |
Gets or sets a value indicating whether or not this
Legend is visible.
|
Methods
| Name | Description | |
|---|---|---|
| ForEachNodeInSubTreeTNode |
Applies the specified action to all nodes of the specified type in the subtree spanned
from this node, including this node.
(Inherited from DocumentNode.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Explicit Interface Implementations
Remarks
A Legend can be turned on/off by setting the Visible property. A Legend that is turned off can be shown as a popover when requested.
Version Information
See Also