[]
Represents a legend area in the chart.
[TypeConverter(typeof(GenericTypeConverter<LegendArea>))]
public class LegendArea : ICloneable, IXmlSerializable
<TypeConverter(GetType(GenericTypeConverter(Of LegendArea)))>
Public Class LegendArea
Implements ICloneable, IXmlSerializable
The legend area can contain legend items, a background, and borders. The legend area is positioned using a relative location (where (0,0) = left upper corner of chart and (1,1) = right lower corner of chart) and a relative alignment (where (0,0) = left upper corner of label area and (1,1) = right lower corner of label area).
| Name | Description |
|---|---|
| LegendArea() | Creates a new legend area. |
| LegendArea(LegendArea) | Creates a new legend area that is a deep copy of the specified legend area. |
| Name | Description |
|---|---|
| AlignmentX | Gets or sets the horizontal alignment of the legend area. |
| AlignmentY | Gets or sets the vertical alignment of the legend area. |
| Border | Gets or sets the border around the legend area. |
| Fill | Gets or sets the fill for the background of the legend area. |
| LegendAreaId | Gets or sets the ID of the legend area. |
| LegendPos | Gets or sets the legend items position. |
| Location | Gets or sets the location of the legend area in the control canvas space. |
| ManualLayout | Gets or sets whether the legend items are manually placed. |
| Overlay | Gets or sets whether the legend area overlaps the plot area. |
| Padding | Gets or sets the amount of extra space around the text. |
| TextFill | Gets or sets the fill of the text. |
| TextFont | Gets or sets the font of the text. |
| Vertical | Gets or sets whether the legend items are layed out vertically or horizontally. |
| Name | Description |
|---|---|
| Clone() | Creates a deep copy of this legend area. |
| GetSchema() | This method is reserved and should not be used. |
| OnChanged(EventArgs) | Raises the Changed event. |
| ReadXml(XmlReader) | Generates an object from its XML representation. |
| WriteXml(XmlWriter) | Converts an object into its XML representation. |
| Name | Description |
|---|---|
| Changed | Occurs when the legend area is changed. |