Skip to content

Interface: HexbinOptions

Defined in: layers/hexbin.ts:7

Properties

colormap?

ts
optional colormap?: ColormapSpec;

Defined in: layers/hexbin.ts:12


domain?

ts
optional domain?: Range;

Defined in: layers/hexbin.ts:14

Count range mapped to the colormap. Defaults to [1, maxCount].


name?

ts
optional name?: string;

Defined in: layers/hexbin.ts:16

Series name — used as the colorbar caption.


radius?

ts
optional radius?: number;

Defined in: layers/hexbin.ts:11

Hex radius in data units. Defaults to ~1/30 of the x-extent.


renderType?

ts
optional renderType?: RenderType;

Defined in: layers/hexbin.ts:18

Buffer-usage hint; set "dynamic" when streaming via setData. Default "static".


x

ts
x: ArrayLike<number>;

Defined in: layers/hexbin.ts:8


y

ts
y: ArrayLike<number>;

Defined in: layers/hexbin.ts:9


yAxis?

ts
optional yAxis?: string;

Defined in: layers/hexbin.ts:19

MIT licensed. WebGL2 required.