MCPcopy
hub / github.com/apache/echarts / toObj

Function toObj

src/preprocessor/helper/compatStyle.ts:255–257  ·  view source on GitHub ↗
(o: any)

Source from the content-addressed store, hash-verified

253}
254
255function toObj(o: any) {
256 return (zrUtil.isArray(o) ? o[0] : o) || {};
257}
258
259export default function globalCompatStyle(option: any, isTheme?: boolean) {
260 each(toArr(option.series), function (seriesOpt) {

Callers 1

globalCompatStyleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…