We recommend using Visual Studio 2017

ChartLegend Class

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

Namespace:  Microsoft.ReportingServices.RdlObjectModel
Assembly:  Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)

public class ChartLegend : ReportObject, 

The ChartLegend type exposes the following members.

Public methodChartLegendCreates a new instance of the ChartLegend class.

Public propertyAutoFitTextDisabledIndicates text will not be autosized to fit in the legend area.
Public propertyChartElementPositionDefines a custom position for the legend.
Public propertyChartLegendColumnsGets the legend columns.
Public propertyChartLegendTitleTitle display in the legend.
Public propertyColumnSeparatorIndicates what type of separator to use for the columns.
Public propertyColumnSeparatorColorIndicates what color to use for the column separator.
Public propertyColumnSpacingSpacing between columns as a percent of the font size.
Public propertyComponentMetadataThe component metadata. (Inherited from ReportObject.)
Public propertyDockOutsideChartAreaIndicates the title should be docked outside the chart area rather than inside the chart area.
Public propertyDockToChartAreaName of the chart area on which to draw the legend.
Public propertyEquallySpacedItemsIndicated legend items should be equally spaced.
Public propertyHeaderSeparatorIndicates what type of separator to use for the legend header.
Public propertyHeaderSeparatorColorIndicates what color to use for the legend header separator.
Public propertyHiddenIndicates the legend is hidden.
Public propertyInterlacedRowsIndicates legend rows should use interlaced colors.
Public propertyInterlacedRowsColorThe background color to use for interlaced legend rows.
Public propertyLayoutThe arrangement of labels within the legend.
Public propertyMaxAutoSizeMaximum size for the legend, as a percent of the chart size.
Public propertyMinFontSizeMinimum size for autosized legend text.
Public propertyNameName of the legend.
Public propertyParentThe parent of this report object. (Inherited from ReportObjectBase.)
Public propertyPositionThe position of the legend.
Public propertyReversedIndicates the direction of the legend should be reversed.
Public propertySiteInfrastructure. (Inherited from ReportObject.)
Public propertyStyleGets the style properties of this report definition object.
Public propertyTextWrapThresholdNumber of characters after which to wrap the legend text.

Public methodDeepCloneReturns a deep clone of this ReportObject instance. (Inherited from ReportObject.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetContainingDataScopesInfrastructure. (Inherited from ReportObject.)
Protected methodGetDataScopesForDefaultImplInfrastructure. (Inherited from ReportObject.)
Protected methodGetDependenciesCoreInfrastructure. (Inherited from ReportObject.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodInitializeInitializes an instance of the ChartLegend class. (Overrides ReportObject.Initialize().)
Protected methodInitializeForDesignerInfrastructure. (Inherited from ReportObject.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodOnChildPropertyChangedInfrastructure. (Inherited from ReportObject.)
Protected methodOnPropertyChangedInfrastructure. (Inherited from ReportObject.)
Protected methodRdlSemanticEqualsCoreInfrastructure. (Inherited from ReportObject.)
Protected methodSavePropertyValue<T>Infrastructure. (Inherited from ReportObject.)
Public methodToString (Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions