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

Method label

src/plots/rectanglePlot.ts:295–303  ·  view source on GitHub ↗
(label?: IAccessor<string>)

Source from the content-addressed store, hash-verified

293 */
294 public label(label: IAccessor<string>): this;
295 public label(label?: IAccessor<string>): any {
296 if (label == null) {
297 return this._label;
298 }
299
300 this._label = label;
301 this.render();
302 return this;
303 }
304
305 /**
306 * Gets whether labels are enabled.

Callers 4

_additionalPaintMethod · 0.95
_drawLabelMethod · 0.95
runFunction · 0.80

Calls 1

renderMethod · 0.65

Tested by

no test coverage detected