Skip to content

arlas-d3 > "gauge/Gauge" > Gauge

Class: Gauge

Hierarchy

Gauge

Index

Constructors

Properties

Methods

Object literals


Constructors

constructor

new Gauge(width: number, height: number): Gauge

Defined in gauge/Gauge.ts:29

Parameters:

Name Type
width number
height number

Returns: Gauge


Properties

cursorHeight

● cursorHeight: number = 10

Defined in gauge/Gauge.ts:28


cursorRadius

● cursorRadius: number = 2

Defined in gauge/Gauge.ts:29


gaugeRadius

● gaugeRadius: number = 5

Defined in gauge/Gauge.ts:26


Methods

plot

plot(maxValue: number, threshold: number, currentValue: number, svg: any): void

Defined in gauge/Gauge.ts:35

Parameters:

Name Type
maxValue number
threshold number
currentValue number
svg any

Returns: void


Object literals

margin

margin: object

Defined in gauge/Gauge.ts:27

bottom

● bottom: number = 5

Defined in gauge/Gauge.ts:27


left

● left: number = 5

Defined in gauge/Gauge.ts:27


● right: number = 5

Defined in gauge/Gauge.ts:27


top

● top: number = 5

Defined in gauge/Gauge.ts:27