arlas-web-components > "components/powerbars/powerbars.component" > PowerbarsComponent

Class: PowerbarsComponent

Hierarchy

PowerbarsComponent

Implements

  • OnInit
  • OnChanges

Index

Constructors

Properties

Methods


Constructors

constructor

new PowerbarsComponent(colorService: ArlasColorService): PowerbarsComponent

Defined in components/powerbars/powerbars.component.ts:146

Parameters:

Name Type
colorService ArlasColorService

Returns: PowerbarsComponent


Properties

NEUTRAL_STATE

● NEUTRAL_STATE: string = "neutral-state"

Defined in components/powerbars/powerbars.component.ts:140


NUMBER_FORMAT_CHAR

● NUMBER_FORMAT_CHAR: string = NUMBER_FORMAT_CHAR

Defined in components/powerbars/powerbars.component.ts:146


SELECTED_BAR

● SELECTED_BAR: string = "selected-bar"

Defined in components/powerbars/powerbars.component.ts:132


SELECTED_NO_MOUNTED_BAR

● SELECTED_NO_MOUNTED_BAR: string = "selected-no-mounted-bar"

Defined in components/powerbars/powerbars.component.ts:144


UNSELECTED_BAR

● UNSELECTED_BAR: string = "unselected-bar"

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


chartWidth

● chartWidth: any = null

Defined in components/powerbars/powerbars.component.ts:111


colorsSaturationWeight

● colorsSaturationWeight: any

Defined in components/powerbars/powerbars.component.ts:95


customizedCssClass

● customizedCssClass: any

Defined in components/powerbars/powerbars.component.ts:69


displayFilterField

● displayFilterField: boolean = false

Defined in components/powerbars/powerbars.component.ts:81


inputData

● inputData: TreeNode

Defined in components/powerbars/powerbars.component.ts:45


keysToColors

● keysToColors: Array<[string, string]>

Defined in components/powerbars/powerbars.component.ts:87


level

● level: number = 1

Defined in components/powerbars/powerbars.component.ts:51


powerBarsList

● powerBarsList: Array<PowerBar>

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


powerbarTitle

● powerbarTitle: string = ""

Defined in components/powerbars/powerbars.component.ts:57


searchedTerm

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

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


selectedPaths

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

Defined in components/powerbars/powerbars.component.ts:75


selectedPowerBarEvent

● selectedPowerBarEvent: Subject<SimpleNode[][]> = new Subject>>()

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


selectedPowerbarsList

● selectedPowerbarsList: Set<PowerBar> = new Set()

Defined in components/powerbars/powerbars.component.ts:126


selectedPowerbarsTerms

● selectedPowerbarsTerms: Set<string> = new Set()

Defined in components/powerbars/powerbars.component.ts:127


unit

● unit: string = ""

Defined in components/powerbars/powerbars.component.ts:63


useColorFromData

● useColorFromData: boolean = false

Defined in components/powerbars/powerbars.component.ts:106


useColorService

● useColorService: boolean = false

Defined in components/powerbars/powerbars.component.ts:101


Methods

clickOnPowerbar

clickOnPowerbar(powerBar: PowerBar): void

Defined in components/powerbars/powerbars.component.ts:184

Parameters:

Name Type
powerBar PowerBar

Returns: void


ngOnChanges

ngOnChanges(changes: SimpleChanges): void

Defined in components/powerbars/powerbars.component.ts:163

Parameters:

Name Type
changes SimpleChanges

Returns: void


ngOnInit

ngOnInit(): void

Defined in components/powerbars/powerbars.component.ts:154

Returns: void


onKeyUp

onKeyUp(searchText: any): void

Defined in components/powerbars/powerbars.component.ts:243

Parameters:

Name Type
searchText any

Returns: void


setSelectedPowerbars

setSelectedPowerbars(selectedPaths: Array<Array<object>>): void

Defined in components/powerbars/powerbars.component.ts:212

Parameters:

Name Type Description
selectedPaths Array<Array<object>> selects the powerbars whose terms are in the selected paths

Returns: void


<Static> getPowerbarsJsonSchema

getPowerbarsJsonSchema(): Object

Defined in components/powerbars/powerbars.component.ts:150

Returns: Object