Skip to content

Documentation / @finchart/indicators / KAGI_STYLE_SPEC

Variable: KAGI_STYLE_SPEC ​

const KAGI_STYLE_SPEC: object

Defined in: indicators/src/kagi-series.ts:23

The CSS variables a Kagi line reads. The colours are the candle's own — a Kagi line and a candle series can share a pane, and one "up" should be one colour there — so the only new names are the two widths, the second channel that tells yang from yin without colour.

Type Declaration ​

down ​

readonly down: object

down.css ​

readonly css: "--chart-candle-down" = "--chart-candle-down"

down.fallback ​

readonly fallback: "#dc2626" = "#dc2626"

downWidth ​

readonly downWidth: object

downWidth.css ​

readonly css: "--chart-kagi-down-width" = "--chart-kagi-down-width"

downWidth.fallback ​

readonly fallback: 1 = 1

up ​

readonly up: object

up.css ​

readonly css: "--chart-candle-up" = "--chart-candle-up"

up.fallback ​

readonly fallback: "#16a34a" = "#16a34a"

upWidth ​

readonly upWidth: object

upWidth.css ​

readonly css: "--chart-kagi-up-width" = "--chart-kagi-up-width"

upWidth.fallback ​

readonly fallback: 3 = 3