charton API / @chart-on/core / index / PlotOffset
Interface: PlotOffset
Defined in: packages/core/src/indicators/types.ts:124
Shifts a line or histogram plot offset whole bars along the time axis: positive later (past the last bar too), negative earlier. Each value draws, and reads in the legend, autoscale and hit tests, that many bars from the bar it was computed for. A fill shifts with its first plot.
Properties
offset?
optionaloffset?:number
Defined in: packages/core/src/indicators/types.ts:125
offsetInput?
optionaloffsetInput?:string
Defined in: packages/core/src/indicators/types.ts:127
Id of a number input that overrides offset, so it can change in settings.