Skip to main content
A newer version of this page is available. .

Orientation Enum

Specifies vertical or horizontal orientation.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v20.2.dll

NuGet Package: DevExpress.Blazor

Declaration

public enum Orientation

Members

Name Description
Horizontal

Sets horizontal orientation.

Vertical

Sets vertical orientation.

Related API Members

The following properties accept/return Orientation values:

Remarks

The following example uses the Orientation values to configure the Orientation property:

<DxChart Data="@SalesData">
    <DxChartLegend AllowToggleSeries="true" Orientation="Orientation.Vertical" 
                   HorizontalAlignment="HorizontalAlignment.Left" Position="RelativePosition.Outside">
        <DxChartTitle Text="Years">
            <DxChartSubTitle Text="(2017-2019)"></DxChartSubTitle>
        </DxChartTitle>
    </DxChartLegend>
    ...
</DxChart>

Chart Legend

See Also