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.
Constructors
Name | Description | |
---|---|---|
ChartLegend | Creates a new instance of the ChartLegend class. |
Top
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 | Gets or sets 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. Gets or sets the site associated with the ReportObject object. (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. Returns the list of report object that contains data scopes. (Inherited from ReportObject.) | |
GetDataScopesForDefaultImpl | Infrastructure. Returns the data scopes for default implementation. (Inherited from ReportObject.) | |
GetDependenciesCore | Infrastructure. Returns the dependencies core for the ReportObject object. (Inherited from ReportObject.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
Initialize | Initializes an instance of the ChartLegend class. (Overrides ReportObject.Initialize().) | |
InitializeForDesigner | Infrastructure. Initializes the report object for designer. (Inherited from ReportObject.) | |
MemberwiseClone | (Inherited from Object.) | |
OnChildPropertyChanged | Infrastructure. Raises an event when the property of the child was changed. (Inherited from ReportObject.) | |
OnPropertyChanged | Infrastructure. Raises an event when the property was changed. (Inherited from ReportObject.) | |
RdlSemanticEqualsCore | Infrastructure. Returns whether the report definition language semantic is the same with the core object. (Inherited from ReportObject.) | |
SavePropertyValue<T> | Infrastructure. Saves the property value of the report object. (Inherited from ReportObject.) | |
ToString | (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IDisposable.Dispose | Infrastructure. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from ReportObject.) | |
IComponent.Disposed | Infrastructure. Occurs when the ReportObject object is 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.