Class: labeledNode

labeledNode(selection)

new labeledNode(selection)

Constructor

Parameters:
Name Type Description
selection d3.selection

The chart holder D3 selection.

Source:

Methods

(static) color(_v) → {*}

Color Getter / Setter

Parameters:
Name Type Description
_v string

Color.

Source:
Returns:
Type
*

(static) dispatch(_v) → {*}

Dispatch Getter / Setter

Parameters:
Name Type Description
_v d3.dispatch

Dispatch event handler.

Source:
Returns:
Type
*

(static) display(_v) → {*}

Display Getter / Setter

Parameters:
Name Type Description
_v string

HTML display type (e.g. 'block')

Source:
Returns:
Type
*

(static) fontSize(_v) → {*}

Font Size Getter / Setter

Parameters:
Name Type Description
_v number

Fint size.

Source:
Returns:
Type
*

(static) label(_v) → {*}

Label Getter / Setter

Parameters:
Name Type Description
_v string

Label text.

Source:
Returns:
Type
*

(static) on() → {*}

On Event Getter

Source:
Returns:
Type
*

(static) opacity(_v) → {*}

Opacity Getter / Setter

Parameters:
Name Type Description
_v number

Level of opacity.

Source:
Returns:
Type
*

(static) radius(_v) → {*}

Radius Getter / Setter

Parameters:
Name Type Description
_v number

Radius in px.

Source:
Returns:
Type
*

(static) stroke(_width, _color) → {*}

Stroke Getter / Setter

Parameters:
Name Type Description
_width number

Width in px.

_color string

Colour.

Source:
Returns:
Type
*

(static) transition(_v) → {*}

Transition Getter / Setter XX

Parameters:
Name Type Description
_v d3.transition

Transition.

Source:
Returns:
Type
*