Класс ChartLegend
Represents the properties that can be used to display instances of the series groups in a chart legend.
Иерархия наследования
System.Object
Microsoft.ReportingServices.OnDemandReportRendering.ChartObjectCollectionItem<ChartLegendInstance>
Microsoft.ReportingServices.OnDemandReportRendering.ChartLegend
Пространство имен: Microsoft.ReportingServices.OnDemandReportRendering
Сборка: Microsoft.ReportingServices.ProcessingCore (в Microsoft.ReportingServices.ProcessingCore.dll)
Синтаксис
'Декларация
Public NotInheritable Class ChartLegend _
Inherits ChartObjectCollectionItem(Of ChartLegendInstance) _
Implements IROMStyleDefinitionContainer
'Применение
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
Тип ChartLegend обеспечивает доступ к следующим элементам.
Свойства
Имя | Описание | |
---|---|---|
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. |
В начало
Методы
Имя | Описание | |
---|---|---|
Equals | (Производный от Object.) | |
GetHashCode | (Производный от Object.) | |
GetType | (Производный от Object.) | |
ToString | (Производный от Object.) |
В начало
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.
См. также
Справочник
Пространство имен Microsoft.ReportingServices.OnDemandReportRendering