Skip to content

Function: formatAxisValue() ​

ts
function formatAxisValue(axis, l): string;

Experimental

A linear coordinate of axis as its hover label shows it (hoverformat, dates, categories, prefix / suffix), or a plain number without an axis. Non-finite values give ''.

Parameters ​

ParameterType
axisAxisInfo | undefined
lnumber

Returns ​

string

Released under the MIT License.