Optional
binnedOptional
binsBins to display (Histogram) bins: 20 bins: [0, 20, 40, 60] bins: [new Date(...), new Date(...), ...]
Optional
correspondingused to map data on the secondary axis
Optional
domainWhether the Axis should use the specified domain instead of it being dynamically generated based on data extents. The type of values should depend on the scale type. Example for continuous axis scale: [-100, 100] Example for discrete axis scale: ['Qty', 'More', 'Sold'] No need to define domain for percentage axis scale
Optional
extendan additional key from the charting data that is used to extend the domain of an axis by (e.g. in the bullet graph we need both the marker & the data values to define the domain of the linear scale)
Optional
includeWhether the Axis should be forced to include 0 as a starting point (or ending point, in case of all negative axis). Default: true
Optional
limitlimit the visible axis domain to only the binned area
Optional
mapsidentifies what key within the data the axis values would map to
Optional
scaletype of the scale used on axis
Optional
thresholdsthresholds
Optional
tickstick configuration
Optional
formatter?: (tick: number | Date, i: number) => string | (tick: number | Date) => stringfunction to format the ticks
Optional
max?: numbermaximum tick value
Optional
min?: numberminimum tick value
Optional
number?: numbernumber of ticks to show
Optional
rotateIfSmallerThan?: numberminimum width of a tick before getting rotated (in pixels)
Optional
rotation?: interfaces.TickRotationswhen to rotate ticks
Optional
values?: any[]optional array of tick values that is within the domain of data
Optional
titleoptional title for the scales
Optional
titleOverride for the orientation of the title (for vertical axes). The title string can be overrided to be rotated left or right.
Optional
truncationOptional
visibleis axis visible or not
should be set to
true
on the domain axis that's being broken into bins