(ecInstance, api, dataProcessorHandlers, visualHandlers)
| 23606 | /** @class */ |
| 23607 | function () { |
| 23608 | function Scheduler(ecInstance, api, dataProcessorHandlers, visualHandlers) { |
| 23609 | // key: handlerUID |
| 23610 | this._stageTaskMap = createHashMap(); |
| 23611 | this.ecInstance = ecInstance; |
| 23612 | this.api = api; // Fix current processors in case that in some rear cases that |
| 23613 | // processors might be registered after echarts instance created. |
| 23614 | // Register processors incrementally for a echarts instance is |
| 23615 | // not supported by this stream architecture. |
| 23616 | |
| 23617 | dataProcessorHandlers = this._dataProcessorHandlers = dataProcessorHandlers.slice(); |
| 23618 | visualHandlers = this._visualHandlers = visualHandlers.slice(); |
| 23619 | this._allHandlers = dataProcessorHandlers.concat(visualHandlers); |
| 23620 | } |
| 23621 | |
| 23622 | Scheduler.prototype.restoreData = function (ecModel, payload) { |
| 23623 | // TODO: Only restore needed series and components, but not all components. |
nothing calls this directly
no test coverage detected
searching dependent graphs…