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
NuGet Package: DevExpress.Web.Bootstrap
#Declaration
[DefaultValue(RelativePosition.NotSet)]
public RelativePosition Position { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Relative |
Not |
One of the Relative |
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. |
Not |
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 |
---|---|
Bootstrap |
|
#Remarks
In addition to this option, use the legend’s BootstrapChartLegendSettings.HorizontalAlignment, BootstrapChartLegendSettings.VerticalAlignment and BootstrapChartLegendSettings.Orientation options to specify the legend layout.