Skip to content

arlas-web-components > "components/gauge/gauge.component" > GaugeComponent

Class: GaugeComponent

Hierarchy

GaugeComponent

Implements

  • AfterViewInit
  • OnChanges

Index

Constructors

Properties

Methods

Object literals


Constructors

constructor

new GaugeComponent(): GaugeComponent

Defined in components/gauge/gauge.component.ts:89

Returns: GaugeComponent


Properties

currentValue

● currentValue: number = 0

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

input: : Angular

description: Current value of the cursor.


cursorHeight

● cursorHeight: number = 10

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

input: : Angular

description: Height of the cursor in pixel.


cursorRadius

● cursorRadius: number = 2

Defined in components/gauge/gauge.component.ts:77

input: : Angular

description: Radius of the corner of the rectangle cursor.


gauge

● gauge: Gauge

Defined in components/gauge/gauge.component.ts:88


gaugeRadius

● gaugeRadius: number = 5

Defined in components/gauge/gauge.component.ts:62

input: : Angular

description: Radius of the corner of the rectangle gauge.


height

● height: number = 250

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

input: : Angular

description: Gauge's height.


maxValue

● maxValue: number = 0

Defined in components/gauge/gauge.component.ts:47

input: : Angular

description: Max value of the gauge.


svgElement

● svgElement: any

Defined in components/gauge/gauge.component.ts:89


threshold

● threshold: number = 0

Defined in components/gauge/gauge.component.ts:52

input: : Angular

description: Threshold of the gauge.


toolTipContent

● toolTipContent: string = "Content of the toolTip"

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

input: : Angular

description: Position of the tooltip.


toolTipPosition

● toolTipPosition: string = "after"

Defined in components/gauge/gauge.component.ts:82

input: : Angular

description: Position of the tooltip.


width

● width: number = 20

Defined in components/gauge/gauge.component.ts:37

input: : Angular

description: Gauge's width


Methods

ngAfterViewInit

ngAfterViewInit(): void

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

Returns: void


ngOnChanges

ngOnChanges(changes: SimpleChanges): void

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

Parameters:

Name Type
changes SimpleChanges

Returns: void


Object literals

margin

margin: object

Defined in components/gauge/gauge.component.ts:67

input: : Angular

description: Margin of the main svg.

bottom

● bottom: number = 5

Defined in components/gauge/gauge.component.ts:67


left

● left: number = 5

Defined in components/gauge/gauge.component.ts:67


● right: number = 5

Defined in components/gauge/gauge.component.ts:67


top

● top: number = 5

Defined in components/gauge/gauge.component.ts:67