Optionalbinnedshould be set to true on the domain
axis that's being broken into bins
OptionalbinsBins to display (Histogram) bins: 20 bins: [0, 20, 40, 60] bins: [new Date(...), new Date(...), ...]
Optionalcorrespondingused to map data on the secondary axis
OptionaldomainWhether 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
Optionalextendan 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)
OptionalincludeWhether the Axis should be forced to include 0 as a starting point (or ending point, in case of all negative axis). Default: true
Optionallimitlimit the visible axis domain to only the binned area
Optionalmainshould be set to true for the
left axis to be the primary axis
Optionalmapsidentifies what key within the data the axis values would map to
Optionalpercentageoption for percentage axis scale
Optionalscaletype of the scale used on axis
Optionalstackedoption for stacked axis
Optionalthresholdsthresholds
Optionaltickstick configuration
Optionalformatter?: ((tick: number | Date, i: number) => string) | ((tick: number | Date) => string)function to format the ticks
Optionalmax?: numbermaximum tick value
Optionalmin?: numberminimum tick value
Optionalnumber?: numbernumber of ticks to show
OptionalrotateIfSmallerThan?: numberminimum width of a tick before getting rotated (in pixels)
Optionalrotation?: TickRotationswhen to rotate ticks
Optionalvalues?: any[]optional array of tick values that is within the domain of data
Optionaltitleoptional title for the scales
OptionaltitleOverride for the orientation of the title (for vertical axes). The title string can be overrided to be rotated left or right.
OptionaltruncationOptionalvisibleis axis visible or not
options to configure a scale. not all options are used by all scales