diff --git a/src/charting/buffer/AbstractBuffer.ts b/src/charting/buffer/AbstractBuffer.ts index ffb5d708..da58809e 100644 --- a/src/charting/buffer/AbstractBuffer.ts +++ b/src/charting/buffer/AbstractBuffer.ts @@ -16,7 +16,7 @@ export abstract class AbstractBuffer { */ constructor(size: number) { this.index = 0; - this.buffer = Utils.createArrayBuffer(size); + this.buffer = Utils.getTempArray(size); } /** limits the drawing on the x-axis */