MCPcopy
hub / github.com/palantir/plottable / addDataset

Method addDataset

src/plots/plot.ts:635–639  ·  view source on GitHub ↗

* Adds a Dataset to the Plot. * * @param {Dataset} dataset * @returns {Plot} The calling Plot.

(dataset: Dataset)

Source from the content-addressed store, hash-verified

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);

Callers 15

plotGroupTests.tsFile · 0.45
componentTests.tsFile · 0.45
metadataTests.tsFile · 0.45
checkXYPlotFunction · 0.45
checkPiePlotFunction · 0.45
linePlotTests.tsFile · 0.45

Calls 2

_addDatasetMethod · 0.95
_onDatasetUpdateMethod · 0.95

Tested by

no test coverage detected