Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ChartLegend Class

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

Namespace:  Microsoft.ReportingServices.OnDemandReportRendering
Assembly:  Microsoft.ReportingServices.ProcessingCore (in Microsoft.ReportingServices.ProcessingCore.dll)
public sealed class ChartLegend : ChartObjectCollectionItem<ChartLegendInstance>, 
	IROMStyleDefinitionContainer

The ChartLegend type exposes the following members.

  NameDescription
Public propertyAutoFitTextDisabledGets an expression that evaluates to a value that indicates whether text will not be autosized to fit in the legend area.
Public propertyChartElementPositionGets a custom position for the legend.
Public propertyColumnSeparatorGets an expression that evaluates to a value that indicates what type of separator to use for the columns.
Public propertyColumnSeparatorColorGets an expression that evaluates to the color to use for the column separator.
Public propertyColumnSpacingGets an expression that evaluates to the spacing between columns as a percent of the font size.
Public propertyDockOutsideChartAreaGets 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.
Public propertyDockToChartAreaGets the name of the chart area on which to draw the legend.
Public propertyEquallySpacedItemsGets an expression that evaluates to a value that indicates whether legend items should be equally spaced.
Public propertyHeaderSeparatorGets an expression that evaluates to the type of separator to use for the legend header.
Public propertyHeaderSeparatorColorGets an expression that evaluates to the color to use for the legend header separator.
Public propertyHiddenGets an expression that evaluates to a value that indicates whether the legend is hidden.
Public propertyInstanceGets the report instance object that contains the calculated values of this report definition object.
Public propertyInterlacedRowsGets an expression that evaluates to a value that indicates whether legend rows should use interlaced colors.
Public propertyInterlacedRowsColorGets an expression that evaluates to the background color to use for interlaced legend rows.
Public propertyLayoutGets an expression that evaluates to the arrangement of labels within the legend.
Public propertyLegendColumnsGets the legend columns.
Public propertyLegendCustomItemsGets the custom legend items.
Public propertyLegendTitleGets the legend title.
Public propertyMaxAutoSizeGets an expression that evaluates to the maximum size for the legend, as a percent of the chart size.
Public propertyMinFontSizeGets an expression that evaluates to the minimum size for autosized legend text.
Public propertyNameGets the name of the chart legend.
Public propertyPositionGets an expression that evaluates to the position of the legend.
Public propertyReversedGets an expression that evaluates to a value that indicates the direction of the legend should be reversed.
Public propertyStyleGets the style properties of this report definition object.
Public propertyTextWrapThresholdGets an expression that evaluates to the number of characters after which to wrap the legend text.
Top
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
  NameDescription
Protected fieldm_instanceInfrastructure. (Inherited from ChartObjectCollectionItem<T>.)
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.