Package | Description |
---|---|
com.github.gwtd3.api.scales | |
com.github.gwtd3.api.svg | |
com.github.gwtd3.api.time |
Modifier and Type | Class and Description |
---|---|
class |
Scale<S extends Scale<S>>
Scales are functions that map from an input domain to an output range.
|
Modifier and Type | Class and Description |
---|---|
class |
ContinuousQuantitativeScale<S extends ContinuousQuantitativeScale<S>>
QuantitativeScale with a continuous range:
LinearScale have a linear interpolator
LogScale have apply a log function to the domain
PowScale
IdentityScale
TimeScale are linear scale for timestamp
|
class |
DiscreteQuantitativeScale<S extends DiscreteQuantitativeScale<S>>
QuantitativeScale with a discrete output range. |
class |
IdentityScale
Identity scales are a special case of linear scales where the domain and
range are identical; the
apply(double) and its
ContinuousQuantitativeScale.invert(double) method are both the identity function. |
class |
LinearScale
Linear scales are the most common scale, and a good default choice to map a
continuous input domain to a continuous output range.
|
class |
LogScale
Log scales are similar to linear scales, except there's a logarithmic
transform that is applied to the input domain value before the output range
value is computed.
|
class |
OrdinalScale
Ordinal
Scales have a discrete domain, such as a set of names or
categories, and a discrete output range. |
class |
PowScale
Power scales are similar to linear scales, except there's an exponential
transform that is applied to the input domain value before the output range
value is computed.
|
class |
QuantileScale
Quantile scales map an input domain to a discrete range.
|
class |
QuantitativeScale<S extends QuantitativeScale<S>>
Quantitative scales have a continuous domain:
ContinuousQuantitativeScale have a continuous output range
DiscreteQuantitativeScale have a discrete output range
|
class |
QuantizeScale
Quantize scales are a variant of linear scales with a discrete rather than
continuous range.
|
class |
ThresholdScale
Threshold scales are similar to quantize scales, except they allow you to map
arbitrary subsets of the domain to discrete values in the range.
|
Modifier and Type | Method and Description |
---|---|
<S extends Scale<S>> |
Axis.scale()
Return the associated scale, which defaults to a linear scale.
|
<S extends Scale<S>> |
Axis.scale(S s)
Set the associated scale.
|
<T extends Scale<T>> |
Brush.x()
Get the brush’s x-scale, which defaults to null.
|
<T extends Scale<T>> |
Brush.y()
Get the brush’s y-scale, which defaults to null
|
Modifier and Type | Method and Description |
---|---|
Brush |
Brush.x(Scale<?> scale)
Set the brush’s x-scale.
|
Brush |
Brush.y(Scale<?> scale)
Set the brush’s y-scale
|
Modifier and Type | Class and Description |
---|---|
class |
TimeScale
D3's time scale is an extension of
LinearScale that uses JavaScript
Date objects as the domain representation. |
Copyright © 2015 gwt-d3. All rights reserved.