LegendItemTextPosition Enum
Lists positions of legend item captions relative to item markers.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.1.dll
NuGet Package: DevExpress.Blazor
Declaration
public enum LegendItemTextPosition
Members
Name | Description | Image |
---|---|---|
Bottom
|
Bottom position. |
|
Left
|
Left position. |
|
Right
|
Right position. |
|
Top
|
Top position. |
|
Auto
|
This option is identical to |
Related API Members
The following properties accept/return LegendItemTextPosition values:
Remarks
The following code snippet positions item captions in the DxBarGauge legend to the left from item markers:
<DxBarGauge Width="50%"
Height="500px"
StartValue="0"
EndValue="100"
Values="@Values">
<DxBarGaugeLegendSettings Visible="true"
ItemCaptions="@LegendItemCaptions"
ItemTextPosition="LegendItemTextPosition.Left"
Orientation="LegendItemOrientation.Vertical"
HorizontalAlignment="HorizontalAlignment.Left"/>
@* ... *@
</DxBarGauge>
@code {
double[] Values = new double[] { 47.27, 65.32, 84.59, 81.86, 99 };
string[] LegendItemCaptions = new string[] { "Metacritic", "Ratingraph.com", "Rotten Tomatoes", "IMDb", "TV.com" };
}
See Also