ChartLegend Class
Represents the properties that can be used to display instances of the series groups in a chart legend.
Inheritance Hierarchy
System.Object
Microsoft.ReportingServices.RdlObjectModel.ReportObjectBase
Microsoft.ReportingServices.RdlObjectModel.ReportObject
Microsoft.ReportingServices.RdlObjectModel.ChartLegend
Namespace: Microsoft.ReportingServices.RdlObjectModel
Assembly: Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)
Syntax
'Declaration
Public Class ChartLegend _
Inherits ReportObject _
Implements INamedObject
'Usage
Dim instance As ChartLegend
public class ChartLegend : ReportObject,
INamedObject
public ref class ChartLegend : public ReportObject,
INamedObject
type ChartLegend =
class
inherit ReportObject
interface INamedObject
end
public class ChartLegend extends ReportObject implements INamedObject
The ChartLegend type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
![]() |
AutoFitTextDisabled | Indicates text will not be autosized to fit in the legend area. |
![]() |
ChartElementPosition | Defines a custom position for the legend. |
![]() |
ChartLegendColumns | Gets the legend columns. |
![]() |
ChartLegendTitle | Title display in the legend. |
![]() |
ColumnSeparator | Indicates what type of separator to use for the columns. |
![]() |
ColumnSeparatorColor | Indicates what color to use for the column separator. |
![]() |
ColumnSpacing | Spacing between columns as a percent of the font size. |
![]() |
ComponentMetadata | The component metadata. (Inherited from ReportObject.) |
![]() |
DockOutsideChartArea | Indicates the title should be docked outside the chart area rather than inside the chart area. |
![]() |
DockToChartArea | Name of the chart area on which to draw the legend. |
![]() |
EquallySpacedItems | Indicated legend items should be equally spaced. |
![]() |
HeaderSeparator | Indicates what type of separator to use for the legend header. |
![]() |
HeaderSeparatorColor | Indicates what color to use for the legend header separator. |
![]() |
Hidden | Indicates the legend is hidden. |
![]() |
InterlacedRows | Indicates legend rows should use interlaced colors. |
![]() |
InterlacedRowsColor | The background color to use for interlaced legend rows. |
![]() |
Layout | The arrangement of labels within the legend. |
![]() |
MaxAutoSize | Maximum size for the legend, as a percent of the chart size. |
![]() |
MinFontSize | Minimum size for autosized legend text. |
![]() |
Name | Name of the legend. |
![]() |
Parent | The parent of this report object. (Inherited from ReportObjectBase.) |
![]() |
Position | The position of the legend. |
![]() |
Reversed | Indicates the direction of the legend should be reversed. |
![]() |
Site | Infrastructure. (Inherited from ReportObject.) |
![]() |
Style | Gets the style properties of this report definition object. |
![]() |
TextWrapThreshold | Number of characters after which to wrap the legend text. |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
DeepClone | Returns a deep clone of this ReportObject instance. (Inherited from ReportObject.) |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetContainingDataScopes | Infrastructure. (Inherited from ReportObject.) |
![]() |
GetDataScopesForDefaultImpl | Infrastructure. (Inherited from ReportObject.) |
![]() |
GetDependenciesCore | Infrastructure. (Inherited from ReportObject.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
Initialize | Initializes an instance of the ChartLegend class. (Overrides ReportObject.Initialize().) |
![]() |
InitializeForDesigner | Infrastructure. (Inherited from ReportObject.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
OnChildPropertyChanged | Infrastructure. (Inherited from ReportObject.) |
![]() |
OnPropertyChanged | Infrastructure. (Inherited from ReportObject.) |
![]() |
RdlSemanticEqualsCore | Infrastructure. (Inherited from ReportObject.) |
![]() |
SavePropertyValue<T> | Infrastructure. (Inherited from ReportObject.) |
![]() |
ToString | (Inherited from Object.) |
Top
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
![]() ![]() |
IDisposable.Dispose | (Inherited from ReportObject.) |
![]() ![]() |
IComponent.Disposed | (Inherited from ReportObject.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)