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

Method value

src/components/guideLineLayer.ts:158–167  ·  view source on GitHub ↗
(value?: D)

Source from the content-addressed store, hash-verified

156 */
157 public value(value: D): this;
158 public value(value?: D): any {
159 if (value == null) {
160 return this._value;
161 }
162 this._value = value;
163 this._mode = PropertyMode.VALUE;
164 this._syncPixelPositionAndValue();
165 this.render();
166 return this;
167 }
168
169 /**
170 * Gets the position of the guide line in pixel-space.

Callers 9

_updatePieAnglesMethod · 0.80
_pixelPointMethod · 0.80
runFunction · 0.80
runFunction · 0.80
runFunction · 0.80
colorPointsFunction · 0.80

Calls 2

renderMethod · 0.65

Tested by

no test coverage detected