Class SankeyChartWidget
- 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<SankeyChart>
- 
- org.pepstock.charba.client.gwt.widgets.SankeyChartWidget
 
 
 
 
 
 
- 
- All Implemented Interfaces:
- com.google.gwt.event.logical.shared.HasAttachHandlers,- com.google.gwt.event.shared.HasHandlers,- com.google.gwt.user.client.EventListener,- com.google.gwt.user.client.ui.AcceptsOneWidget,- com.google.gwt.user.client.ui.HasOneWidget,- com.google.gwt.user.client.ui.HasVisibility,- com.google.gwt.user.client.ui.HasWidgets,- com.google.gwt.user.client.ui.HasWidgets.ForIsWidget,- com.google.gwt.user.client.ui.IsWidget,- Iterable<com.google.gwt.user.client.ui.Widget>,- IsChart,- IsDatasetCreator<SankeyDataset>
 
 public class SankeyChartWidget extends AbstractChartWidget<SankeyChart> implements IsDatasetCreator<SankeyDataset> Sankey charts are a type of flow diagram in which the width of the arrows is proportional to the flow rate.
 Sankey diagrams emphasize the major transfers or flows within a system.
 They help locate the most important contributions to a flow.
 They often show conserved quantities within defined system boundaries.- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Constructor SummaryConstructors Modifier Constructor Description SankeyChartWidget()Builds the object.protectedSankeyChartWidget(SankeyChart extendedChart)Builds the chart.
 This is must be extended for controller which are based on this chart.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SankeyOptionsgetOptions()Returns the options of chart.SankeyDatasetnewDataset(boolean hidden)Creates a new dataset related to chart type.static voidregister()Registers the SANKEY controller in CHART.JS.- 
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, getDatasetReferenceFactory, getDefaultChartOptions, getDrawCount, getElementAtEvent, getElementAtEvent, getElementsAtEvent, 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, 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- 
SankeyChartWidgetpublic SankeyChartWidget() Builds the object.
 - 
SankeyChartWidgetprotected SankeyChartWidget(SankeyChart extendedChart) Builds the chart.
 This is must be extended for controller which are based on this chart.- Parameters:
- extendedChart- new chart
 
 
- 
 - 
Method Detail- 
getOptionspublic SankeyOptions getOptions() Description copied from interface:IsChartReturns the options of chart.- Specified by:
- getOptionsin interface- IsChart
- Returns:
- the options of chart.
 
 - 
newDatasetpublic SankeyDataset newDataset(boolean hidden) Description copied from interface:IsDatasetCreatorCreates a new dataset related to chart type.- Specified by:
- newDatasetin interface- IsDatasetCreator<SankeyDataset>
- Parameters:
- hidden- if- true, it will be initially hidden.
- Returns:
- a new dataset related to chart type.
 
 - 
registerpublic static void register() Registers the SANKEY controller in CHART.JS.
 
- 
 
-