Share via


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
Public method ChartLegend Creates a new instance of the ChartLegend class.

Top

Properties

  Name Description
Public property AutoFitTextDisabled Indicates text will not be autosized to fit in the legend area.
Public property ChartElementPosition Defines a custom position for the legend.
Public property ChartLegendColumns Gets the legend columns.
Public property ChartLegendTitle Title display in the legend.
Public property ColumnSeparator Indicates what type of separator to use for the columns.
Public property ColumnSeparatorColor Indicates what color to use for the column separator.
Public property ColumnSpacing Spacing between columns as a percent of the font size.
Public property ComponentMetadata The component metadata. (Inherited from ReportObject.)
Public property DockOutsideChartArea Indicates the title should be docked outside the chart area rather than inside the chart area.
Public property DockToChartArea Name of the chart area on which to draw the legend.
Public property EquallySpacedItems Indicated legend items should be equally spaced.
Public property HeaderSeparator Indicates what type of separator to use for the legend header.
Public property HeaderSeparatorColor Indicates what color to use for the legend header separator.
Public property Hidden Indicates the legend is hidden.
Public property InterlacedRows Indicates legend rows should use interlaced colors.
Public property InterlacedRowsColor The background color to use for interlaced legend rows.
Public property Layout The arrangement of labels within the legend.
Public property MaxAutoSize Maximum size for the legend, as a percent of the chart size.
Public property MinFontSize Minimum size for autosized legend text.
Public property Name Name of the legend.
Public property Parent The parent of this report object. (Inherited from ReportObjectBase.)
Public property Position The position of the legend.
Public property Reversed Indicates the direction of the legend should be reversed.
Public property Site Infrastructure. (Inherited from ReportObject.)
Public property Style Gets the style properties of this report definition object.
Public property TextWrapThreshold Number of characters after which to wrap the legend text.

Top

Methods

  Name Description
Public method DeepClone Returns a deep clone of this ReportObject instance. (Inherited from ReportObject.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetContainingDataScopes Infrastructure. (Inherited from ReportObject.)
Protected method GetDataScopesForDefaultImpl Infrastructure. (Inherited from ReportObject.)
Protected method GetDependenciesCore Infrastructure. (Inherited from ReportObject.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Initialize Initializes an instance of the ChartLegend class. (Overrides ReportObject.Initialize().)
Protected method InitializeForDesigner Infrastructure. (Inherited from ReportObject.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnChildPropertyChanged Infrastructure. (Inherited from ReportObject.)
Protected method OnPropertyChanged Infrastructure. (Inherited from ReportObject.)
Protected method RdlSemanticEqualsCore Infrastructure. (Inherited from ReportObject.)
Protected method SavePropertyValue<T> Infrastructure. (Inherited from ReportObject.)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IDisposable.Dispose (Inherited from ReportObject.)
Explicit interface implemetationPrivate event 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.