charton API / @chart-on/core / index / alignSteps
Function: alignSteps()
alignSteps(
lowerTimes,higherTimes,values,options?):Float64Array
Defined in: packages/core/src/indicators/steps.ts:39
Values of the higher bars at higherTimes (ascending), one per lower bar at lowerTimes (ascending), as steps: a higher bar's value holds until the next higher bar starts. NaN before the first higher bar (and, with closedOnly, until the first one closes).
Parameters
lowerTimes
ArrayLike<number>
higherTimes
ArrayLike<number>
values
ArrayLike<number>
options?
AlignStepsOptions = {}
Returns
Float64Array