* 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)
| 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()); |
no outgoing calls
no test coverage detected