public interface DatumFunction<T>
This function must be passed to mutator functions of Selection when you knows that nodes are not bound to any data.
T apply(com.google.gwt.dom.client.Element context, Value d, int index)
Element at the specified index
of the Selection mapped to the given Datum.
Note that if no datum is mapped to the element, Datum#isUndefined() will return true.
context - the current element, may be irrelevant or null in some context.d - the datumindex - the index of the element in the selectionCopyright © 2015 gwt-d3. All rights reserved.