Skip to content

arlas-wui-toolkit > "src/app/components/analytics-board/analytics-board.component" > AnalyticsBoardComponent

Class: AnalyticsBoardComponent

This component organizes the Widgets in a board. A Widget is declared within a "group" in the configuration. A group contains one or more Widgets

Hierarchy

AnalyticsBoardComponent

Implements

  • OnInit
  • AfterViewInit
  • OnChanges

Index

Constructors

Properties

Methods


Constructors

constructor

new AnalyticsBoardComponent(collaborativeService: ArlasCollaborativesearchService, renderer: Renderer2): AnalyticsBoardComponent

Defined in src/app/components/analytics-board/analytics-board.component.ts:61

Parameters:

Name Type
collaborativeService ArlasCollaborativesearchService
renderer Renderer2

Returns: AnalyticsBoardComponent


Properties

activeFilter

● activeFilter: Map<string, boolean> = new Map()

Defined in src/app/components/analytics-board/analytics-board.component.ts:61


boardOutputs

● boardOutputs: Subject<object> = new Subject<{ origin: string, event: string, data?: any }>()

Defined in src/app/components/analytics-board/analytics-board.component.ts:55


groups

● groups: Array<AnalyticGroupConfiguration>

Defined in src/app/components/analytics-board/analytics-board.component.ts:41

input: : Angular

description: List of groups. Each group contains one or more widgets.


groupsDisplayStatusMap

● groupsDisplayStatusMap: Map<string, boolean>

Defined in src/app/components/analytics-board/analytics-board.component.ts:45

description: Map of that informs which groupIds to display/hide


mode

● mode: string = "normal"

Defined in src/app/components/analytics-board/analytics-board.component.ts:53

output: : Angular

description: Emits an event coming from one of the Widgets. The emitted output has information about the origin which is the contributor id of the Widget; event the name of the event; and eventually data which contains the emitted data from the component.


modeChange

● modeChange: Subject<string> = new Subject()

Defined in src/app/components/analytics-board/analytics-board.component.ts:58


target

● target: string

Defined in src/app/components/analytics-board/analytics-board.component.ts:54


Methods

changeMode

changeMode(event: any): void

Defined in src/app/components/analytics-board/analytics-board.component.ts:122

Parameters:

Name Type
event any

Returns: void


listenOutput

listenOutput(event: object): void

Defined in src/app/components/analytics-board/analytics-board.component.ts:118

Emits the widgets output events.

Parameters:

event: object

Name of the event

Name Type
Optional data any
event string
origin string

Returns: void


ngAfterViewInit

ngAfterViewInit(): void

Defined in src/app/components/analytics-board/analytics-board.component.ts:93

Returns: void


ngOnChanges

ngOnChanges(changes: SimpleChanges): void

Defined in src/app/components/analytics-board/analytics-board.component.ts:87

Parameters:

Name Type
changes SimpleChanges

Returns: void


ngOnInit

ngOnInit(): void

Defined in src/app/components/analytics-board/analytics-board.component.ts:65

Returns: void


removeFilter

removeFilter(groupId: string, event: any): void

Defined in src/app/components/analytics-board/analytics-board.component.ts:126

Parameters:

Name Type
groupId string
event any

Returns: void


scrollToAnalyticsComponent

scrollToAnalyticsComponent(target: string): void

Defined in src/app/components/analytics-board/analytics-board.component.ts:98

Parameters:

Name Type
target string

Returns: void


setActiveFilter

setActiveFilter(): void

Defined in src/app/components/analytics-board/analytics-board.component.ts:105

Returns: void