Condividi tramite


Classe ChartLegend

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

Gerarchia di ereditarietà

System.Object
  Microsoft.ReportingServices.OnDemandReportRendering.ChartObjectCollectionItem<ChartLegendInstance>
    Microsoft.ReportingServices.OnDemandReportRendering.ChartLegend

Spazio dei nomi  Microsoft.ReportingServices.OnDemandReportRendering
Assembly:  Microsoft.ReportingServices.ProcessingCore (in Microsoft.ReportingServices.ProcessingCore.dll)

Sintassi

'Dichiarazione
Public NotInheritable Class ChartLegend _
    Inherits ChartObjectCollectionItem(Of ChartLegendInstance) _
    Implements IROMStyleDefinitionContainer
'Utilizzo
Dim instance As ChartLegend
public sealed class ChartLegend : ChartObjectCollectionItem<ChartLegendInstance>, 
    IROMStyleDefinitionContainer
public ref class ChartLegend sealed : public ChartObjectCollectionItem<ChartLegendInstance^>, 
    IROMStyleDefinitionContainer
[<SealedAttribute>]
type ChartLegend =  
    class 
        inherit ChartObjectCollectionItem<ChartLegendInstance>
        interface IROMStyleDefinitionContainer 
    end
public final class ChartLegend extends ChartObjectCollectionItem<ChartLegendInstance> implements IROMStyleDefinitionContainer

Nel tipo ChartLegend sono esposti i membri seguenti.

Proprietà

  Nome Descrizione
Proprietà pubblica AutoFitTextDisabled Gets an expression that evaluates to a value that indicates whether text will not be autosized to fit in the legend area.
Proprietà pubblica ChartElementPosition Gets a custom position for the legend.
Proprietà pubblica ColumnSeparator Gets an expression that evaluates to a value that indicates what type of separator to use for the columns.
Proprietà pubblica ColumnSeparatorColor Gets an expression that evaluates to the color to use for the column separator.
Proprietà pubblica ColumnSpacing Gets an expression that evaluates to the spacing between columns as a percent of the font size.
Proprietà pubblica 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.
Proprietà pubblica DockToChartArea Gets the name of the chart area on which to draw the legend.
Proprietà pubblica EquallySpacedItems Gets an expression that evaluates to a value that indicates whether legend items should be equally spaced.
Proprietà pubblica HeaderSeparator Gets an expression that evaluates to the type of separator to use for the legend header.
Proprietà pubblica HeaderSeparatorColor Gets an expression that evaluates to the color to use for the legend header separator.
Proprietà pubblica Hidden Gets an expression that evaluates to a value that indicates whether the legend is hidden.
Proprietà pubblica Instance Gets the report instance object that contains the calculated values of this report definition object.
Proprietà pubblica InterlacedRows Gets an expression that evaluates to a value that indicates whether legend rows should use interlaced colors.
Proprietà pubblica InterlacedRowsColor Gets an expression that evaluates to the background color to use for interlaced legend rows.
Proprietà pubblica Layout Gets an expression that evaluates to the arrangement of labels within the legend.
Proprietà pubblica LegendColumns Gets the legend columns.
Proprietà pubblica LegendCustomItems Gets the custom legend items.
Proprietà pubblica LegendTitle Gets the legend title.
Proprietà pubblica MaxAutoSize Gets an expression that evaluates to the maximum size for the legend, as a percent of the chart size.
Proprietà pubblica MinFontSize Gets an expression that evaluates to the minimum size for autosized legend text.
Proprietà pubblica Name Gets the name of the chart legend.
Proprietà pubblica Position Gets an expression that evaluates to the position of the legend.
Proprietà pubblica Reversed Gets an expression that evaluates to a value that indicates the direction of the legend should be reversed.
Proprietà pubblica Style Gets the style properties of this report definition object.
Proprietà pubblica TextWrapThreshold Gets an expression that evaluates to the number of characters after which to wrap the legend text.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals Ereditato da Object.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo pubblico GetType Ereditato da Object.
Metodo pubblico ToString Ereditato da Object.

In alto

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.

Vedere anche

Riferimento

Spazio dei nomi Microsoft.ReportingServices.OnDemandReportRendering