com.google.gwt.visualization.client.visualizations
Class AnnotatedTimeLine
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.visualization.client.visualizations.Visualization<AnnotatedTimeLine.Options>
com.google.gwt.visualization.client.visualizations.AnnotatedTimeLine
- All Implemented Interfaces:
- com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener
public class AnnotatedTimeLine
- extends Visualization<AnnotatedTimeLine.Options>
Annotated timeline visualization. May be loaded by calling:
google.load("visualization", "1", {packages:["annotatedtimeline"]});
- See Also:
- Annotated Timeline Visualization Reference.
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
|
Field Summary |
static java.lang.String |
PACKAGE
|
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
DEBUG_ID_PREFIX |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
addDomHandler, addHandler, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onUnload, removeFromParent, setLayoutData, sinkEvents |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, toString, unsinkEvents |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PACKAGE
public static final java.lang.String PACKAGE
- See Also:
- Constant Field Values
AnnotatedTimeLine
public AnnotatedTimeLine(AbstractDataTable data,
AnnotatedTimeLine.Options options,
java.lang.String width,
java.lang.String height)
- Parameters:
data - data to visualizeoptions - Optional parameters for the visualizationwidth - the CSS specifier for the width of the visualizationheight - the CSS specifier for the height of the visualization
AnnotatedTimeLine
public AnnotatedTimeLine(java.lang.String width,
java.lang.String height)
- Parameters:
width - the CSS specifier for the width of the visualizationheight - the CSS specifier for the height of the visualization
addRangeChangeHandler
public final void addRangeChangeHandler(RangeChangeHandler handler)
addReadyHandler
public final void addReadyHandler(ReadyHandler handler)
addSelectHandler
public final void addSelectHandler(SelectHandler handler)
getSelections
public final com.google.gwt.core.client.JsArray<Selection> getSelections()
getVisibleChartRange
public final DateRange getVisibleChartRange()
hideDataColumns
public final void hideDataColumns(int... columnIndexes)
hideDataColumns
public final void hideDataColumns(com.google.gwt.core.client.JsArrayInteger columnIndexes)
setVisibleChartRange
public final void setVisibleChartRange(java.util.Date startTime,
java.util.Date endTime)
showDataColumns
public final void showDataColumns(int... columnIndexes)
showDataColumns
public final void showDataColumns(com.google.gwt.core.client.JsArrayInteger columnIndexes)
createJso
protected com.google.gwt.core.client.JavaScriptObject createJso(com.google.gwt.dom.client.Element parent)
- Description copied from class:
Visualization
- Creates an instance of the underlying JavaScriptObject for this
visualization. Subclasses must override this with JSNI that calls the
JavaScript constructor for their visualization.
- Specified by:
createJso in class Visualization<AnnotatedTimeLine.Options>
- Parameters:
parent - The container for the visualization.
- Returns:
- The underlying JavaScriptObject for the visualization.