Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/apache/echarts
/ toFixed
Method
toFixed
src/component/visualMap/VisualMapModel.ts:396–402 ·
view source on GitHub ↗
(val: number)
Source
from the content-addressed store, hash-verified
394
}
395
396
function
toFixed(val: number) {
397
return
val === dataBound[0]
398
?
'min'
399
: val === dataBound[1]
400
?
'max'
401
: (+val).toFixed(Math.min(precision, 20));
402
}
403
}
404
405
/**
Callers
15
makeCategoryData
Function · 0.80
makeValueData
Function · 0.80
makeTimeData
Function · 0.80
makeCategoryPolar
Function · 0.80
makeCategoryGrid
Function · 0.80
makeValueGrid
Function · 0.80
makeTimeGrid
Function · 0.80
makeCategoryCartesian
Function · 0.80
printSingleCanvasLayer
Function · 0.80
round
Function · 0.80
r
Function · 0.80
ecStat.min.js
File · 0.80
Calls
no outgoing calls
Tested by
1
each
Function · 0.64