public final class GaugeOptions extends MeterOptions
DEFAULT_DISPLAY_COLOR, DEFAULT_FORMAT
Constructor and Description |
---|
GaugeOptions(AbstractChart<?,?> chart,
ChartOptions defaultValues)
Builds the object storing the chart instance and defaults.
|
Modifier and Type | Method and Description |
---|---|
AbstractChart<?,?> |
getChart()
Returns the chart instance
|
protected T |
getConfiguration()
Returns the configuration element.
|
protected void |
setConfiguration(T configuration) |
String |
toJSON()
Returns the JSON representation of the object.
|
getDisplay, getDisplayFontColor, getFontFamily, getFontStyle, getFormat, getHover, getLayout, getLegend, getTooltips, isAnimatedDisplay, setAnimatedDisplay, setCutoutPercentage, setDisplay, setDisplayFontColor, setFontFamily, setFontStyle, setFormat, setLegendCallback
getCircumference, getCutoutPercentage, getRotation, setCircumference, setRotation
addHandler, getAnimation, getAspectRatio, getDevicePixelRatio, getElements, getEvents, getLegendCallback, getPlugins, getResponsiveAnimationDuration, getTitle, hasDatasetSelectionHandlers, isMaintainAspectRatio, isResponsive, load, removeHandler, setAspectRatio, setDevicePixelRatio, setEvents, setMaintainAspectRatio, setResponsive, setResponsiveAnimationDuration
onAdd, onRemove
public GaugeOptions(AbstractChart<?,?> chart, ChartOptions defaultValues)
chart
- chart instancedefaultValues
- defaults of chartprotected final void setConfiguration(T configuration)
configuration
- the configuration to setprotected final T getConfiguration()
public final String toJSON()
public final AbstractChart<?,?> getChart()