Skip to content

@jpmorganchase/anu / Exports / Axis

Class: Axis

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new Axis(name, scene, options?): Axis

Parameters

NameType
namestring
sceneScene
optionsAxisOptions

Returns

Axis

Defined in

prefabs/Axis/Axis.ts:48

Properties

CoT

CoT: Selection

Defined in

prefabs/Axis/Axis.ts:41


background

background: Object

Type declaration

NameType
x?Selection
y?Selection
z?Selection

Defined in

prefabs/Axis/Axis.ts:44


domain

domain: Selection

Defined in

prefabs/Axis/Axis.ts:43


grid

grid: Selection

Defined in

prefabs/Axis/Axis.ts:45


label

label: Object

Type declaration

NameType
x?Selection
y?Selection
z?Selection

Defined in

prefabs/Axis/Axis.ts:46


name

name: string

Defined in

prefabs/Axis/Axis.ts:38


options

options: AxisOptions

Defined in

prefabs/Axis/Axis.ts:39


scales

scales: any

Defined in

prefabs/Axis/Axis.ts:42


scene

scene: Scene

Defined in

prefabs/Axis/Axis.ts:40


setBackground

Private setBackground: (this: Axis) => { x?: Selection ; y?: Selection ; z?: Selection } = backgroundAlt

Type declaration

▸ (this): Object

Parameters
NameType
thisAxis
Returns

Object

NameType
x?Selection
y?Selection
z?Selection

Defined in

prefabs/Axis/Axis.ts:120


setDomain

Private setDomain: (this: Axis) => Selection = domain

Type declaration

▸ (this): Selection

Parameters
NameType
thisAxis
Returns

Selection

Defined in

prefabs/Axis/Axis.ts:119


setGrid

Private setGrid: (this: Axis) => Selection = grid

Type declaration

▸ (this): Selection

Parameters
NameType
thisAxis
Returns

Selection

Defined in

prefabs/Axis/Axis.ts:121


setLabel

Private setLabel: (this: Axis) => { x?: Selection ; y?: Selection ; z?: Selection } = labelAlt

Type declaration

▸ (this): Object

Parameters
NameType
thisAxis
Returns

Object

NameType
x?Selection
y?Selection
z?Selection

Defined in

prefabs/Axis/Axis.ts:122

Methods

setCoT

setCoT(): Selection

Returns

Selection

Defined in

prefabs/Axis/Axis.ts:60


setScales

setScales(): Object

Returns

Object

NameType
sizenumber
x{ domain: any = domainX; range: number[] = rangeX; scale: any = scaleX }
x.domainany
x.rangenumber[]
x.scaleany
y{ domain: any = domainY; range: number[] = rangeY; scale: any = scaleY }
y.domainany
y.rangenumber[]
y.scaleany
z{ domain: any = domainZ; range: number[] = rangeZ; scale: any = scaleZ }
z.domainany
z.rangenumber[]
z.scaleany

Defined in

prefabs/Axis/Axis.ts:71