@rekurt/openkline - v0.2.0
    Preparing search index...

    Type Alias CloseSampler

    CloseSampler: (startIndex: number, endIndex: number) => number[]

    Pulls the close series for the inclusive buffer-index span [startIndex, endIndex]. Returned array is ordered oldest→newest and indexed so result[i] is the close at buffer index startIndex + i. The host wires this in OHLCVChart.startDrawing so the drawing can sample candle data without the render path ever touching the buffer (which the Drawing.render signature deliberately omits).

    Type Declaration

      • (startIndex: number, endIndex: number): number[]
      • Parameters

        • startIndex: number
        • endIndex: number

        Returns number[]