Skip to content

Interface: D3PDumbbellProps ​

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

Props of a dumbbell chart: the props of a glyph, and in the style the colors of the two ends and of the line, its width and the radius of the ends.

Extends ​

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.

Inherited from ​

D3PGlyphProps.orientation


style ​

ts
style: D3PRendererStyleBase & object & object;

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

The style: the colors of the two ends and of the line, its width and the radius of the ends.

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).

endColor ​
ts
endColor: string;
lineColor ​
ts
lineColor: string;

Color of the line between the dots.

lineWidth ​
ts
lineWidth: number;
radius ​
ts
radius: number;
startColor ​
ts
startColor: string;

Overrides ​

D3PGlyphProps.style