public class PieChartWidget extends AbstractChartWidget<PieChart> implements IsDatasetCreator<PieDataset>
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled
HasWidgets.ForIsWidget
DEBUG_ID_PREFIX
Modifier | Constructor and Description |
---|---|
|
PieChartWidget()
Builds the object.
|
protected |
PieChartWidget(PieChart extendedChart)
Builds the chart.
This is must be extended for controller which are based on this chart. |
Modifier and Type | Method and Description |
---|---|
PieOptions |
getOptions()
Returns the options of chart.
|
PieDataset |
newDataset(boolean hidden)
Creates a new dataset related to chart type.
|
addHandler, 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
add, getContainerElement, getWidget, iterator, remove, setWidget, setWidget
add, adopt, clear, doAttachChildren, doDetachChildren, orphan, remove
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
addStyleDependentName, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
newDataset
checkAndGetIfConsistent, checkAndGetIfValid, checkIfConsistent, checkIfValid, clear, isAbstractChart, isConsistent, isValid, toBase64Image, toBase64Image, toBase64Image
forEach, spliterator
public PieChartWidget()
protected PieChartWidget(PieChart extendedChart)
extendedChart
- new chart instancepublic PieOptions getOptions()
IsChart
getOptions
in interface IsChart
public PieDataset newDataset(boolean hidden)
IsDatasetCreator
newDataset
in interface IsDatasetCreator<PieDataset>
hidden
- if true
, it will be initially hidden.