Configuration properties for both x and y axis.
Parameters:
Name | Type | Description |
---|---|---|
name |
string | Name which will be displayed below or top of the x axis. |
interpolator |
string | Scale interpolator method. This decides the type of scale to be created. Supported values: - [pow, log]. |
numberOfTicks |
number | Sets the number of ticks. Note:- This is just a hint. It may show more number of ticks than which is specified. |
nice |
number | Extends the domain so that it starts and ends on nice round values. |
show |
boolean | Whether to display the axis or not. |
showAxisName |
boolean | Whether to show the axis name or not. |
tickFormat |
function | tickFormat function which returns formatted tick values. |
padding |
number | Controls padding between plots. Range is between 0 to 1. |
base |
number | Sets the base for log scale |
exponent |
number | Sets the exponent for pow scale. |
lAxis |
LinearAxisConfig | Sets LinearAxisConfig |