Back to Devexpress

DxChartConstantLine.DisplayBehindSeries Property

blazor-devexpress-dot-blazor-dot-dxchartconstantline-76787704.md

latest1.6 KB
Original Source

DxChartConstantLine.DisplayBehindSeries Property

Specifies whether to display the constant line behind series.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
[DefaultValue(false)]
[Parameter]
public bool DisplayBehindSeries { get; set; }

Property Value

TypeDefaultDescription
Booleanfalse

true to display the constant line behind series; otherwise, false.

|

Remarks

The chart initially displays constant lines in front of series.

Set a constant line’s DisplayBehindSeries property to true to move the line backwards.

The following example applies the DisplayBehindSeries property:

razor
<DxChart Data="@SalesData">
    <DxChartValueAxis>
        <DxChartConstantLine Value="40000"
                             DisplayBehindSeries="true">
            <DxChartConstantLineLabel HorizontalAlignment="HorizontalAlignment.Right" Text="Planned Amonut" />
        </DxChartConstantLine>
    </DxChartValueAxis>
    @* ... *@
</DxChart>

See Also

DxChartConstantLine Class

DxChartConstantLine Members

DevExpress.Blazor Namespace