DxChartLegend.Orientation Property

Specifies how legend items are arranged, vertically (in a column) or horizontally (in a row).

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.dll

Declaration

[Parameter]
public Orientation Orientation { get; set; }

Property Value

Type Default Description
Orientation

Horizontal

The legend orientation.

Remarks

<DxChart Data="@SalesData">
    ...
    <DxChartLegend Orientation="Orientation.Vertical" HorizontalAlignment="HorizontalAlignment.Left" Position="RelativePosition.Outside">
        <DxChartTitle Text="Legend">
        </DxChartTitle>
    </DxChartLegend>
</DxChart>

Online Demo

Charts - Legend Customization

See Also