* Shallow clone a new list except visual and layout properties, and graph elements. * New list only change the indices.
(list?: SeriesData<HostModel>)
| 1344 | * New list only change the indices. |
| 1345 | */ |
| 1346 | cloneShallow(list?: SeriesData<HostModel>): SeriesData<HostModel> { |
| 1347 | if (!list) { |
| 1348 | list = new SeriesData( |
| 1349 | this._schema |
| 1350 | ? this._schema |
| 1351 | : map(this.dimensions, this._getDimInfo, this), |
| 1352 | this.hostModel |
| 1353 | ); |
| 1354 | } |
| 1355 | |
| 1356 | transferProperties(list, this); |
| 1357 | list._store = this._store; |
| 1358 | |
| 1359 | return list; |
| 1360 | } |
| 1361 | |
| 1362 | /** |
| 1363 | * Wrap some method to add more feature |
no outgoing calls
no test coverage detected