Class: legendSize

legendSize(selection)

new legendSize(selection)

Constructor

Parameters:
Name Type Description
selection d3.selection

The chart holder D3 selection.

Source:

Methods

(static) height(_v) → {*}

Height Getter / Setter

Parameters:
Name Type Description
_v number

Height in px.

Source:
Returns:
Type
*

(static) itemCount(_v) → {*}

Item Count Getter / Setter

Parameters:
Name Type Description
_v number

Number of items.

Source:
Returns:
Type
*

(static) opacity(_v) → {*}

Opacity Getter / Setter

Parameters:
Name Type Description
_v number

Opacity 0 -1.

Source:
Returns:
Type
*

(static) sizeScale(_v) → {*}

Size Scale Getter / Setter

Parameters:
Name Type Description
_v d3.scale

D3 size scale.

Source:
Returns:
Type
*

(static) transition(_v) → {*}

Transition Getter / Setter

Parameters:
Name Type Description
_v d3.transition

Transition.

Source:
Returns:
Type
*

(static) width(_v) → {*}

Width Getter / Setter

Parameters:
Name Type Description
_v number

Width in px.

Source:
Returns:
Type
*