axis property
dynamic
get
axis
Implementation
external dynamic
/*{
/**
* Get and set axis labels.
* @param labels If labels is given, specified axis' label will be updated.
*/
labels(labels?: { [key: string]: string }): { [key: string]: string }
/**
* Get and set axis min value.
* @param min If min is given, specified axis' min value will be updated. If no argument is given, the current min values for each axis will be returned.
*/
min(min?: number | { [key: string]: number }): number | { [key: string]: number }
/**
* Get and set axis max value.
* @param max If max is given, specified axis' max value will be updated. If no argument is given, the current max values for each axis will be returned.
*/
max(max?: number | { [key: string]: number }): number | { [key: string]: number }
/**
* Get and set axis min and max value.
* @param range If range is given, specified axis' min and max value will be updated. If no argument is given, the current min and max values for each axis will be returned.
*/
range(range?: { min?: number | { [key: string]: number }; max?: number | { [key: string]: number } }): { min: number | { [key: string]: number }; max: number | { [key: string]: number } }
}*/
get axis;
set
axis
(dynamic v)
Implementation
external set axis(
dynamic
/*{
/**
* Get and set axis labels.
* @param labels If labels is given, specified axis' label will be updated.
*/
labels(labels?: { [key: string]: string }): { [key: string]: string }
/**
* Get and set axis min value.
* @param min If min is given, specified axis' min value will be updated. If no argument is given, the current min values for each axis will be returned.
*/
min(min?: number | { [key: string]: number }): number | { [key: string]: number }
/**
* Get and set axis max value.
* @param max If max is given, specified axis' max value will be updated. If no argument is given, the current max values for each axis will be returned.
*/
max(max?: number | { [key: string]: number }): number | { [key: string]: number }
/**
* Get and set axis min and max value.
* @param range If range is given, specified axis' min and max value will be updated. If no argument is given, the current min and max values for each axis will be returned.
*/
range(range?: { min?: number | { [key: string]: number }; max?: number | { [key: string]: number } }): { min: number | { [key: string]: number }; max: number | { [key: string]: number } }
}*/
v);