Skip to main content

DXConstantLineBase Class

The base class for all constant lines.

Declaration

@interface DXConstantLineBase: DXChartElement

Remarks

The next image represents a constant line’s elements. Constant line

The following descendant classes are available: DXQualitativeConstantLine, DXNumericConstantLine, DXDateTimeConstantLine.

Inheritance

NSObject
DXChartElement
DXConstantLineBase

Properties

hidden Property

Gets or sets the value that indicates whether the constant line is hidden.

Declaration

@property (readwrite) BOOL hidden

Property Value

Type Description
BOOL

YES if the constant line is hidden; otherwise NO.

legendText Property

Gets or sets the text that the chart legend uses as a constant line’s name.

Declaration

@property (readwrite, copy, nullable) NSString *legendText

Property Value

Type Description
NSString *

The String object that is the text that the chart legend uses as a constant line’s display name.

showBehind Property

Gets or sets the value that indicates whether the chart draws the constant line behind series.

Declaration

@property (readwrite) BOOL showBehind

Property Value

Type Description
BOOL

YES if the chart draws the constant line behind series; otherwise NO.

showInLegend Property

Gets or sets the value that indicates whether the legend should contain the constant line’s marker.

Declaration

@property (readwrite) BOOL showInLegend

Property Value

Type Description
BOOL

YES if the legend should contain the constant line’s marker; otherwise NO.

style Property

Gets or sets the constant line’s appearance settings.

Declaration

@property (readwrite, nullable) DXConstantLineStyle *style

Property Value

Type Description
DXConstantLineStyle *

The DXConstantLineStyle object that is the constant line’s appearance settings storage.

title Property

Gets or sets the constant line’s title settings storage.

Declaration

@property (readwrite, nullable) DXConstantLineTitle *title

Property Value

Type Description
DXConstantLineTitle *

The DXConstantLineTitle object that is the constant line’s title settings storage.