XYAxes
Constructor Summary
Public Constructor | ||
public |
constructor(xAxisType: *, yAxisType: *, config: *) |
Method Summary
Public Methods | ||
public |
render(svg: *, config: *) |
|
public |
rescale(width: *, height: *) |
|
public |
transition(svg: *, time: number) |
|
public |
updateDomainByBBox(b: *) This function is used when both x and y dial update their domains by x and y max/min values, respectively. |
|
public |
updateDomainByBBoxAndKeys(bbox: *, keys: *) |
|
public |
updateDomainByKeysAndBBox(keys: *, bbox: *) Used when x domain is caterogial (a set of keys) and y domain is linear. |
Public Constructors
public constructor(xAxisType: *, yAxisType: *, config: *) source
Params:
Name | Type | Attribute | Description |
xAxisType | * | ||
yAxisType | * | ||
config | * |
Public Methods
public render(svg: *, config: *) source
Params:
Name | Type | Attribute | Description |
svg | * | ||
config | * |
public rescale(width: *, height: *) source
Params:
Name | Type | Attribute | Description |
width | * | ||
height | * |
public transition(svg: *, time: number) source
Params:
Name | Type | Attribute | Description |
svg | * | ||
time | number |
|
public updateDomainByBBox(b: *) source
This function is used when both x and y dial update their domains by x and y max/min values, respectively.
Params:
Name | Type | Attribute | Description |
b | * |
public updateDomainByBBoxAndKeys(bbox: *, keys: *) source
Params:
Name | Type | Attribute | Description |
bbox | * | ||
keys | * |
public updateDomainByKeysAndBBox(keys: *, bbox: *) source
Used when x domain is caterogial (a set of keys) and y domain is linear.
Params:
Name | Type | Attribute | Description |
keys | * | ||
bbox | * |