Compartilhar via


Classe ChartLegend

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

Hierarquia de herança

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

Namespace:  Microsoft.ReportingServices.OnDemandReportRendering
Assembly:  Microsoft.ReportingServices.ProcessingCore (em Microsoft.ReportingServices.ProcessingCore.dll)

Sintaxe

'Declaração
Public NotInheritable Class ChartLegend _
    Inherits ChartObjectCollectionItem(Of ChartLegendInstance) _
    Implements IROMStyleDefinitionContainer
'Uso
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

O tipo ChartLegend expõe os membros a seguir.

Propriedades

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

Início

Métodos

  Nome Descrição
Método público Equals (Herdado de Object.)
Método público GetHashCode (Herdado de Object.)
Método público GetType (Herdado de Object.)
Método público ToString (Herdado de Object.)

Início

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.

Consulte também

Referência

Namespace Microsoft.ReportingServices.OnDemandReportRendering