public class AngularGaugeChart extends AbstractChart<AngularGaugeChart> implements AngularGaugeChartModel<AngularGaugeChart>
AbstractChart.DataProviderChangeListener
Constructor and Description |
---|
AngularGaugeChart() |
Modifier and Type | Method and Description |
---|---|
AngularGaugeChart |
addArrows(GaugeArrow... arrows)
Adds GaugeArrows.
|
AngularGaugeChart |
addAxes(GaugeAxis... axes)
Adds GaugeAxis.
|
java.lang.Boolean |
getAdjustSize() |
java.util.List<GaugeArrow> |
getArrows() |
java.util.List<GaugeAxis> |
getAxes() |
java.lang.Boolean |
getClockWiseOnly() |
java.lang.Double |
getFaceAlpha() |
java.lang.Double |
getFaceBorderAlpha() |
Color |
getFaceBorderColor() |
java.lang.Integer |
getFaceBorderWidth() |
Color |
getFaceColor() |
Pattern |
getFacePattern() |
java.lang.String |
getGaugeX() |
java.lang.String |
getGaugeY() |
java.lang.Integer |
getMarginBottom() |
java.lang.Integer |
getMarginLeft() |
java.lang.Integer |
getMarginRight() |
java.lang.Integer |
getMarginTop() |
java.lang.Integer |
getMinRadius() |
java.lang.Double |
getStartDuration() |
AnimationEffect |
getStartEffect() |
AngularGaugeChart |
setAdjustSize(java.lang.Boolean adjustSize)
Sets using the whole space of the canvas to draw the gauge.
|
AngularGaugeChart |
setArrows(java.util.List<GaugeArrow> arrows)
Sets list of GaugeArrow.
|
AngularGaugeChart |
setAxes(java.util.List<GaugeAxis> axes)
Sets list of GaugeAxis.
|
AngularGaugeChart |
setClockWiseOnly(java.lang.Boolean clockWiseOnly)
Set clockWiseOnly to true if you use gauge to create a clock.
|
AngularGaugeChart |
setFaceAlpha(java.lang.Double faceAlpha)
Sets gauge face opacity.
|
AngularGaugeChart |
setFaceBorderAlpha(java.lang.Double faceBorderAlpha)
Sets gauge face border opacity.
|
AngularGaugeChart |
setFaceBorderColor(Color faceBorderColor)
Sets gauge face border color.
|
AngularGaugeChart |
setFaceBorderWidth(java.lang.Integer faceBorderWidth)
Sets gauge face border width.
|
AngularGaugeChart |
setFaceColor(Color faceColor)
Sets gauge face color, requires faceAlpha greater than 0 value.
|
AngularGaugeChart |
setFacePattern(Pattern facePattern)
Sets gauge face image-pattern.
|
AngularGaugeChart |
setGaugeX(java.lang.String gaugeX)
Sets gauge's horizontal position in pixel, origin is the center.
|
AngularGaugeChart |
setGaugeY(java.lang.String gaugeY)
Sets gauge's vertical position in pixel, origin is the center.
|
AngularGaugeChart |
setMarginBottom(java.lang.Integer marginBottom)
Sets bottom spacing.
|
AngularGaugeChart |
setMarginLeft(java.lang.Integer marginLeft)
Sets left-hand spacing.
|
AngularGaugeChart |
setMarginRight(java.lang.Integer marginRight)
Sets right-hand spacing.
|
AngularGaugeChart |
setMarginTop(java.lang.Integer marginTop)
Sets top spacing.
|
AngularGaugeChart |
setMinRadius(java.lang.Integer minRadius)
Sets minimum radius of a gauge.
|
AngularGaugeChart |
setStartDuration(java.lang.Double startDuration)
Sets duration of the animation, in seconds.
|
AngularGaugeChart |
setStartEffect(AnimationEffect startEffect)
Sets animation effect.
|
addAdditionalFields, addData, addDataProviderChangeListener, addLabels, addPrefixesOfBigNumbers, addPrefixesOfSmallNumbers, addTitles, getAccessible, getAccessibleDescription, getAccessibleTitle, getAddClassNames, getAdditionalFields, getAllLabels, getAutoDisplay, getAutoResize, getAutoTransform, getBackgroundAlpha, getBackgroundColor, getBalloon, getBorderAlpha, getBorderColor, getClassNamePrefix, getColor, getCreditsPosition, getDataProvider, getDecimalSeparator, getDefs, getExport, getFontFamily, getFontSize, getHandDrawn, getHandDrawScatter, getHandDrawThickness, getHideBalloonTime, getLanguage, getLegend, getPanEventsEnabled, getPath, getPathToImages, getPercentPrecision, getPrecision, getPrefixesOfBigNumbers, getPrefixesOfSmallNumbers, getProcessCount, getProcessTimeout, getResponsive, getSvgIcons, getTapToActivate, getTheme, getThousandsSeparator, getTitles, getTouchClickDuration, getType, getUsePrefixes, getWiredFields, removeDataProviderSetListener, setAccessible, setAccessibleDescription, setAccessibleTitle, setAddClassNames, setAdditionalFields, setAllLabels, setAutoDisplay, setAutoResize, setAutoTransform, setBackgroundAlpha, setBackgroundColor, setBalloon, setBorderAlpha, setBorderColor, setClassNamePrefix, setColor, setCreditsPosition, setDataProvider, setDecimalSeparator, setDefs, setExport, setFontFamily, setFontSize, setHandDrawn, setHandDrawScatter, setHandDrawThickness, setHideBalloonTime, setLanguage, setLegend, setPanEventsEnabled, setPath, setPathToImages, setPercentPrecision, setPrecision, setPrefixesOfBigNumbers, setPrefixesOfSmallNumbers, setProcessCount, setProcessTimeout, setResponsive, setSvgIcons, setTapToActivate, setTheme, setThousandsSeparator, setTitles, setTouchClickDuration, setUsePrefixes
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAdditionalFields, addData, addLabels, addPrefixesOfBigNumbers, addPrefixesOfSmallNumbers, addTitles, getAccessible, getAccessibleDescription, getAccessibleTitle, getAddClassNames, getAdditionalFields, getAllLabels, getAutoDisplay, getAutoResize, getAutoTransform, getBackgroundAlpha, getBackgroundColor, getBalloon, getBorderAlpha, getBorderColor, getClassNamePrefix, getColor, getCreditsPosition, getDataProvider, getDecimalSeparator, getDefs, getExport, getFontFamily, getFontSize, getHandDrawn, getHandDrawScatter, getHandDrawThickness, getHideBalloonTime, getLanguage, getLegend, getPanEventsEnabled, getPath, getPathToImages, getPercentPrecision, getPrecision, getPrefixesOfBigNumbers, getPrefixesOfSmallNumbers, getProcessCount, getProcessTimeout, getResponsive, getSvgIcons, getTapToActivate, getTheme, getThousandsSeparator, getTitles, getTouchClickDuration, getUsePrefixes, setAccessible, setAccessibleDescription, setAccessibleTitle, setAddClassNames, setAdditionalFields, setAllLabels, setAutoDisplay, setAutoResize, setAutoTransform, setBackgroundAlpha, setBackgroundColor, setBalloon, setBorderAlpha, setBorderColor, setClassNamePrefix, setColor, setCreditsPosition, setDataProvider, setDecimalSeparator, setDefs, setExport, setFontFamily, setFontSize, setHandDrawn, setHandDrawScatter, setHandDrawThickness, setHideBalloonTime, setLanguage, setLegend, setPanEventsEnabled, setPath, setPathToImages, setPercentPrecision, setPrecision, setPrefixesOfBigNumbers, setPrefixesOfSmallNumbers, setProcessCount, setProcessTimeout, setResponsive, setSvgIcons, setTapToActivate, setTheme, setThousandsSeparator, setTitles, setTouchClickDuration, setUsePrefixes
public java.lang.Boolean getAdjustSize()
getAdjustSize
in interface AngularGaugeChartModel<AngularGaugeChart>
public AngularGaugeChart setAdjustSize(java.lang.Boolean adjustSize)
AngularGaugeChartModel
setAdjustSize
in interface AngularGaugeChartModel<AngularGaugeChart>
adjustSize
- adjust size optionpublic java.util.List<GaugeArrow> getArrows()
getArrows
in interface AngularGaugeChartModel<AngularGaugeChart>
public AngularGaugeChart setArrows(java.util.List<GaugeArrow> arrows)
AngularGaugeChartModel
setArrows
in interface AngularGaugeChartModel<AngularGaugeChart>
arrows
- the arrowspublic AngularGaugeChart addArrows(GaugeArrow... arrows)
AngularGaugeChartModel
addArrows
in interface AngularGaugeChartModel<AngularGaugeChart>
arrows
- the arrowspublic java.util.List<GaugeAxis> getAxes()
getAxes
in interface AngularGaugeChartModel<AngularGaugeChart>
public AngularGaugeChart setAxes(java.util.List<GaugeAxis> axes)
AngularGaugeChartModel
setAxes
in interface AngularGaugeChartModel<AngularGaugeChart>
axes
- the axespublic AngularGaugeChart addAxes(GaugeAxis... axes)
AngularGaugeChartModel
addAxes
in interface AngularGaugeChartModel<AngularGaugeChart>
axes
- the axespublic java.lang.Boolean getClockWiseOnly()
getClockWiseOnly
in interface AngularGaugeChartModel<AngularGaugeChart>
public AngularGaugeChart setClockWiseOnly(java.lang.Boolean clockWiseOnly)
AngularGaugeChartModel
setClockWiseOnly
in interface AngularGaugeChartModel<AngularGaugeChart>
clockWiseOnly
- clock wise only optionpublic java.lang.Double getFaceAlpha()
getFaceAlpha
in interface AngularGaugeChartModel<AngularGaugeChart>
public AngularGaugeChart setFaceAlpha(java.lang.Double faceAlpha)
AngularGaugeChartModel
setFaceAlpha
in interface AngularGaugeChartModel<AngularGaugeChart>
faceAlpha
- the face alphapublic java.lang.Double getFaceBorderAlpha()
getFaceBorderAlpha
in interface AngularGaugeChartModel<AngularGaugeChart>
public AngularGaugeChart setFaceBorderAlpha(java.lang.Double faceBorderAlpha)
AngularGaugeChartModel
setFaceBorderAlpha
in interface AngularGaugeChartModel<AngularGaugeChart>
faceBorderAlpha
- the face border alphapublic Color getFaceBorderColor()
getFaceBorderColor
in interface AngularGaugeChartModel<AngularGaugeChart>
public AngularGaugeChart setFaceBorderColor(Color faceBorderColor)
AngularGaugeChartModel
setFaceBorderColor
in interface AngularGaugeChartModel<AngularGaugeChart>
faceBorderColor
- the face border colorpublic java.lang.Integer getFaceBorderWidth()
getFaceBorderWidth
in interface AngularGaugeChartModel<AngularGaugeChart>
public AngularGaugeChart setFaceBorderWidth(java.lang.Integer faceBorderWidth)
AngularGaugeChartModel
setFaceBorderWidth
in interface AngularGaugeChartModel<AngularGaugeChart>
faceBorderWidth
- the face border widthpublic Color getFaceColor()
getFaceColor
in interface AngularGaugeChartModel<AngularGaugeChart>
public AngularGaugeChart setFaceColor(Color faceColor)
AngularGaugeChartModel
setFaceColor
in interface AngularGaugeChartModel<AngularGaugeChart>
faceColor
- the face colorpublic Pattern getFacePattern()
getFacePattern
in interface AngularGaugeChartModel<AngularGaugeChart>
public AngularGaugeChart setFacePattern(Pattern facePattern)
AngularGaugeChartModel
setFacePattern
in interface AngularGaugeChartModel<AngularGaugeChart>
facePattern
- the face patternpublic java.lang.String getGaugeX()
getGaugeX
in interface AngularGaugeChartModel<AngularGaugeChart>
public AngularGaugeChart setGaugeX(java.lang.String gaugeX)
AngularGaugeChartModel
setGaugeX
in interface AngularGaugeChartModel<AngularGaugeChart>
gaugeX
- horizontal position in pixelpublic java.lang.String getGaugeY()
getGaugeY
in interface AngularGaugeChartModel<AngularGaugeChart>
public AngularGaugeChart setGaugeY(java.lang.String gaugeY)
AngularGaugeChartModel
setGaugeY
in interface AngularGaugeChartModel<AngularGaugeChart>
gaugeY
- vertical position in pixelpublic java.lang.Integer getMarginBottom()
getMarginBottom
in interface HasMargins<AngularGaugeChart>
public AngularGaugeChart setMarginBottom(java.lang.Integer marginBottom)
HasMargins
If is used for Legend
default value is 0.
If is used for RadarChart
the default value is 0.
If is used for chart based on RectangularChart
(GanttChart, SerialChart, XYChart) the default value is 20.
If is used for chart based on SlicedChart
(FunnelChart, PieChart) the default value is 10.
If is used for PanelsSettings
the default value is 0.
setMarginBottom
in interface HasMargins<AngularGaugeChart>
marginBottom
- bottom spacingpublic java.lang.Integer getMarginLeft()
getMarginLeft
in interface HasMargins<AngularGaugeChart>
public AngularGaugeChart setMarginLeft(java.lang.Integer marginLeft)
HasMargins
marginLeft will be ignored if chart is SerialChart
or XYChart
and AbstractLegend.autoMargins
is true.
If is used for Legend
the default value is 20.
If is used for RadarChart
the default value is 0.
If is used for chart based on RectangularChart
(GanttChart, SerialChart, XYChart) the default value is
20.
If is used for chart based on SlicedChart
the default value is 0.
If is used for PanelsSettings
the default value is 0.
setMarginLeft
in interface HasMargins<AngularGaugeChart>
marginLeft
- left-hand spacingpublic java.lang.Integer getMarginRight()
getMarginRight
in interface HasMargins<AngularGaugeChart>
public AngularGaugeChart setMarginRight(java.lang.Integer marginRight)
HasMargins
marginRight will be ignored if chart is SerialChart
or XYChart
and AbstractLegend.autoMargins
is true.
If is used for Legend
the default value is 20.
If is used for RadarChart
the default value is 0.
If is used for chart based on RectangularChart
(GanttChart, SerialChart, XYChart) the default value is
20.
If is used for chart based on SlicedChart
(FunnelChart, PieChart) the default value is 0.
If is used for PanelsSettings
the default value is 0.
setMarginRight
in interface HasMargins<AngularGaugeChart>
marginRight
- right-hand spacingpublic java.lang.Integer getMarginTop()
getMarginTop
in interface HasMargins<AngularGaugeChart>
public AngularGaugeChart setMarginTop(java.lang.Integer marginTop)
HasMargins
If is used for Legend
the default value is 0.
If is used for RadarChart
the default value is 0.
If is used for chart based on RectangularChart
(GanttChart, SerialChart, XYChart) the default value is 20.
If is used for chart based on SlicedChart
the default value is 10.
If is used for PanelsSettings
the default value is 0.
setMarginTop
in interface HasMargins<AngularGaugeChart>
marginTop
- top spacingpublic java.lang.Integer getMinRadius()
getMinRadius
in interface AngularGaugeChartModel<AngularGaugeChart>
public AngularGaugeChart setMinRadius(java.lang.Integer minRadius)
AngularGaugeChartModel
setMinRadius
in interface AngularGaugeChartModel<AngularGaugeChart>
minRadius
- minimum radiuspublic java.lang.Double getStartDuration()
getStartDuration
in interface HasStartEffect<AngularGaugeChart>
public AngularGaugeChart setStartDuration(java.lang.Double startDuration)
HasStartEffect
If you use AngularGaugeChart
default value is 1.
If you use charts based on CoordinateChartModel
(GanttChart, RadarChart, SerialChart, XYChart) default
value is 0.
If you use chart based on SlicedChart
default value is 1.
setStartDuration
in interface HasStartEffect<AngularGaugeChart>
startDuration
- the start durationpublic AnimationEffect getStartEffect()
getStartEffect
in interface HasStartEffect<AngularGaugeChart>
public AngularGaugeChart setStartEffect(AnimationEffect startEffect)
HasStartEffect
If you use AngularGaugeChart
animation effect will be applied for the arrow. If not set the default
value is EASE_IN_SINE.
If you use charts based on CoordinateChartModel
(GanttChart, RadarChart, SerialChart, XYChart) default
value is ELASTIC.
If you use chart based on SlicedChart
default value is BOUNCE.
setStartEffect
in interface HasStartEffect<AngularGaugeChart>
startEffect
- the start effect