Skip to content

Documentation / @finchart/react / LegendProps

Interface: LegendProps ​

Defined in: react/src/components/tooltip.tsx:52

Properties ​

formatRow? ​

optional formatRow?: RowFormat

Defined in: react/src/components/tooltip.tsx:56

The format for a row a series describes for itself (a candle's O/H/L/C/V), with { label, sample }. Absent, such rows read through formatValue.


formatValue? ​

optional formatValue?: (value) => string

Defined in: react/src/components/tooltip.tsx:54

Value format. Defaults to two decimals.

Parameters ​

value ​

number

Returns ​

string