Skip to content

Interface: D3PGlyphProps ​

Defined in: core/renderers/glyph.ts:13

Props shared by glyph renderers (candlesticks, box plots, dumbbells): the style, with the width of a glyph, and the orientation.

Extended by ​

Properties ​

orientation ​

ts
orientation: "vertical" | "horizontal";

Defined in: core/renderers/glyph.ts:20

vertical: categories along X, values along Y. horizontal: the other way round.


style ​

ts
style: D3PRendererStyleBase & object;

Defined in: core/renderers/glyph.ts:15

The style: the width of a glyph (barWidth).

Type Declaration ​

barWidth? ​
ts
barWidth?: number;

Width of a glyph. Band axis: fraction of the band (default 0.7). Otherwise pixels (default: from the spacing of the points).