public class GaugeOptions extends MeterOptions
DEFAULT_DISPLAY_COLOR, DEFAULT_FORMAT| Constructor and Description |
|---|
GaugeOptions(AbstractChart<?,?> chart)
Builds the object storing the chart instance.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getCircumference()
Returns the the sweep to allow arcs to cover.
|
double |
getCutoutPercentage()
Returns the the percentage of the chart that is cut out of the middle.
|
double |
getRotation()
returns the starting angle to draw arcs from.
|
void |
setCircumference(double circumference)
Sets the sweep to allow arcs to cover.
|
void |
setRotation(double rotation)
Sets the starting angle to draw arcs from.
|
getDisplay, getDisplayFontColor, getFontFamily, getFontStyle, getFormat, getHover, getLayout, getLegend, getTooltips, setCutoutPercentage, setDisplay, setDisplayFontColor, setFontFamily, setFontStyle, setFormat, setLegendCallBackaddHandler, generateLegend, getAnimation, getDevicePixelRatio, getElements, getEvents, getLegendCallBack, getPlugins, getResponsiveAnimationDuration, getTitle, isAnimationEnable, isMaintainAspectRatio, isResponsive, onClick, onHover, onItemClick, onResize, removeHandler, setAnimationEnabled, setDevicePixelRatio, setEvents, setMaintainAspectRatio, setResponsive, setResponsiveAnimationDurationonAdd, onRemovegetChartcheckAndGetDoubleValues, checkAndGetEnumValues, checkAndGetIntegerValues, checkAndGetStringValues, checkAndSetDoubleValues, checkAndSetEnumValues, checkAndSetIntegerValues, checkAndSetStringValues, getDoubleArray, getIntegerArray, getJavaScriptObject, getObjectArray, getStringArray, getValue, getValue, getValue, getValue, getValue, getValue, getValue, has, has, hasToBeRegistered, isEmpty, keys, remove, remove, removeIfExists, setDoubleArray, setEnumValueArray, setIntegerArray, setObjectArray, setStringArray, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, toString, typepublic GaugeOptions(AbstractChart<?,?> chart)
chart - chart instancepublic double getCutoutPercentage()
Options.getCutoutPercentage().public void setRotation(double rotation)
rotation - starting angle to draw arcs from.public double getRotation()
Options.getRotation().public void setCircumference(double circumference)
circumference - the sweep to allow arcs to cover.public double getCircumference()
Options.getCircumference().