Skip to content
EliteChart

DEFAULT\_OHLCV\_LEGEND\_STYLE

Documentation


Documentation / @elitechart/core / DEFAULT_OHLCV_LEGEND_STYLE

code
const DEFAULT_OHLCV_LEGEND_STYLE: OhlcvLegendStyle;

Defined in: renderer/ohlcv-legend.ts:51

Default style for the OHLCV legend. Spread + override fields you want to tweak without redeclaring the rest.

Example

code
import { DEFAULT_OHLCV_LEGEND_STYLE } from '@elitechart/core';
const muted = { ...DEFAULT_OHLCV_LEGEND_STYLE, labelColor: '#666' };