MCPcopy
hub / github.com/dc-js/dc.js / radiusValueAccessor

Method radiusValueAccessor

src/base/bubble-mixin.js:106–112  ·  view source on GitHub ↗

* Get or set the radius value accessor function. If set, the radius value accessor function will * be used to retrieve a data value for each bubble. The data retrieved then will be mapped using * the r scale to the actual bubble radius. This allows you to encode a data dimension us

(radiusValueAccessor)

Source from the content-addressed store, hash-verified

104 * @returns {Function|BubbleMixin}
105 */
106 radiusValueAccessor (radiusValueAccessor) {
107 if (!arguments.length) {
108 return this._rValueAccessor;
109 }
110 this._rValueAccessor = radiusValueAccessor;
111 return this;
112 }
113
114 rMin () {
115 let values = this.data().map(this.radiusValueAccessor());

Callers 9

constructorMethod · 0.80
rMinMethod · 0.80
rMaxMethod · 0.80
bubbleRMethod · 0.80
constructorMethod · 0.80
stock.jsFile · 0.80
initialize_bubbleFunction · 0.80
initialize_bubbleFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected