Custom
A transform of your own: forward gives the position of a value (NaN for a value with none), backward its inverse; ticks are round numbers of the data, as on a square-root axis. Two axes are on one scale when they share the same functions (so a val keeps one): Transform.Custom("cube root", math.cbrt, v => v * v * v).
Attributes
- Source
- Transform.scala
Members list
Value members
Inherited methods
The position of v, or NaN when v has none.
The position of v, or NaN when v has none.
Attributes
- Inherited from:
- Transform
- Source
- Transform.scala
The lowest position for data that are not negative (zero on a square-root axis): an axis that widens its range to keep an aspect ratio stops a margin below it, unless it has a negative value.
The lowest position for data that are not negative (zero on a square-root axis): an axis that widens its range to keep an aspect ratio stops a margin below it, unless it has a negative value.
Attributes
- Inherited from:
- Transform
- Source
- Transform.scala
The value at position u: inverse(apply(v)) == v wherever apply(v) is a number.
The value at position u: inverse(apply(v)) == v wherever apply(v) is a number.
Attributes
- Inherited from:
- Transform
- Source
- Transform.scala
A word for the axis note: "log", "square-root".
A word for the axis note: "log", "square-root".
Attributes
- Inherited from:
- Transform
- Source
- Transform.scala
An iterator over the names of all the elements of this product.
An iterator over the names of all the elements of this product.
Attributes
- Inherited from:
- Product
- Source
- Product.scala
An iterator over all the elements of this product.
An iterator over all the elements of this product.
Attributes
- Returns
-
in the default implementation, an
Iterator[Any] - Inherited from:
- Product
- Source
- Product.scala
The label of a tick at v: plain numbers, except on a log axis where 1e-4 and 2e6 read better than a long decimal or 1.00e-04.
The label of a tick at v: plain numbers, except on a log axis where 1e-4 and 2e6 read better than a long decimal or 1.00e-04.
Attributes
- Inherited from:
- Transform
- Source
- Transform.scala
About target round tick values inside [lo, hi] (data units): 1, 2, 5 times a power of ten for a linear or square-root axis, powers of ten (with 2 and 5 between when there are few decades) for a log axis, and for a symmetric log axis zero and those on both sides (round numbers throughout when the range is within a decade of the linear stretch).
About target round tick values inside [lo, hi] (data units): 1, 2, 5 times a power of ten for a linear or square-root axis, powers of ten (with 2 and 5 between when there are few decades) for a log axis, and for a symmetric log axis zero and those on both sides (round numbers throughout when the range is within a decade of the linear stretch).
Attributes
- Inherited from:
- Transform
- Source
- Transform.scala