Skip to main content

BootstrapChartLegendSettings.Position Property

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

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v24.2.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
BootstrapChartBase
.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