dc.js Mixin: bubbleMixin (original) (raw)
dc. bubbleMixin
Methods
maxBubbleRelativeSize( [relativeSize])
Get or set the maximum relative size of a bubble to the length of x axis. This value is useful when the difference in radius between bubbles is too great.
Parameters:
Name | Type | Argument | Default | Description |
---|---|---|---|---|
relativeSize | Number | 0.3 |
Source:
Returns:
Type
Number|dc.bubbleMixin
minRadius( [radius])
Get or set the minimum radius. This will be used to initialize the radius scale's range.
Parameters:
Name | Type | Argument | Default | Description |
---|---|---|---|---|
radius | Number | 10 |
Source:
Returns:
Type
Number|dc.bubbleMixin
minRadiusWithLabel( [radius])
Get or set the minimum radius for label rendering. If a bubble's radius is less than this value then no label will be rendered.
Parameters:
Name | Type | Argument | Default | Description |
---|---|---|---|---|
radius | Number | 10 |
Source:
Returns:
Type
Number|dc.bubbleMixin
r( [bubbleRadiusScale])
Parameters:
Name | Type | Argument | Default | Description |
---|---|---|---|---|
bubbleRadiusScale | d3.scale | d3.scaleLinear().domain([0, 100]) |
Source:
See:
Returns:
Type
d3.scale|dc.bubbleMixin
radiusValueAccessor( [radiusValueAccessor])
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 using bubble size.
Parameters:
Name | Type | Argument | Description |
---|---|---|---|
radiusValueAccessor | function |
Source:
Returns:
Type
function|dc.bubbleMixin