Skip to content

Interface: D3PCandlestickProps ​

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

Props of a candlestick chart: the props of a glyph, and in the style the colors of rising and falling candles, the width of the wicks and whether rising candles are hollow.

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:144

The style: the colors of rising and falling candles, the wicks, and whether rising candles are hollow.

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

downColor ​
ts
downColor: string;
hollowUp ​
ts
hollowUp: boolean;

Draw rising candles as outlines.

upColor ​
ts
upColor: string;

Color of candles that closed at or above their open, and of those that closed below.

wickWidth ​
ts
wickWidth: number;

Overrides ​

D3PGlyphProps.style