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

DxChartConstantLineLabel Class

Defines the constant line label.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v20.2.dll

NuGet Package: DevExpress.Blazor

Declaration

public class DxChartConstantLineLabel :
    DxSettingsComponent<ChartConstantLineLabelModel>

Remarks

Use the following code to customize a label for a constant line:

<DxChartValueAxis>
    <DxChartConstantLine Value="40000">
        <DxChartConstantLineLabel Text="Average" Position="RelativePosition.Outside"/>
    </DxChartConstantLine>
</DxChartValueAxis>

The image below shows the results:

Inheritance

Object
ComponentBase
DxSettingsComponent<DevExpress.Blazor.Internal.ChartConstantLineLabelModel>
DxChartConstantLineLabel
See Also