Skip to content

Interface: QuiverOptions ​

Defined in: layers/quiver.ts:8

Properties ​

color? ​

ts
optional color?: string | Color;

Defined in: layers/quiver.ts:17


colorBy? ​

ts
optional colorBy?: {
  colormap?: ColormapSpec;
  domain?: Range;
  values?: ArrayLike<number>;
};

Defined in: layers/quiver.ts:23

Color each arrow by a value (default: its magnitude) through a colormap.

colormap? ​

ts
optional colormap?: ColormapSpec;

domain? ​

ts
optional domain?: Range;

values? ​

ts
optional values?: ArrayLike<number>;

headSize? ​

ts
optional headSize?: number;

Defined in: layers/quiver.ts:21

Arrowhead length in CSS px. Default 9.


name? ​

ts
optional name?: string;

Defined in: layers/quiver.ts:30


renderType? ​

ts
optional renderType?: RenderType;

Defined in: layers/quiver.ts:29

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


scale? ​

ts
optional scale?: number;

Defined in: layers/quiver.ts:16

Multiplier applied to (u,v) in data units. Default auto-fits the field.


u ​

ts
u: ArrayLike<number>;

Defined in: layers/quiver.ts:13

Vector components at each anchor.


v ​

ts
v: ArrayLike<number>;

Defined in: layers/quiver.ts:14


width? ​

ts
optional width?: number;

Defined in: layers/quiver.ts:19

Shaft thickness in CSS px. Default 1.5.


x ​

ts
x: ArrayLike<number>;

Defined in: layers/quiver.ts:10

Arrow anchor positions (data space).


y ​

ts
y: ArrayLike<number>;

Defined in: layers/quiver.ts:11


yAxis? ​

ts
optional yAxis?: string;

Defined in: layers/quiver.ts:31

MIT licensed. WebGL2 required.