Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/chartjs/Chart.js
/ getBaseValue
Method
getBaseValue
src/core/core.scale.js:950–956 ·
view source on GitHub ↗
* @return {number}
()
Source
from the content-addressed store, hash-verified
948
* @
return
{number}
949
*/
950
getBaseValue() {
951
const
{min, max} = this;
952
953
return
min < 0 && max < 0 ? max :
954
min > 0 && max > 0 ? min :
955
0;
956
}
957
958
/**
959
* @protected
Callers
1
getBasePixel
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected