(newSeriesOption: Opt, ecModel: GlobalModel)
| 297 | } |
| 298 | |
| 299 | mergeOption(newSeriesOption: Opt, ecModel: GlobalModel) { |
| 300 | // this.settingTask.dirty(); |
| 301 | |
| 302 | newSeriesOption = zrUtil.merge(this.option, newSeriesOption, true); |
| 303 | this.fillDataTextStyle(newSeriesOption.data as ArrayLike<any>); |
| 304 | |
| 305 | const layoutMode = fetchLayoutMode(this); |
| 306 | if (layoutMode) { |
| 307 | mergeLayoutParam( |
| 308 | this.option as BoxLayoutOptionMixin, |
| 309 | newSeriesOption as BoxLayoutOptionMixin, |
| 310 | layoutMode |
| 311 | ); |
| 312 | } |
| 313 | |
| 314 | const sourceManager = inner(this).sourceManager; |
| 315 | sourceManager.dirty(); |
| 316 | sourceManager.prepareSource(); |
| 317 | |
| 318 | const data = this.getInitialData(newSeriesOption, ecModel); |
| 319 | wrapData(data, this); |
| 320 | this.dataTask.dirty(); |
| 321 | this.dataTask.context.data = data; |
| 322 | |
| 323 | inner(this).dataBeforeProcessed = data; |
| 324 | |
| 325 | autoSeriesName(this); |
| 326 | |
| 327 | this._initSelectedMapFromData(data); |
| 328 | } |
| 329 | |
| 330 | fillDataTextStyle(data: ArrayLike<any>): void { |
| 331 | // Default data label emphasis `show` |
nothing calls this directly
no test coverage detected