Skip to main content

Interface: IExecutionLineAdapter

Charting Library.IExecutionLineAdapter

An API object used to control execution lines.

Methods

getArrowColor

getArrowColor(): string

Get the arrow color of the execution line.

Returns

string


getArrowHeight

getArrowHeight(): number

Get the arrow height of the execution line.

Returns

number


getArrowSpacing

getArrowSpacing(): number

Get the arrow spacing of the execution line.

Returns

number


getDirection

getDirection(): Direction

Get the direction of the execution line.

Returns

Direction


getFont

getFont(): string

Get the font of the execution line.

Returns

string


getPrice

getPrice(): number

Get the price of the execution line.

Returns

number


getText

getText(): string

Get the text of the execution line.

Returns

string


getTextColor

getTextColor(): string

Get the text color of the execution line.

Returns

string


getTime

getTime(): number

Get the time of the execution line.

Returns

number


getTooltip

getTooltip(): string

Get the tooltip of the execution line.

Returns

string


remove

remove(): void

Remove the execution line. This API object cannot be used after this call.

Returns

void


setArrowColor

setArrowColor(value): this

Set the arrow color of the execution line.

Parameters

NameTypeDescription
valuestringThe new arrow color.

Returns

this


setArrowHeight

setArrowHeight(value): this

Set the arrow height of the execution line.

Parameters

NameTypeDescription
valuenumberThe new arrow height.

Returns

this


setArrowSpacing

setArrowSpacing(value): this

Set the arrow spacing of the execution line.

Parameters

NameTypeDescription
valuenumberThe new arrow spacing.

Returns

this


setDirection

setDirection(value): this

Set the direction of the execution line.

Parameters

NameTypeDescription
valueDirectionThe new direction.

Returns

this


setFont

setFont(value): this

Set the font of the execution line.

Parameters

NameTypeDescription
valuestringThe new font.

Returns

this


setPrice

setPrice(value): this

Set the price of the execution line.

Parameters

NameTypeDescription
valuenumberThe new price.

Returns

this


setText

setText(value): this

Set the text of the execution line.

Parameters

NameTypeDescription
valuestringThe new text.

Returns

this


setTextColor

setTextColor(value): this

Set the text color of the execution line.

Parameters

NameTypeDescription
valuestringThe new text color.

Returns

this


setTime

setTime(value): this

Set the time of the execution line.

Parameters

NameTypeDescription
valuenumberThe new time.

Returns

this


setTooltip

setTooltip(value): this

Set the tooltip of the execution line.

Parameters

NameTypeDescription
valuestringThe new tooltip.

Returns

this