Interface
ThemeObject
A theme given key by key: colors are CSS colors, keys not given come
from base (default 'light'). Unknown keys are errors.
Properties
| Name | Type | Description |
|---|---|---|
base? | 'light' | 'dark' | |
background? | string | |
text? | string | Axis label text. |
grid? | string | |
axisLine? | string | |
up? | string | Up candles; baselines above their base. |
down? | string | Down candles; baselines below their base. |
upWick? | string | |
downWick? | string | |
volumeUp? | string | |
volumeDown? | string | |
crosshair? | string | |
crosshairLabelBg? | string | |
crosshairLabelText? | string | |
line? | string | Default color of lines, areas and histograms. |
fontSize? | number | Axis label size, CSS px. |
axisPadding? | number | Padding around axis labels, CSS px. |
Declaration
export interface ThemeObject {
base?: 'light' | 'dark';
background?: string;
text?: string;
grid?: string;
axisLine?: string;
up?: string;
down?: string;
upWick?: string;
downWick?: string;
volumeUp?: string;
volumeDown?: string;
crosshair?: string;
crosshairLabelBg?: string;
crosshairLabelText?: string;
line?: string;
fontSize?: number;
axisPadding?: number;
}