public abstract class GaugeOptions extends AbstractPlotOptions
Constructor and Description |
---|
GaugeOptions() |
Modifier and Type | Method and Description |
---|---|
abstract void |
addKey(String key)
Adds key to the keys array
|
abstract Boolean |
getAnimation() |
abstract Cursor |
getCursor() |
abstract DataLabels |
getDataLabels() |
abstract Boolean |
getEnableMouseTracking() |
abstract Boolean |
getGetExtremesFromAll() |
abstract String[] |
getKeys() |
abstract Number |
getOvershoot() |
abstract Boolean |
getSelected() |
abstract Boolean |
getShowCheckbox() |
abstract Boolean |
getShowInLegend() |
abstract Boolean |
getStickyTracking() |
abstract SeriesTooltip |
getTooltip() |
abstract Boolean |
getVisible() |
abstract Boolean |
getWrap() |
abstract void |
removeKey(String key)
Removes first occurrence of key in keys array
|
abstract void |
setAnimation(Boolean animation)
Enable or disable the initial animation when a series is displayed.
|
abstract void |
setCursor(Cursor cursor)
You can set the cursor to "pointer" if you have click events attached to
the series, to signal to the user that the points and lines can be
clicked.
|
abstract void |
setDataLabels(DataLabels dataLabels)
Data labels for the gauge.
|
abstract void |
setEnableMouseTracking(Boolean enableMouseTracking)
Enable or disable the mouse tracking for a specific series.
|
abstract void |
setGetExtremesFromAll(Boolean getExtremesFromAll)
Whether to use the Y extremes of the total chart width or only the zoomed
area when zooming in on parts of the X axis.
|
abstract void |
setKeys(String... keys)
An array specifying which option maps to which key in the data point
array.
|
abstract void |
setOvershoot(Number overshoot)
Allow the dial to overshoot the end of the perimeter axis by this many
degrees.
|
abstract void |
setSelected(Boolean selected)
Whether to select the series initially.
|
abstract void |
setShowCheckbox(Boolean showCheckbox)
If true, a checkbox is displayed next to the legend item to allow
selecting the series.
|
abstract void |
setShowInLegend(Boolean showInLegend)
Whether to display this particular series or series type in the legend.
|
abstract void |
setStickyTracking(Boolean stickyTracking)
Sticky tracking of mouse events.
|
abstract void |
setTooltip(SeriesTooltip tooltip)
A configuration object for the tooltip rendering of each single series.
|
abstract void |
setVisible(Boolean visible)
Set the initial visibility of the series.
|
abstract void |
setWrap(Boolean wrap)
When this option is
true , the dial will wrap around the
axes. |
getChartType
public abstract Boolean getAnimation()
setAnimation(Boolean)
public abstract void setAnimation(Boolean animation)
Enable or disable the initial animation when a series is displayed. The animation can also be set as a configuration object. Please note that this option only applies to the initial animation of the series itself.
Due to poor performance, animation is disabled in old IE browsers for column charts and polar charts.
public abstract Cursor getCursor()
setCursor(Cursor)
public abstract void setCursor(Cursor cursor)
public abstract DataLabels getDataLabels()
setDataLabels(DataLabels)
public abstract void setDataLabels(DataLabels dataLabels)
public abstract Boolean getEnableMouseTracking()
setEnableMouseTracking(Boolean)
public abstract void setEnableMouseTracking(Boolean enableMouseTracking)
public abstract Boolean getGetExtremesFromAll()
setGetExtremesFromAll(Boolean)
public abstract void setGetExtremesFromAll(Boolean getExtremesFromAll)
public abstract String[] getKeys()
setKeys(String...)
public abstract void setKeys(String... keys)
public abstract void addKey(String key)
key
- to addsetKeys(String...)
public abstract void removeKey(String key)
key
- to removesetKeys(String...)
public abstract Number getOvershoot()
setOvershoot(Number)
public abstract void setOvershoot(Number overshoot)
public abstract Boolean getSelected()
setSelected(Boolean)
public abstract void setSelected(Boolean selected)
showCheckbox
is
true, the checkbox next to the series name will be checked for a selected
series.public abstract Boolean getShowCheckbox()
setShowCheckbox(Boolean)
public abstract void setShowCheckbox(Boolean showCheckbox)
selected
option.public abstract Boolean getShowInLegend()
setShowInLegend(Boolean)
public abstract void setShowInLegend(Boolean showInLegend)
public abstract Boolean getStickyTracking()
setStickyTracking(Boolean)
public abstract void setStickyTracking(Boolean stickyTracking)
mouseOut
event on a series isn't triggered until the mouse moves over another
series, or out of the plot area. When false, the mouseOut
event on a series is triggered when the mouse leaves the area around the
series' graph or markers. This also implies the tooltip. When
stickyTracking
is false and tooltip.shared
is
false, the tooltip will be hidden when moving the mouse between series.public abstract SeriesTooltip getTooltip()
setTooltip(SeriesTooltip)
public abstract void setTooltip(SeriesTooltip tooltip)
public abstract Boolean getVisible()
setVisible(Boolean)
public abstract void setVisible(Boolean visible)
public abstract Boolean getWrap()
setWrap(Boolean)
public abstract void setWrap(Boolean wrap)
true
, the dial will wrap around the
axes. For instance, in a full-range gauge going from 0 to 360, a value of
400 will point to 40. When wrap
is false
, the
dial stops at 360.Copyright © 2023. All rights reserved.