@jpmorganchase/anu / Exports / Axis
Class: Axis
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new Axis(name
, scene
, options?
): Axis
Parameters
Name | Type |
---|---|
name | string |
scene | Scene |
options | AxisOptions |
Returns
Defined in
Properties
CoT
• CoT: Selection
Defined in
background
• background: Object
Type declaration
Name | Type |
---|---|
x? | Selection |
y? | Selection |
z? | Selection |
Defined in
domain
• domain: Selection
Defined in
grid
• grid: Selection
Defined in
label
• label: Object
Type declaration
Name | Type |
---|---|
x? | Selection |
y? | Selection |
z? | Selection |
Defined in
name
• name: string
Defined in
options
• options: AxisOptions
Defined in
scales
• scales: any
Defined in
scene
• scene: Scene
Defined in
setBackground
• Private
setBackground: (this
: Axis
) => { x?
: Selection
; y?
: Selection
; z?
: Selection
} = backgroundAlt
Type declaration
▸ (this
): Object
Parameters
Name | Type |
---|---|
this | Axis |
Returns
Object
Name | Type |
---|---|
x? | Selection |
y? | Selection |
z? | Selection |
Defined in
setDomain
• Private
setDomain: (this
: Axis
) => Selection
= domain
Type declaration
▸ (this
): Selection
Parameters
Name | Type |
---|---|
this | Axis |
Returns
Defined in
setGrid
• Private
setGrid: (this
: Axis
) => Selection
= grid
Type declaration
▸ (this
): Selection
Parameters
Name | Type |
---|---|
this | Axis |
Returns
Defined in
setLabel
• Private
setLabel: (this
: Axis
) => { x?
: Selection
; y?
: Selection
; z?
: Selection
} = labelAlt
Type declaration
▸ (this
): Object
Parameters
Name | Type |
---|---|
this | Axis |
Returns
Object
Name | Type |
---|---|
x? | Selection |
y? | Selection |
z? | Selection |
Defined in
Methods
setCoT
▸ setCoT(): Selection
Returns
Defined in
setScales
▸ setScales(): Object
Returns
Object
Name | Type |
---|---|
size | number |
x | { domain : any = domainX; range : number [] = rangeX; scale : any = scaleX } |
x.domain | any |
x.range | number [] |
x.scale | any |
y | { domain : any = domainY; range : number [] = rangeY; scale : any = scaleY } |
y.domain | any |
y.range | number [] |
y.scale | any |
z | { domain : any = domainZ; range : number [] = rangeZ; scale : any = scaleZ } |
z.domain | any |
z.range | number [] |
z.scale | any |