ChartLegend Class

Definition

Represents the properties that can be used to display instances of the series groups in a chart legend.

public ref class ChartLegend : Microsoft::ReportingServices::RdlObjectModel::ReportObject, Microsoft::ReportingServices::RdlObjectModel::INamedObject
public class ChartLegend : Microsoft.ReportingServices.RdlObjectModel.ReportObject, Microsoft.ReportingServices.RdlObjectModel.INamedObject
type ChartLegend = class
    inherit ReportObject
    interface INamedObject
Public Class ChartLegend
Inherits ReportObject
Implements INamedObject
Inheritance
Implements

Constructors

ChartLegend()

Creates a new instance of the ChartLegend class.

Properties

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

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.

Methods

DeepClone()

Returns a deep clone of this ReportObject instance.

(Inherited from ReportObject)
GetContainingDataScopes()

Returns the list of report object that contains data scopes.

(Inherited from ReportObject)
GetDataScopesForDefaultImpl(IContainedObject)

Returns the data scopes for default implementation.

(Inherited from ReportObject)
GetDependenciesCore(IList<ReportObject>)

Returns the dependencies core for the ReportObject object.

(Inherited from ReportObject)
Initialize()

Initializes an instance of the ChartLegend class.

InitializeForDesigner()

Initializes the report object for designer.

(Inherited from ReportObject)
OnChildPropertyChanged(Int32, Object, Object)

Raises an event when the property of the child was changed.

(Inherited from ReportObject)
OnPropertyChanged(Int32, Object, Object)

Raises an event when the property was changed.

(Inherited from ReportObject)
RdlSemanticEqualsCore(ReportObject, ICollection<ReportObject>)

Returns whether the report definition language semantic is the same with the core object.

(Inherited from ReportObject)
SavePropertyValue<T>(String, T, ReportObject.SwapValue<T>)

Saves the property value of the report object.

(Inherited from ReportObject)

Explicit Interface Implementations

IComponent.Disposed

Occurs when the ReportObject object is disposed.

(Inherited from ReportObject)
IDisposable.Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

(Inherited from ReportObject)

Applies to