arlas-d3 > "donuts/AbstractDonut" > AbstractDonut

Class: AbstractDonut

Hierarchy

AbstractDonut

MultiSelectionDonut

OneSelectionDonut

Index

Properties

Methods

Object literals


Properties

<Protected> arc

● arc: Arc<any, DefaultArcObject>

Defined in donuts/AbstractDonut.ts:34


<Protected> donutContext

● donutContext: any

Defined in donuts/AbstractDonut.ts:31


donutDimensions

● donutDimensions: DonutDimensions

Defined in donuts/AbstractDonut.ts:30


donutParams

● donutParams: DonutParams

Defined in donuts/AbstractDonut.ts:29


<Protected> lastSelectedNode

● lastSelectedNode: DonutNode = null

Defined in donuts/AbstractDonut.ts:33


<Protected> svgNode

● svgNode: any

Defined in donuts/AbstractDonut.ts:32


<Protected> x

● x: ScaleLinear<number, number>

Defined in donuts/AbstractDonut.ts:35


<Protected> y

● y: ScalePower<number, number>

Defined in donuts/AbstractDonut.ts:36


Methods

<Protected> addSelectedNode

addSelectedNode(clickedNode: DonutNode): void

Defined in donuts/AbstractDonut.ts:157

Parameters:

Name Type Description
clickedNode DonutNode The selected node on the donut

Returns: void


<Protected> createDonutArcs

createDonutArcs(): void

Defined in donuts/AbstractDonut.ts:73

Returns: void


<Abstract> dataChange

dataChange(newData: TreeNode): void

Defined in donuts/AbstractDonut.ts:65

Parameters:

Name Type
newData TreeNode

Returns: void


<Protected> deselectAll

deselectAll(): void

Defined in donuts/AbstractDonut.ts:250

Returns: void


<Protected>``<Abstract> hoverNode

hoverNode(hoveredNode: DonutNode): any

Defined in donuts/AbstractDonut.ts:372

Parameters:

Name Type
hoveredNode DonutNode

Returns: any


<Protected> initializeDonutDimensions

initializeDonutDimensions(): void

Defined in donuts/AbstractDonut.ts:86

Returns: void


<Protected>``<Abstract> onClick

onClick(clickedNode: DonutNode): void

Defined in donuts/AbstractDonut.ts:374

Parameters:

Name Type
clickedNode DonutNode

Returns: void


<Protected> onMouseLeavesContext

onMouseLeavesContext(): void

Defined in donuts/AbstractDonut.ts:342

Returns: void


<Protected> onMouseOut

onMouseOut(): void

Defined in donuts/AbstractDonut.ts:335

Returns: void


<Protected> onMouseOver

onMouseOver(hoveredNode: DonutNode): void

Defined in donuts/AbstractDonut.ts:312

Parameters:

Name Type
hoveredNode DonutNode

Returns: void


<Abstract> onSelectionChange

onSelectionChange(selectedArcsList: Array<Array<SimpleNode>>): void

Defined in donuts/AbstractDonut.ts:66

Parameters:

Name Type
selectedArcsList Array<Array<SimpleNode>>

Returns: void


plot

plot(): void

Defined in donuts/AbstractDonut.ts:45

Returns: void


<Protected> plotDonut

plotDonut(): void

Defined in donuts/AbstractDonut.ts:133

Returns: void


<Protected> reapplySelection

reapplySelection(): void

Defined in donuts/AbstractDonut.ts:259

Returns: void


<Protected> removeAllSimilarNodesOfSameRing

removeAllSimilarNodesOfSameRing(selectedArc: Array<SimpleNode>): void

Defined in donuts/AbstractDonut.ts:234

Parameters:

Name Type Description
selectedArc Array<SimpleNode> Path from the selected arc to the ultimate parent (as an array)

Returns: void


<Protected> removeHigherNodes

removeHigherNodes(clickedNode: DonutNode): void

Defined in donuts/AbstractDonut.ts:195

Parameters:

Name Type Description
clickedNode DonutNode The selected/unselected node of the donut

Returns: void


<Protected> removeSelectedNode

removeSelectedNode(clickedNode: DonutNode): void

Defined in donuts/AbstractDonut.ts:175

Parameters:

Name Type Description
clickedNode DonutNode The unselected node from the donut

Returns: void


<Protected> removeUnExistingNodes

removeUnExistingNodes(): void

Defined in donuts/AbstractDonut.ts:218

Returns: void


resize

resize(donutContainer: HTMLElement): void

Defined in donuts/AbstractDonut.ts:58

Parameters:

Name Type
donutContainer HTMLElement

Returns: void


<Protected> setTooltipPosition

setTooltipPosition(): void

Defined in donuts/AbstractDonut.ts:354

Returns: void


<Protected> showTooltip

showTooltip(node: DonutNode): void

Defined in donuts/AbstractDonut.ts:346

Parameters:

Name Type
node DonutNode

Returns: void


<Protected> structureDataToNodes

structureDataToNodes(): void

Defined in donuts/AbstractDonut.ts:109

Returns: void


<Protected> styleNodes

styleNodes(): void

Defined in donuts/AbstractDonut.ts:271

Returns: void


<Protected> tweenNode

tweenNode(node: DonutNode, duration: number): void

Defined in donuts/AbstractDonut.ts:299

Parameters:

Name Type Description
node DonutNode Clicked on node
duration number Duration of the animation

Returns: void


<Protected>``<Abstract> unhoverNodesButNotSelected

unhoverNodesButNotSelected(): any

Defined in donuts/AbstractDonut.ts:373

Returns: any


Object literals

<Protected> donutTooltip

donutTooltip: object

Defined in donuts/AbstractDonut.ts:37

nodeColor

● nodeColor: null = null

Defined in donuts/AbstractDonut.ts:39


nodeCount

● nodeCount: null = null

Defined in donuts/AbstractDonut.ts:39


nodeName

● nodeName: null = null

Defined in donuts/AbstractDonut.ts:38


nodeParents

● nodeParents: null = null

Defined in donuts/AbstractDonut.ts:38


xPosition

● xPosition: null = null

Defined in donuts/AbstractDonut.ts:38


yPosition

● yPosition: null = null

Defined in donuts/AbstractDonut.ts:38