Skip to main content
All docs
V25.2
  • ConstantLine(String, TimeOnly) Constructor

    Initializes a new instance of the ConstantLine class with the specified name and time value.

    Namespace: DevExpress.XtraCharts

    Assembly: DevExpress.XtraCharts.v25.2.dll

    Declaration

    public ConstantLine(
        string name,
        TimeOnly value
    )

    Parameters

    Name Type Description
    name String

    A String that specifies the constant line name. This value is assigned to the ChartElementNamed.Name property.

    value TimeOnly

    A TimeOnly value at which the constant line is displayed. This value is assigned to the ConstantLine.AxisValue property.

    See Also