* Adds a Dataset to the Plot. * * @param {Dataset} dataset * @returns {Plot} The calling Plot.
(dataset: Dataset)
| 633 | * @returns {Plot} The calling Plot. |
| 634 | */ |
| 635 | public addDataset(dataset: Dataset) { |
| 636 | this._addDataset(dataset); |
| 637 | this._onDatasetUpdate(); |
| 638 | return this; |
| 639 | } |
| 640 | |
| 641 | protected _addDataset(dataset: Dataset) { |
| 642 | this._removeDataset(dataset); |
no test coverage detected