Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/apache/echarts
/ getColorBy
Method
getColorBy
src/model/Series.ts:441–444 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
439
}
440
441
getColorBy(): ColorBy {
442
const
colorBy = this.get(
'colorBy'
);
443
return
colorBy ||
'series'
;
444
}
445
446
isColorBySeries(): boolean {
447
return
this.getColorBy() ===
'series'
;
Callers
2
isColorBySeries
Method · 0.95
overallReset
Function · 0.80
Calls
1
get
Method · 0.45
Tested by
no test coverage detected