Skip to content

arlas-d3 > "donuts/DonutParams" > DonutParams

Class: DonutParams

Hierarchy

DonutParams

Index

Properties

Object literals


Properties

colorsSaturationWeight

● colorsSaturationWeight: number

Defined in donuts/DonutParams.ts:100

description: Knowing that saturation scale is [0, 1], colorsSaturationWeight is a factor (between 0 and 1) that tightens this scale to [(1-colorsSaturationWeight), 1]. Therefore colors saturation of donuts arcs will be within this tightened scale..


customizedCssClass

● customizedCssClass: any

Defined in donuts/DonutParams.ts:45

description: Css class name to use to customize a specific powerbar's style.


donutContainer

● donutContainer: HTMLElement

Defined in donuts/DonutParams.ts:90

description: The div element that wraps the donut component.


donutData

● donutData: TreeNode

Defined in donuts/DonutParams.ts:35

description: Data displayed on the donut. Each node's size must be specified


donutNodeColorizer

● donutNodeColorizer: ColorGenerator

Defined in donuts/DonutParams.ts:104

description: an object that implements ColorGenerator interface.


donutNodes

● donutNodes: Array<DonutNode>

Defined in donuts/DonutParams.ts:82

description: D3 nodes diplayed on the donut.


hoveredNodeTooltipEvent

● hoveredNodeTooltipEvent: Subject<DonutTooltip> = new Subject()

Defined in donuts/DonutParams.ts:73

description: Emits the tooltip of the hovered node.


hoveredNodesEvent

● hoveredNodesEvent: Subject<Map<string, string>> = new Subject>()

Defined in donuts/DonutParams.ts:68

description: Emits the hovered node and the path to it's parents. The key of the map is the node's name and the value is its color on the donut.


id

● id: any

Defined in donuts/DonutParams.ts:30

description: Id of the donut.


keysToColors

● keysToColors: Array<[string, string]>

Defined in donuts/DonutParams.ts:94

description: List of [key, color] couples that associates a hex color to each key


multiselectable

● multiselectable: boolean = true

Defined in donuts/DonutParams.ts:56

description: Whether the donut is multi-selectable.


opacity

● opacity: number = 0.4

Defined in donuts/DonutParams.ts:40

description: Sets the opacity of non-hovered or non-selected nodes.


selectedArcsList

● selectedArcsList: Array<Array<object>> = new Array>()

Defined in donuts/DonutParams.ts:50

description: List of selected nodes.


selectedNodesEvent

● selectedNodesEvent: Subject<Array<Array<object>>> = new Subject>>()

Defined in donuts/DonutParams.ts:61

description: Emits the list of selected nodes and the paths to their ultimate parent


svgElement

● svgElement: SVGElement

Defined in donuts/DonutParams.ts:86

description: The SVG element that's the donut is built on.


Object literals

tooltip

tooltip: object

Defined in donuts/DonutParams.ts:78

description: Tooltip displayed when a node is hovered.

isRightSide

● isRightSide: false = false

Defined in donuts/DonutParams.ts:78


isShown

● isShown: false = false

Defined in donuts/DonutParams.ts:78


xContent

● xContent: string = ""

Defined in donuts/DonutParams.ts:78


xPosition

● xPosition: number = 0

Defined in donuts/DonutParams.ts:78


yContent

● yContent: string = ""

Defined in donuts/DonutParams.ts:78


yPosition

● yPosition: number = 0

Defined in donuts/DonutParams.ts:78