There are five chart types that use Cartesian grids: bar, horizontalBar, line, scatter, and bubble. Every chart has two scales, one for each perpendicular axis. Each scale can be of four types:
- type:'linear': A numeric scale that can be used to compare values of the same order of magnitude.
- type:'logarithmic': A numeric scale to compare values that differ in order of magnitude.
- type:'category': A list of unordered categories.
- type:'time': An ordered list of instants. This scale requires the moment.js library.
In most charts, at least one of the scales is numeric (linear or logarithmic). In scatterplots and bubble charts, both scales are numeric. Time-series charts use a numeric scale and a time scale, but you can also use a category scale. You can also create correlation charts where both scales are...