public final class GaugeChart extends AbstractChart<O,D>
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled
HasWidgets.ForIsWidget
Modifier and Type | Field and Description |
---|---|
protected static double |
DEFAULT_MAX
Default of maximum of dataset
|
static String |
TYPE
Name of chart type "gauge" for gauge
|
DEBUG_ID_PREFIX
Constructor and Description |
---|
GaugeChart()
Builds the object.
|
Modifier and Type | Method and Description |
---|---|
protected ChartOptions |
createChartOptions()
Creates the chart options based on type of chart.
It can be override when a controller is implemented. |
GaugeOptions |
getOptions()
Returns the options of chart.
|
Type |
getType()
Returns the type of chart.
|
GaugeDataset |
newDataset()
Creates a new dataset related to chart type.
|
GaugeDataset |
newDataset(double max)
Returns a dataset with a maximum value.
|
clear, createHandlerManager, destroy, draw, generateLegend, getCanvas, getData, getDatasetAtEvent, getDatasetMeta, getDefaultChartOptions, getElementAtEvent, getElementsAtEvent, getId, getNode, getPlugins, getVisibleDatasetCount, isDatasetVisible, isDestroyOnDetach, isDrawOnAttach, isInitialized, onAttach, onDetach, removeCanvasPreventDefault, render, render, reset, resize, setDestroyOnDetach, setDrawOnAttach, stop, toBase64Image, toJSON, update, update
add, getContainerElement, getWidget, iterator, remove, setWidget, setWidget
add, adopt, doAttachChildren, doDetachChildren, orphan, remove
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onBrowserEvent, 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
forEach, spliterator
public static final String TYPE
protected static final double DEFAULT_MAX
public Type getType()
IsChart
public GaugeOptions getOptions()
IsChart
public GaugeDataset newDataset()
IsChart
public GaugeDataset newDataset(double max)
max
- maximum value of datasetprotected final ChartOptions createChartOptions()
AbstractChart
createChartOptions
in class AbstractChart<O extends MeterOptions,D extends MeterDataset>