DxChartConstantLineLabel Class

Defines the constant line label.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.dll

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.ChartConstantLineLabelModel>
DxChartConstantLineLabel
See Also