arlas-web-components > "components/donut/donut.component" > DonutComponent

Class: DonutComponent

Hierarchy

DonutComponent

Implements

  • OnChanges

Index

Constructors

Properties

Methods


Constructors

constructor

new DonutComponent(el: ElementRef, colorService: ArlasColorService, translate: TranslateService): DonutComponent

Defined in components/donut/donut.component.ts:125

Parameters:

Name Type
el ElementRef
colorService ArlasColorService
translate TranslateService

Returns: DonutComponent


Properties

colorsSaturationWeight

● colorsSaturationWeight: number = 1 / 2

Defined in components/donut/donut.component.ts:86


containerWidth

● containerWidth: number

Defined in components/donut/donut.component.ts:98


customizedCssClass

● customizedCssClass: any

Defined in components/donut/donut.component.ts:54


diameter

● diameter: number

Defined in components/donut/donut.component.ts:92


donut

● donut: AbstractDonut

Defined in components/donut/donut.component.ts:125


donutData

● donutData: TreeNode

Defined in components/donut/donut.component.ts:42


hoveredNodeTooltipEvent

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

Defined in components/donut/donut.component.ts:123


hoveredNodesEvent

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

Defined in components/donut/donut.component.ts:117


id

● id: any

Defined in components/donut/donut.component.ts:72


keysToColors

● keysToColors: Array<[string, string]>

Defined in components/donut/donut.component.ts:78


multiselectable

● multiselectable: boolean = true

Defined in components/donut/donut.component.ts:66


opacity

● opacity: number = 0.4

Defined in components/donut/donut.component.ts:48


selectedArcsList

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

Defined in components/donut/donut.component.ts:60


selectedNodesEvent

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

Defined in components/donut/donut.component.ts:110


unit

● unit: string = ""

Defined in components/donut/donut.component.ts:104


Methods

ngOnChanges

ngOnChanges(changes: SimpleChanges): void

Defined in components/donut/donut.component.ts:136

Parameters:

Name Type
changes SimpleChanges

Returns: void


<Static> getDonutJsonSchema

getDonutJsonSchema(): Object

Defined in components/donut/donut.component.ts:160

Returns: Object Json schema of the donut component for configuration