Partager via


Classe ChartLegend

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

Hiérarchie d'héritage

System. . :: . .Object
  Microsoft.ReportingServices.OnDemandReportRendering. . :: . .ChartObjectCollectionItem< (Of < ( <'ChartLegendInstance> ) > ) >
    Microsoft.ReportingServices.OnDemandReportRendering..::..ChartLegend

Espace de noms :  Microsoft.ReportingServices.OnDemandReportRendering
Assembly :  Microsoft.ReportingServices.ProcessingCore (en Microsoft.ReportingServices.ProcessingCore.dll)

Syntaxe

'Déclaration
Public NotInheritable Class ChartLegend _
    Inherits ChartObjectCollectionItem(Of ChartLegendInstance) _
    Implements IROMStyleDefinitionContainer
'Utilisation
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

Le type ChartLegend expose les membres suivants.

Propriétés

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

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString (hérité de Object.)

Haut de la page

Champs

  Nom Description
Champ protégé m_instance Infrastructure. (hérité de ChartObjectCollectionItem< (Of < ( <'T> ) > ) >.)

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.