Back to Devexpress

DxChartConstantLine.Value Property

blazor-devexpress-dot-blazor-dot-dxchartconstantline-cf2d7a24.md

latest1.1 KB
Original Source

DxChartConstantLine.Value Property

Specifies the constant line’s value.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
[Parameter]
public object Value { get; set; }

Property Value

TypeDescription
Object

An axis value.

|

Remarks

The type of the value you set for a constant line should match with the axis type (numeric, date-time, or qualitative).

razor
<DxChartArgumentAxis>
    <DxChartConstantLine Value="@("2020-Jan-06")"/>
    ...
</DxChartArgumentAxis>
<DxChartValueAxis>
    <DxChartConstantLine Value="0"/>
    <DxChartConstantLine Value="100"/>
    ...
</DxChartValueAxis>

See Also

DxChartConstantLine Class

DxChartConstantLine Members

DevExpress.Blazor Namespace