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