Skip to main content
cngx-src documentation

ChartBufferOptions

Interface

projects/common/chart/buffer/inject-chart-buffer.ts

Import#

import { ChartBufferOptions } from '@cngx/common/chart'

Description#

Construction options for injectChartBuffer.

Index#

Instance Properties#

capacity#number
Readonly

Ring capacity - the maximum rows retained before eviction.

downsampleTo#number
ReadonlyOptional

When set and the ring holds more than this many rows, points is LTTB-downsampled to exactly this length. Omit to emit the raw window.

xAccessor#function
Readonly

Projects a row to its numeric X for the LTTB triangle area.

yAccessor#function
Readonly

Projects a row to its numeric Y for the LTTB triangle area.