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

Method setItemLayout

src/data/SeriesData.ts:1299–1307  ·  view source on GitHub ↗

* Set layout of single data item

(
        idx: number,
        layout: (M extends true ? Dictionary<any> : any),
        merge?: M
    )

Source from the content-addressed store, hash-verified

1297 * Set layout of single data item
1298 */
1299 setItemLayout<M = false>(
1300 idx: number,
1301 layout: (M extends true ? Dictionary<any> : any),
1302 merge?: M
1303 ): void {
1304 this._itemLayouts[idx] = merge
1305 ? zrUtil.extend(this._itemLayouts[idx] || {}, layout)
1306 : layout;
1307 }
1308
1309 /**
1310 * Clear all layout of single data item

Callers 15

progressFunction · 0.80
mapSymbolLayoutFunction · 0.80
layoutSingleSeriesFunction · 0.80
normalProgressFunction · 0.80
graphForceLayoutFunction · 0.80
graphSimpleLayoutFunction · 0.80
renderMethod · 0.80
funnelLayoutFunction · 0.80
pieLayoutFunction · 0.80
doThemeRiverLayoutFunction · 0.80
radarLayoutFunction · 0.80
layoutPerAxisPerSeriesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected