Skip to content

arlas-web-components / Exports / PowerbarComponent

Class: PowerbarComponent

Implements

  • OnInit

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new PowerbarComponent()

Properties

NUMBER_FORMAT_CHAR

NUMBER_FORMAT_CHAR: string = NUMBER_FORMAT_CHAR

Defined in

projects/arlas-components/src/lib/components/powerbars/powerbar/powerbar.component.ts:69


hideSelected

hideSelected: boolean = true

Input

: Angular

Description

Hide selected powerbar

Defined in

projects/arlas-components/src/lib/components/powerbars/powerbar/powerbar.component.ts:58


numberShorteningPrecision

numberShorteningPrecision: number = DEFAULT_SHORTENING_PRECISION

Input

: Angular

Description

Precision when rounding numbers (ie the count next to the progress bar). Default is 2.

Defined in

projects/arlas-components/src/lib/components/powerbars/powerbar/powerbar.component.ts:37


onCheckEvent

onCheckEvent: EventEmitter<boolean>

Defined in

projects/arlas-components/src/lib/components/powerbars/powerbar/powerbar.component.ts:66


powerbar

powerbar: PowerBar

Defined in

projects/arlas-components/src/lib/components/powerbars/powerbar/powerbar.component.ts:31


selectWithCheckbox

selectWithCheckbox: boolean = false

Input

: Angular

Description

Whether to have the option to select the powerbar using checkboxes.

Defined in

projects/arlas-components/src/lib/components/powerbars/powerbar/powerbar.component.ts:64


unit

unit: string = ''

Input

: Angular

Description

Unit the a powerbar represents

Defined in

projects/arlas-components/src/lib/components/powerbars/powerbar/powerbar.component.ts:42


useColorFromData

useColorFromData: boolean = false

Input

: Angular

Description

Whether to allow colorizing the bar according to its term or not using a field of the data

Defined in

projects/arlas-components/src/lib/components/powerbars/powerbar/powerbar.component.ts:52


useColorService

useColorService: boolean = false

Input

: Angular

Description

Whether to allow colorizing the bar according to its term or not using keysToColors

Defined in

projects/arlas-components/src/lib/components/powerbars/powerbar/powerbar.component.ts:47

Methods

ngOnInit

ngOnInit(): void

Returns

void

Implementation of

OnInit.ngOnInit

Defined in

projects/arlas-components/src/lib/components/powerbars/powerbar/powerbar.component.ts:72


onCheck

onCheck(): void

Returns

void

Defined in

projects/arlas-components/src/lib/components/powerbars/powerbar/powerbar.component.ts:75