new ContinuousTransform()
ContinuousTransfrom defines a transformation on continuous (nummerical) data. Currently linear interpolation between a set of control points is implemented.
- Source:
Members
(static) transformedMax :number
The maximum value this facet can take, after the transformation has been applied
- Source:
Type:
-
number
(static) transformedMaxAsText :string
The maximum value this facet can take, after the transformation has been applied
- Source:
Type:
-
string
(static) transformedMin :number
The minimum value this facet can take, after the transformation has been applied
- Source:
Type:
-
number
(static) transformedMinAsText :string
The minimum value this facet can take, after the transformation has been applied
- Source:
Type:
-
string
(static) type
The type of continuous transform, can be none, or percentiles Use isNone, or isPercentiles, check for transform type
- Source:
Methods
(static) inverse(fx) → {number}
The inverse of the transform
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
fx |
number
|
Returns:
- Type:
-
number
x
(static) transform(x) → {number}
Apply piecewise linear transformation The function is constant outside the range spanned by the control points; there it is set to value of the first, or the last, control points.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
x |
number
|
Returns:
- Type:
-
number
fx