Skip to main content

Interface: IExecutionLineAdapter

Charting Library.IExecutionLineAdapter

An API object that controls execution lines created with IChartWidgetApi.createExecutionShape. For more information, refer to Trading primitives.

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.


setArrowColor​

setArrowColor(value): IExecutionLineAdapter

Set the arrow color of the execution line.

Parameters​

NameTypeDescription
valuestringThe new arrow color.

Returns​

IExecutionLineAdapter


setArrowHeight​

setArrowHeight(value): IExecutionLineAdapter

Set the arrow height of the execution line.

Parameters​

NameTypeDescription
valuenumberThe new arrow height.

Returns​

IExecutionLineAdapter


setArrowSpacing​

setArrowSpacing(value): IExecutionLineAdapter

Set the arrow spacing of the execution line.

Parameters​

NameTypeDescription
valuenumberThe new arrow spacing.

Returns​

IExecutionLineAdapter


setDirection​

setDirection(value): IExecutionLineAdapter

Set the direction of the execution line.

Parameters​

NameTypeDescription
valueDirectionThe new direction.

Returns​

IExecutionLineAdapter


setFont​

setFont(value): IExecutionLineAdapter

Set the font of the execution line.

Parameters​

NameTypeDescription
valuestringThe new font.

Returns​

IExecutionLineAdapter


setPrice​

setPrice(value): IExecutionLineAdapter

Set the price of the execution line.

Parameters​

NameTypeDescription
valuenumberThe new price.

Returns​

IExecutionLineAdapter


setText​

setText(value): IExecutionLineAdapter

Set the text of the execution line.

Parameters​

NameTypeDescription
valuestringThe new text.

Returns​

IExecutionLineAdapter


setTextColor​

setTextColor(value): IExecutionLineAdapter

Set the text color of the execution line.

Parameters​

NameTypeDescription
valuestringThe new text color.

Returns​

IExecutionLineAdapter


setTime​

setTime(value): IExecutionLineAdapter

Set the time of the execution line.

Parameters​

NameTypeDescription
valuenumberThe new time.

Returns​

IExecutionLineAdapter


setTooltip​

setTooltip(value): IExecutionLineAdapter

Set the tooltip of the execution line.

Parameters​

NameTypeDescription
valuestringThe new tooltip.

Returns​

IExecutionLineAdapter