MCPcopy Index your code
hub / github.com/apache/echarts / fillDataTextStyle

Method fillDataTextStyle

src/model/Series.ts:330–342  ·  view source on GitHub ↗
(data: ArrayLike<any>)

Source from the content-addressed store, hash-verified

328 }
329
330 fillDataTextStyle(data: ArrayLike<any>): void {
331 // Default data label emphasis `show`
332 // FIXME Tree structure data ?
333 // FIXME Performance ?
334 if (data && !zrUtil.isTypedArray(data)) {
335 const props = ['show'];
336 for (let i = 0; i < data.length; i++) {
337 if (data[i] && data[i].label) {
338 modelUtil.defaultEmphasis(data[i], 'label', props);
339 }
340 }
341 }
342 }
343
344 /**
345 * Init a data structure from data related option in series

Callers 6

mergeDefaultAndThemeMethod · 0.95
mergeOptionMethod · 0.95
initMethod · 0.80
mergeOptionMethod · 0.80
initMethod · 0.80
mergeOptionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected