Class ScatterChartWidget
- java.lang.Object
- 
- com.google.gwt.user.client.ui.UIObject
- 
- com.google.gwt.user.client.ui.Widget
- 
- com.google.gwt.user.client.ui.Panel
- 
- com.google.gwt.user.client.ui.SimplePanel
- 
- org.pepstock.charba.client.gwt.widgets.AbstractChartWidget<ScatterChart>
- 
- org.pepstock.charba.client.gwt.widgets.ScatterChartWidget
 
 
 
 
 
 
- 
- All Implemented Interfaces:
- HasAttachHandlers,- HasHandlers,- EventListener,- AcceptsOneWidget,- HasOneWidget,- HasVisibility,- HasWidgets,- HasWidgets.ForIsWidget,- IsWidget,- Iterable<Widget>,- IsChart,- IsDatasetCreator<ScatterDataset>
 
 public class ScatterChartWidget extends AbstractChartWidget<ScatterChart> implements IsDatasetCreator<ScatterDataset> SCATTER chart GWT WIDGET implementation.
 Scatter charts are based on basic line charts with the x axis changed to a linear axis.
 To use a scatter chart, data must be passed as objects containing X and Y properties.- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObjectUIObject.DebugIdImpl, UIObject.DebugIdImplEnabled
 - 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgetsHasWidgets.ForIsWidget
 
- 
 - 
Field Summary- 
Fields inherited from class com.google.gwt.user.client.ui.UIObjectDEBUG_ID_PREFIX
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description ScatterChartWidget()Builds the object.protectedScatterChartWidget(ScatterChart extendedChart)Builds the chart.
 This is must be extended for controller which are based on this chart.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ScatterOptionsgetOptions()Returns the options of chart.ScatterDatasetnewDataset(boolean hidden)Creates a new dataset related to chart type.- 
Methods inherited from class org.pepstock.charba.client.gwt.widgets.AbstractChartWidgetaddHandler, checkAxes, checkDatasets, createAndSetTimer, destroy, draw, fireEvent, getActiveElements, getBaseType, getCanvas, getChart, getChartElement, getData, getDatasetAtEvent, getDatasetItem, getDefaultChartOptions, getElementAtEvent, getElementsAtEvent, getHandlerCount, getId, getInitialCursor, getNode, getPlugins, getTimer, getTooltipActiveElements, getType, getVisibleDatasetCount, getWholeOptions, hide, hide, isChartAttached, isDatasetVisible, isDataVisible, isDestroyOnDetach, isDrawOnAttach, isEventHandled, isInitialized, reconfigure, reconfigure, reconfigure, removeCanvasPreventDefault, render, reset, resetActiveElements, resetTooltipActiveElements, resize, resize, setActiveElements, setActiveElements, setDatasetVisibility, setDestroyOnDetach, setDrawOnAttach, setTooltipActiveElements, setTooltipActiveElements, show, show, stop, toBase64Image, toggleDataVisibility, update, update, update
 - 
Methods inherited from class com.google.gwt.user.client.ui.SimplePaneladd, getContainerElement, getWidget, iterator, remove, setWidget, setWidget
 - 
Methods inherited from class com.google.gwt.user.client.ui.Paneladd, adopt, clear, doAttachChildren, doDetachChildren, orphan, remove
 - 
Methods inherited from class com.google.gwt.user.client.ui.WidgetaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
 - 
Methods inherited from class com.google.gwt.user.client.ui.UIObjectaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface org.pepstock.charba.client.IsChartclear, toBase64Image, toBase64Image, toBase64Image
 - 
Methods inherited from interface org.pepstock.charba.client.IsDatasetCreatornewDataset
 - 
Methods inherited from interface java.lang.IterableforEach, spliterator
 
- 
 
- 
- 
- 
Constructor Detail- 
ScatterChartWidgetpublic ScatterChartWidget() Builds the object.
 - 
ScatterChartWidgetprotected ScatterChartWidget(ScatterChart extendedChart) Builds the chart.
 This is must be extended for controller which are based on this chart.- Parameters:
- extendedChart- new chart
 
 
- 
 - 
Method Detail- 
getOptionspublic ScatterOptions getOptions() Description copied from interface:IsChartReturns the options of chart.- Specified by:
- getOptionsin interface- IsChart
- Returns:
- the options of chart.
 
 - 
newDatasetpublic ScatterDataset newDataset(boolean hidden) Description copied from interface:IsDatasetCreatorCreates a new dataset related to chart type.- Specified by:
- newDatasetin interface- IsDatasetCreator<ScatterDataset>
- Parameters:
- hidden- if- true, it will be initially hidden.
- Returns:
- a new dataset related to chart type.
 
 
- 
 
-