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

Method mergeOption

src/component/dataZoom/DataZoomModel.ts:231–239  ·  view source on GitHub ↗
(newOption: Opts)

Source from the content-addressed store, hash-verified

229 }
230
231 mergeOption(newOption: Opts): void {
232 const inputRawOption = retrieveRawOption(newOption);
233
234 // FIX #2591
235 merge(this.option, newOption, true);
236 merge(this.settledOption, inputRawOption, true);
237
238 this._doInit(inputRawOption);
239 }
240
241 private _doInit(inputRawOption: Opts): void {
242 const thisOption = this.option;

Callers

nothing calls this directly

Calls 3

_doInitMethod · 0.95
mergeFunction · 0.90
retrieveRawOptionFunction · 0.85

Tested by

no test coverage detected