I am attempting to retrieve the value for this specific Apache EChart from within the callback function of the tooltip formatter.
When I manually input the value, the formatting function operates correctly:
formatter: (params:any) => `$ ${Math.round(parseInt('100.000', 10))}`,
The tooltip then presents $ 100
.
However, upon replacing 100.000
with params.value
, the result is NaN
. How can we successfully access the value?