S
- public abstract class DiscreteQuantitativeScale<S extends DiscreteQuantitativeScale<S>> extends QuantitativeScale<S>
QuantitativeScale
with a discrete output range.
Modifier | Constructor and Description |
---|---|
protected |
DiscreteQuantitativeScale() |
Modifier and Type | Method and Description |
---|---|
Array<Double> |
invertExtent(double y)
Returns the extent of values in the input domain [x0, x1] for the
corresponding value in the output range y, representing the inverse
mapping from range to domain.
|
Array<Double> |
invertExtent(String y)
Returns the extent of values in the input domain [x0, x1] for the
corresponding value in the output range y, representing the inverse
mapping from range to domain.
|
apply, apply, apply, copy, domain, domain, domain, domain, range, range, range, range
public final Array<Double> invertExtent(double y)
This method is useful for interaction, say to determine the value in the input domain that corresponds to the pixel location under the mouse.
y
- the output value to be converted to a domain rangepublic final Array<Double> invertExtent(String y)
This method is useful for interaction, say to determine the value in the input domain that corresponds to the pixel location under the mouse.
y
- the output value to be converted to a domain rangeCopyright © 2015 gwt-d3. All rights reserved.