Skip to content

Documentation / @finchart/core / index / FormatSource

Interface: FormatSource ​

Defined in: packages/core/src/plot/capabilities.ts:157

Gives the axis's own "how to render a value as text". x is here because it belongs to the chart; y belongs to the pane, hence ValueFormatSource instead.

Consumers: tooltip (default x formatting in the header)

Methods ​

formatX() ​

formatX(value): string

Defined in: packages/core/src/plot/capabilities.ts:158

Parameters ​

value ​

number

Returns ​

string