Skip to content

charton API


charton API / @chart-on/core / index / LineLabelOptions

Interface: LineLabelOptions ​

Defined in: packages/core/src/annotations/types.ts:158

Label and density options of trade and alert lines.

Extended by ​

Properties ​

labelAnchor? ​

optional labelAnchor?: LabelAnchor

Defined in: packages/core/src/annotations/types.ts:160

Where the label block sits: right (default, next to the price axis), center or left. Brackets follow their order.


lineOnly? ​

optional lineOnly?: boolean

Defined in: packages/core/src/annotations/types.ts:164

Only the line: no label block, no hit testing. For dense ladders of many orders.


priceAxisLabel? ​

optional priceAxisLabel?: boolean

Defined in: packages/core/src/annotations/types.ts:162

The price label on the axis. Default true.