This class encapsulates the chart Legend that is displayed
in the GraphPane
| C# | Visual Basic | Visual C++ |
[SerializableAttribute] public class Legend : ICloneable, ISerializable
<SerializableAttribute> _ Public Class Legend _ Implements ICloneable, ISerializable
[SerializableAttribute] public ref class Legend : ICloneable, ISerializable
| All Members | Constructors | Methods | Properties | Fields | |
| Icon | Member | Description |
|---|---|---|
| LegendLegendNew()() |
Default constructor that sets all Legend properties to default
values as defined in the Legend..::Default class.
| |
| LegendLegendNew(Legend) |
The Copy Constructor
| |
| Border |
The Border class used to draw the border border around this Legend.
| |
| CalcRect(Graphics, PaneBase, Single, RectangleF%) |
Calculate the Legend rectangle (Rect),
taking into account the number of required legend
entries, and the legend drawing preferences.
| |
| Clone()() |
Typesafe, deep-copy clone method.
| |
| Draw(Graphics, PaneBase, Single) |
Render the Legend to the specified Graphics device.
| |
| Equals(Object) | (Inherited from Object.) | |
| Fill |
Gets or sets the Fill data for this
Legend background.
| |
| Finalize()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| FindPoint(PointF, PaneBase, Single, Int32%) |
Determine if a mouse point is within the legend, and if so, which legend
entry (CurveItem) is nearest.
| |
| FontSpec |
Access to the FontSpec class used to render
the Legend entries
| |
| Gap |
Gets or sets the gap size between the legend and the Rect.
| |
| GetHashCode()() | Serves as a hash function for a particular type. GetHashCode()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetObjectData(SerializationInfo, StreamingContext) |
Populates a SerializationInfo instance with the data needed to serialize the target object
| |
| GetType()() | Gets the Type of the current instance. (Inherited from Object.) | |
| IsHStack |
Sets or gets a property that allows the Legend items to
stack horizontally in addition to the vertical stacking
| |
| IsReverse |
Gets or sets a value that determines if the legend entries are displayed in normal order
(matching the order in the CurveList, or in reverse order.
| |
| IsShowLegendSymbols |
Gets or sets a value that determines whether the line and symbol keys will be displayed
in the legend.
| |
| IsVisible |
Gets or sets a property that shows or hides the Legend entirely
| |
| Location |
Gets or sets the Location data for the Legend.
This property is only applicable if Position is set
to Float.
| |
| MemberwiseClone()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Position | ||
| Rect |
Get the bounding rectangle for the Legend in screen coordinates
| |
| schema |
Current schema value that defines the version of the serialized file
| |
| ICloneable..::Clone()() |
Implement the ICloneable interface in a typesafe manner by just
calling the typed version of Clone()() | |
| ToString()() | (Inherited from Object.) |
| Object | |
| Legend | |
