BootstrapChartLegendSettings.Position Property

Specifies whether the legend is located outside or inside the chart’s plot.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v21.1.dll

Declaration

[DefaultValue(RelativePosition.NotSet)]
public RelativePosition Position { get; set; }

Property Value

Type Default Description
RelativePosition

NotSet

One of the RelativePosition enumeration values.

Available values:

Name Description
Outside

The constant line labels are contained within the chart grid.

Inside

The constant line labels are located outside the chart grid.

NotSet

Default. A position is defined by the underlying control.

Property Paths

You can access this nested property as listed below:

Object Type Path to Position
BootstrapChart
.SettingsLegend.Position
BootstrapChartBase
.SettingsLegend.Position
BootstrapCoordinateSystemChart
.SettingsLegend.Position
BootstrapPieChart
.SettingsLegend.Position
BootstrapPolarChart
.SettingsLegend.Position

Remarks

In addition to this option, use the legend’s BootstrapChartLegendSettings.HorizontalAlignment, BootstrapChartLegendSettings.VerticalAlignment and BootstrapChartLegendSettings.Orientation options to specify the legend layout.

See Also