Sdílet prostřednictvím


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 sealed : Microsoft::ReportingServices::OnDemandReportRendering::ChartObjectCollectionItem<Microsoft::ReportingServices::OnDemandReportRendering::ChartLegendInstance ^>, Microsoft::ReportingServices::OnDemandReportRendering::IROMStyleDefinitionContainer
public sealed class ChartLegend : Microsoft.ReportingServices.OnDemandReportRendering.ChartObjectCollectionItem<Microsoft.ReportingServices.OnDemandReportRendering.ChartLegendInstance>, Microsoft.ReportingServices.OnDemandReportRendering.IROMStyleDefinitionContainer
type ChartLegend = class
    inherit ChartObjectCollectionItem<ChartLegendInstance>
    interface IROMStyleDefinitionContainer
Public NotInheritable Class ChartLegend
Inherits ChartObjectCollectionItem(Of ChartLegendInstance)
Implements IROMStyleDefinitionContainer
Inheritance
Implements

Fields

m_instance

The instance of the base class.

(Inherited from ChartObjectCollectionItem<T>)

Properties

AutoFitTextDisabled

Gets an expression that evaluates to a value that indicates whether text will not be autosized to fit in the legend area.

ChartElementPosition

Gets a custom position for the legend.

ColumnSeparator

Gets an expression that evaluates to a value that indicates what type of separator to use for the columns.

ColumnSeparatorColor

Gets an expression that evaluates to the color to use for the column separator.

ColumnSpacing

Gets an expression that evaluates to the spacing between columns as a percent of the font size.

DockOutsideChartArea

Gets an expression that evaluates to a value that indicates whether the title should be docked outside the chart area rather than inside the chart area.

DockToChartArea

Gets the name of the chart area on which to draw the legend.

EquallySpacedItems

Gets an expression that evaluates to a value that indicates whether legend items should be equally spaced.

HeaderSeparator

Gets an expression that evaluates to the type of separator to use for the legend header.

HeaderSeparatorColor

Gets an expression that evaluates to the color to use for the legend header separator.

Hidden

Gets an expression that evaluates to a value that indicates whether the legend is hidden.

Instance

Gets the report instance object that contains the calculated values of this report definition object.

InterlacedRows

Gets an expression that evaluates to a value that indicates whether legend rows should use interlaced colors.

InterlacedRowsColor

Gets an expression that evaluates to the background color to use for interlaced legend rows.

Layout

Gets an expression that evaluates to the arrangement of labels within the legend.

LegendColumns

Gets the legend columns.

LegendCustomItems

Gets the custom legend items.

LegendTitle

Gets the legend title.

MaxAutoSize

Gets an expression that evaluates to the maximum size for the legend, as a percent of the chart size.

MinFontSize

Gets an expression that evaluates to the minimum size for autosized legend text.

Name

Gets the name of the chart legend.

Position

Gets an expression that evaluates to the position of the legend.

Reversed

Gets an expression that evaluates to a value that indicates the direction of the legend should be reversed.

Style

Gets the style properties of this report definition object.

TextWrapThreshold

Gets an expression that evaluates to the number of characters after which to wrap the legend text.

Applies to