Package | Description |
---|---|
com.github.gwtd3.api | |
com.github.gwtd3.api.arrays | |
com.github.gwtd3.api.core | |
com.github.gwtd3.api.dsv | |
com.github.gwtd3.api.functions | |
com.github.gwtd3.api.interpolators |
TODO: interpolator factory API is a work in progress.
|
com.github.gwtd3.api.layout | |
com.github.gwtd3.api.scales | |
com.github.gwtd3.api.tweens |
Modifier and Type | Method and Description |
---|---|
static Value |
Arrays.max(com.google.gwt.core.client.JavaScriptObject array)
Returns the maximum value in the given array using natural order.
|
static Value |
Arrays.max(com.google.gwt.core.client.JavaScriptObject array,
ForEachCallback<?> accessor)
Transform the values in the given array using the specified
ForEachCallback and returns the maximum value
in the transformed
values using natural order. |
static Value |
Arrays.max(com.google.gwt.core.client.JavaScriptObject array,
NumericForEachCallback accessor)
Transform the values in the given array using the specified
ForEachCallback and returns the maximum value
in the transformed
values using natural order. |
static Value |
Arrays.min(com.google.gwt.core.client.JavaScriptObject array)
Returns the minimum value in the given array using natural order.
|
static Value |
Arrays.min(com.google.gwt.core.client.JavaScriptObject array,
ForEachCallback<?> accessor)
Transform the values in the given array using the specified
ForEachCallback and returns the minimum value
in the transformed
values using natural order. |
static Value |
Arrays.min(com.google.gwt.core.client.JavaScriptObject array,
NumericForEachCallback accessor)
Transform the values in the given array using the specified
ForEachCallback and returns the minimum value
in the transformed
values using numeric order. |
Modifier and Type | Method and Description |
---|---|
Value |
Array.getValue(int i)
Return the element at the given index wrapped by a
Value object. |
Modifier and Type | Method and Description |
---|---|
Iterable<Value> |
Array.asIterable() |
Modifier and Type | Method and Description |
---|---|
double |
NumericForEachCallback.forEach(Object thisArg,
Value element,
int index,
Array<?> array)
Executed for each element of the array with an assigned value.
|
T |
ForEachCallback.forEach(Object thisArg,
Value element,
int index,
Array<?> array)
Executed for each element of the array with an assigned value.
|
Modifier and Type | Method and Description |
---|---|
static Value |
Value.create(com.google.gwt.core.client.JavaScriptObject object,
String propertyName)
Create a
Value instance from the value of the named property of
the given object. |
static Value |
Value.create(Object o)
Wraps the given object into a
Value . |
Value |
Selection.datum()
Returns the bound datum for the first non-null element in the selection.
|
Value |
Value.getProperty(String propertyName)
Return the property of this object as a
Value . |
Value |
Selection.property(String name)
This method return the value of the specified property for the first
non-null element in the selection.
|
Modifier and Type | Method and Description |
---|---|
Selection |
Selection.sort(Comparator<Value> comparator)
Sorts the elements in the current selection according to the specified
comparator function.
|
Modifier and Type | Method and Description |
---|---|
Value |
DsvRow.get(String field)
Generic method to get the value of a named field.
|
Modifier and Type | Method and Description |
---|---|
T |
PropertyValueFunction.apply(com.google.gwt.dom.client.Element context,
Value d,
int index) |
Void |
CountFunction.apply(com.google.gwt.dom.client.Element context,
Value d,
int index) |
T |
DatumFunction.apply(com.google.gwt.dom.client.Element context,
Value d,
int index)
Apply the function for the given
Element at the specified index
of the Selection mapped to the given Datum . |
T |
KeyFunction.map(com.google.gwt.dom.client.Element context,
Array<?> newDataArray,
Value datum,
int index)
Invoked once for each datum in the new data array (A),
then once for each element in the current selection (B).
|
Modifier and Type | Method and Description |
---|---|
Value |
JavascriptFunctionInterpolator.interpolate(double t) |
Modifier and Type | Method and Description |
---|---|
T |
JavascriptFunctionInterpolatorDecorator.cast(Value v)
Cast the given value to the correct type.
|
Modifier and Type | Class and Description |
---|---|
static class |
Chord.ChordItem |
Modifier and Type | Method and Description |
---|---|
Value |
Scale.apply(double d)
Given a value x in the input domain, returns the corresponding value in
the output range.
|
Value |
Scale.apply(com.google.gwt.core.client.JavaScriptObject d)
Given a value x in the input domain, returns the corresponding value in
the output range.
|
Value |
Scale.apply(String d)
Given a value x in the input domain, returns the corresponding value in
the output range.
|
Value |
ContinuousQuantitativeScale.invert(double d)
Returns the value in the input domain x for the corresponding value in
the output range y.
|
Modifier and Type | Method and Description |
---|---|
Interpolator<T> |
TweenFunction.apply(com.google.gwt.dom.client.Element context,
Value datum,
int index,
Value value) |
Copyright © 2015 gwt-d3. All Rights Reserved.