(inputRawOption: Opts)
| 239 | } |
| 240 | |
| 241 | private _doInit(inputRawOption: Opts): void { |
| 242 | const thisOption = this.option; |
| 243 | |
| 244 | this._setDefaultThrottle(inputRawOption); |
| 245 | |
| 246 | this._updateRangeUse(inputRawOption); |
| 247 | |
| 248 | const settledOption = this.settledOption; |
| 249 | each([['start', 'startValue'], ['end', 'endValue']] as const, function (names, index) { |
| 250 | // start/end has higher priority over startValue/endValue if they |
| 251 | // both set, but we should make chart.setOption({endValue: 1000}) |
| 252 | // effective, rather than chart.setOption({endValue: 1000, end: null}). |
| 253 | if (this._rangePropMode[index] === 'value') { |
| 254 | thisOption[names[0]] = settledOption[names[0]] = null; |
| 255 | } |
| 256 | // Otherwise do nothing and use the merge result. |
| 257 | }, this); |
| 258 | |
| 259 | this._resetTarget(); |
| 260 | } |
| 261 | |
| 262 | private _resetTarget() { |
| 263 | const optionOrient = this.get('orient', true); |
no test coverage detected