charted.core.scales library

Collection of scales for use by charts. The role of scales is to map the input domain to an output range.

Charted supports two types of scales:

  • Quantitative, where the scales use a mathematical function for mapping the input domain to output range.
  • Ordinal, where the input domain is discrete (i.e set of values)

Classes

BaseLinearScale
LinearScale
LogScale
Log scale is similar to linear scale, except there's a logarithmic transform that is applied to the input domain value before the output range value is computed. [...]
OrdinalScale<TDomain extends Comparable, TRange>
Minimum common interface supported by scales whose input domain contains discreet values (Ordinal scales).
RoundingFunctions
Scale<TDomain extends Comparable, TRange>
Minimum common interface supported by all scales. QuantitativeScale and OrdinalScale contain the interface for their respective types.
ScaleMilliSeconds
ScaleUtils
Namespacing container for utilities used by scales.
TimeScale
TimeScale is a linear scale that operates on time.

Typedefs

RoundFunction(num) num