Skip to main content

Interface: LwcAttached

Defined in: packages/sdvplot/src/lightweight-charts.ts:232

The parts of what Lightweight Charts attaches a series primitive with that logoMarkers reads.

Properties​

chart​

chart: object

Defined in: packages/sdvplot/src/lightweight-charts.ts:234

The chart: its time scale places x.

timeScale()​

timeScale(): object

Returns​

object

timeToCoordinate()​

timeToCoordinate(time): number | null

Parameters​
time​

LwcTime

Returns​

number | null


requestUpdate​

requestUpdate: () => void

Defined in: packages/sdvplot/src/lightweight-charts.ts:238

Asks the chart to redraw.

Returns​

void


series​

series: object

Defined in: packages/sdvplot/src/lightweight-charts.ts:236

The series the primitive is attached to: its price scale places y.

priceToCoordinate()​

priceToCoordinate(price): number | null

Parameters​
price​

number

Returns​

number | null