Name | Description | |
---|---|---|
ChartLegend Constructor | Initializes a new instance of the ChartLegend class. |
The following tables list the members exposed by ChartLegend.
Name | Description | |
---|---|---|
ChartLegend Constructor | Initializes a new instance of the ChartLegend class. |
Name | Description | |
---|---|---|
AutoFitTextDisabled | Gets or sets a value indicating whether to NOT autosize text to fit in the legend area.
Default: False. | |
ColumnSeparator | Gets or sets the type of separator to use for the columns.
Default: ChartLine.None. | |
ColumnSeparatorColor | Gets or sets the color to use for the column separator.
Default: Black. | |
ColumnSpacing | Gets or sets the spacing between columns as percentage of the font size.
Default: 50. | |
CustomPosition | Gets or sets the ChartElementPosition object defining a custom position for the legend. If null, automatic positioning will be used. | |
DockOutsideChartArea | Gets or sets a value indicating whether the title should be docked outside the chart area rather than inside the chart area. Ignored if DockToChartArea is not set. | |
DockToChartArea | Gets or sets the name of the chart area on which to draw the legend. If omitted (or does not match any chart area name), the legend is drawn relative to the chart rather than a specific chart area. | |
EquallySpacedItems | Gets or sets a value indicating whether legend items should be equally spaced.
Default: False. | |
HeaderSeparator | Gets or sets the type of separator to use for the legend header.
Default: ChartLine.None. | |
HeaderSeparatorColor | Gets or sets the color to use for the legend header separator.
Default: Black. | |
Hidden | Gets or sets a value indicating whether the legend is hidden. | |
InterlacedRows | Gets or sets a value indicating whether legend rows should use interlaced colors. | |
InterlacedRowsColor | Gets or sets the background color to use for interlaced legend rows.
If null (default), the chart area background color will be used. | |
Layout | Gets or sets the arrangement of labels within the legend.
Default: ChartLegendLayout.AutoTable. | |
MaxAutoSize | Gets or sets the maximum size for the legend, as percentage of the chart size.
Default: 50. | |
MinFontSize | Gets or sets the minimum size for autosized legend text.
Default: 7pt. | |
Name | Gets or sets the unique name of the current object. If an item with the specified name already exists in the collection, an exception is thrown. (Inherited from C1.C1Preview.NamedCollectionItem) | |
Owner | Gets the C1.C1Preview.NamedCollection containing the current object. (Inherited from C1.C1Preview.NamedCollectionItem) | |
Position | Gets or sets the position of the legend.
Default: ChartElementAutoPosition.RightTop. | |
Reversed | Gets or sets a value indicating that the direction of the legend should be reversed.
Default: Auto. | |
Style | Gets the Style object defining style properties for the legend. | |
TextWrapThreshold | Gets or sets the number of characters after which to wrap the legend text.
Default: 25 | |
Title | Gets the ChartLegendTitle object defining properties of the legend's title. |
Name | Description | |
---|---|---|
AssignFrom | Overridden. Copies properties from another ChartLegend to the current object. | |
Clone | Creates a copy of the current C1.C1Preview.NamedCollectionItem object. Note that the C1.C1Preview.NamedCollectionItem.Owner property is not copied to the new object. (Inherited from C1.C1Preview.NamedCollectionItem) |
Name | Description | |
---|---|---|
SetName | Sets the name of the current item. (Inherited from C1.C1Preview.NamedCollectionItem) | |
SetNameInt | For internal use. (Inherited from C1.C1Preview.NamedCollectionItem) |