Skip to content

Interface: Bar3DOptions ​

Defined in: plot3d/bar3d.ts:8

Properties ​

color? ​

ts
optional color?: string | Color;

Defined in: plot3d/bar3d.ts:17


colorBy? ​

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

Defined in: plot3d/bar3d.ts:19

Color bars via a colormap (over values, default the heights).

colormap? ​

ts
optional colormap?: ColormapSpec;

domain? ​

ts
optional domain?: Range;

values? ​

ts
optional values?: ArrayLike<number>;

name? ​

ts
optional name?: string;

Defined in: plot3d/bar3d.ts:20


renderType? ​

ts
optional renderType?: RenderType;

Defined in: plot3d/bar3d.ts:22

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


width? ​

ts
optional width?: number;

Defined in: plot3d/bar3d.ts:16

Footprint (world units). Defaults to ~0.7× the median grid spacing.


x ​

ts
x: ArrayLike<number>;

Defined in: plot3d/bar3d.ts:10

Grid x positions (world).


y ​

ts
y: ArrayLike<number>;

Defined in: plot3d/bar3d.ts:14

Bar heights.


z ​

ts
z: ArrayLike<number>;

Defined in: plot3d/bar3d.ts:12

Grid z positions (world).

MIT licensed. WebGL2 required.