public class AngularGaugeChartModelImpl extends AbstractChart<AngularGaugeChartModelImpl> implements AngularGaugeChartModel<AngularGaugeChartModelImpl>
AbstractChart.DataProviderChangeListener
Constructor and Description |
---|
AngularGaugeChartModelImpl() |
Modifier and Type | Method and Description |
---|---|
AngularGaugeChartModelImpl |
addArrows(GaugeArrow... arrows)
Adds GaugeArrows.
|
AngularGaugeChartModelImpl |
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() |
AngularGaugeChartModelImpl |
setAdjustSize(java.lang.Boolean adjustSize)
Sets using the whole space of the canvas to draw the gauge.
|
AngularGaugeChartModelImpl |
setArrows(java.util.List<GaugeArrow> arrows)
Sets list of GaugeArrow.
|
AngularGaugeChartModelImpl |
setAxes(java.util.List<GaugeAxis> axes)
Sets list of GaugeAxis.
|
AngularGaugeChartModelImpl |
setClockWiseOnly(java.lang.Boolean clockWiseOnly)
Set clockWiseOnly to true if you use gauge to create a clock.
|
AngularGaugeChartModelImpl |
setFaceAlpha(java.lang.Double faceAlpha)
Sets gauge face opacity.
|
AngularGaugeChartModelImpl |
setFaceBorderAlpha(java.lang.Double faceBorderAlpha)
Sets gauge face border opacity.
|
AngularGaugeChartModelImpl |
setFaceBorderColor(Color faceBorderColor)
Sets gauge face border color.
|
AngularGaugeChartModelImpl |
setFaceBorderWidth(java.lang.Integer faceBorderWidth)
Sets gauge face border width.
|
AngularGaugeChartModelImpl |
setFaceColor(Color faceColor)
Sets gauge face color, requires faceAlpha greater than 0 value.
|
AngularGaugeChartModelImpl |
setFacePattern(Pattern facePattern)
Sets gauge face image-pattern.
|
AngularGaugeChartModelImpl |
setGaugeX(java.lang.String gaugeX)
Sets gauge's horizontal position in pixel, origin is the center.
|
AngularGaugeChartModelImpl |
setGaugeY(java.lang.String gaugeY)
Sets gauge's vertical position in pixel, origin is the center.
|
AngularGaugeChartModelImpl |
setMarginBottom(java.lang.Integer marginBottom)
Sets bottom spacing.
|
AngularGaugeChartModelImpl |
setMarginLeft(java.lang.Integer marginLeft)
Sets left-hand spacing.
|
AngularGaugeChartModelImpl |
setMarginRight(java.lang.Integer marginRight)
Sets right-hand spacing.
|
AngularGaugeChartModelImpl |
setMarginTop(java.lang.Integer marginTop)
Sets top spacing.
|
AngularGaugeChartModelImpl |
setMinRadius(java.lang.Integer minRadius)
Sets minimum radius of a gauge.
|
AngularGaugeChartModelImpl |
setStartDuration(java.lang.Double startDuration)
Sets duration of the animation, in seconds.
|
AngularGaugeChartModelImpl |
setStartEffect(AnimationEffect startEffect)
Sets animation effect.
|
addAdditionalFields, addData, addDataProviderChangeListener, addLabels, addPrefixesOfBigNumbers, addPrefixesOfSmallNumbers, addTitles, fireDataProviderChanged, 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
clone, equals, finalize, 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<AngularGaugeChartModelImpl>
public AngularGaugeChartModelImpl setAdjustSize(java.lang.Boolean adjustSize)
AngularGaugeChartModel
setAdjustSize
in interface AngularGaugeChartModel<AngularGaugeChartModelImpl>
adjustSize
- adjust size optionpublic java.util.List<GaugeArrow> getArrows()
getArrows
in interface AngularGaugeChartModel<AngularGaugeChartModelImpl>
public AngularGaugeChartModelImpl setArrows(java.util.List<GaugeArrow> arrows)
AngularGaugeChartModel
setArrows
in interface AngularGaugeChartModel<AngularGaugeChartModelImpl>
arrows
- the arrowspublic AngularGaugeChartModelImpl addArrows(GaugeArrow... arrows)
AngularGaugeChartModel
addArrows
in interface AngularGaugeChartModel<AngularGaugeChartModelImpl>
arrows
- the arrowspublic java.util.List<GaugeAxis> getAxes()
getAxes
in interface AngularGaugeChartModel<AngularGaugeChartModelImpl>
public AngularGaugeChartModelImpl setAxes(java.util.List<GaugeAxis> axes)
AngularGaugeChartModel
setAxes
in interface AngularGaugeChartModel<AngularGaugeChartModelImpl>
axes
- the axespublic AngularGaugeChartModelImpl addAxes(GaugeAxis... axes)
AngularGaugeChartModel
addAxes
in interface AngularGaugeChartModel<AngularGaugeChartModelImpl>
axes
- the axespublic java.lang.Boolean getClockWiseOnly()
getClockWiseOnly
in interface AngularGaugeChartModel<AngularGaugeChartModelImpl>
public AngularGaugeChartModelImpl setClockWiseOnly(java.lang.Boolean clockWiseOnly)
AngularGaugeChartModel
setClockWiseOnly
in interface AngularGaugeChartModel<AngularGaugeChartModelImpl>
clockWiseOnly
- clock wise only optionpublic java.lang.Double getFaceAlpha()
getFaceAlpha
in interface AngularGaugeChartModel<AngularGaugeChartModelImpl>
public AngularGaugeChartModelImpl setFaceAlpha(java.lang.Double faceAlpha)
AngularGaugeChartModel
setFaceAlpha
in interface AngularGaugeChartModel<AngularGaugeChartModelImpl>
faceAlpha
- the face alphapublic java.lang.Double getFaceBorderAlpha()
getFaceBorderAlpha
in interface AngularGaugeChartModel<AngularGaugeChartModelImpl>
public AngularGaugeChartModelImpl setFaceBorderAlpha(java.lang.Double faceBorderAlpha)
AngularGaugeChartModel
setFaceBorderAlpha
in interface AngularGaugeChartModel<AngularGaugeChartModelImpl>
faceBorderAlpha
- the face border alphapublic Color getFaceBorderColor()
getFaceBorderColor
in interface AngularGaugeChartModel<AngularGaugeChartModelImpl>
public AngularGaugeChartModelImpl setFaceBorderColor(Color faceBorderColor)
AngularGaugeChartModel
setFaceBorderColor
in interface AngularGaugeChartModel<AngularGaugeChartModelImpl>
faceBorderColor
- the face border colorpublic java.lang.Integer getFaceBorderWidth()
getFaceBorderWidth
in interface AngularGaugeChartModel<AngularGaugeChartModelImpl>
public AngularGaugeChartModelImpl setFaceBorderWidth(java.lang.Integer faceBorderWidth)
AngularGaugeChartModel
setFaceBorderWidth
in interface AngularGaugeChartModel<AngularGaugeChartModelImpl>
faceBorderWidth
- the face border widthpublic Color getFaceColor()
getFaceColor
in interface AngularGaugeChartModel<AngularGaugeChartModelImpl>
public AngularGaugeChartModelImpl setFaceColor(Color faceColor)
AngularGaugeChartModel
setFaceColor
in interface AngularGaugeChartModel<AngularGaugeChartModelImpl>
faceColor
- the face colorpublic Pattern getFacePattern()
getFacePattern
in interface AngularGaugeChartModel<AngularGaugeChartModelImpl>
public AngularGaugeChartModelImpl setFacePattern(Pattern facePattern)
AngularGaugeChartModel
setFacePattern
in interface AngularGaugeChartModel<AngularGaugeChartModelImpl>
facePattern
- the face patternpublic java.lang.String getGaugeX()
getGaugeX
in interface AngularGaugeChartModel<AngularGaugeChartModelImpl>
public AngularGaugeChartModelImpl setGaugeX(java.lang.String gaugeX)
AngularGaugeChartModel
setGaugeX
in interface AngularGaugeChartModel<AngularGaugeChartModelImpl>
gaugeX
- horizontal position in pixelpublic java.lang.String getGaugeY()
getGaugeY
in interface AngularGaugeChartModel<AngularGaugeChartModelImpl>
public AngularGaugeChartModelImpl setGaugeY(java.lang.String gaugeY)
AngularGaugeChartModel
setGaugeY
in interface AngularGaugeChartModel<AngularGaugeChartModelImpl>
gaugeY
- vertical position in pixelpublic java.lang.Integer getMarginBottom()
getMarginBottom
in interface HasMargins<AngularGaugeChartModelImpl>
public AngularGaugeChartModelImpl setMarginBottom(java.lang.Integer marginBottom)
HasMargins
If is used for Legend
default value is 0.
If is used for RadarChartModelImpl
the default value is 0.
If is used for chart based on RectangularChartModelImpl
(GanttChart, SerialChart, XYChart) the default value is 20.
If is used for chart based on SlicedChartModelImpl
(FunnelChart, PieChart) the default value is 10.
If is used for PanelsSettings
the default value is 0.
setMarginBottom
in interface HasMargins<AngularGaugeChartModelImpl>
marginBottom
- bottom spacingpublic java.lang.Integer getMarginLeft()
getMarginLeft
in interface HasMargins<AngularGaugeChartModelImpl>
public AngularGaugeChartModelImpl setMarginLeft(java.lang.Integer marginLeft)
HasMargins
marginLeft will be ignored if chart is SerialChart
or XYChartModelImpl
and AbstractLegend.autoMargins
is true.
If is used for Legend
the default value is 20.
If is used for RadarChartModelImpl
the default value is 0.
If is used for chart based on RectangularChartModelImpl
(GanttChart, SerialChart, XYChart) the default value is
20.
If is used for chart based on SlicedChartModelImpl
the default value is 0.
If is used for PanelsSettings
the default value is 0.
setMarginLeft
in interface HasMargins<AngularGaugeChartModelImpl>
marginLeft
- left-hand spacingpublic java.lang.Integer getMarginRight()
getMarginRight
in interface HasMargins<AngularGaugeChartModelImpl>
public AngularGaugeChartModelImpl setMarginRight(java.lang.Integer marginRight)
HasMargins
marginRight will be ignored if chart is SerialChart
or XYChartModelImpl
and AbstractLegend.autoMargins
is true.
If is used for Legend
the default value is 20.
If is used for RadarChartModelImpl
the default value is 0.
If is used for chart based on RectangularChartModelImpl
(GanttChart, SerialChart, XYChart) the default value is
20.
If is used for chart based on SlicedChartModelImpl
(FunnelChart, PieChart) the default value is 0.
If is used for PanelsSettings
the default value is 0.
setMarginRight
in interface HasMargins<AngularGaugeChartModelImpl>
marginRight
- right-hand spacingpublic java.lang.Integer getMarginTop()
getMarginTop
in interface HasMargins<AngularGaugeChartModelImpl>
public AngularGaugeChartModelImpl setMarginTop(java.lang.Integer marginTop)
HasMargins
If is used for Legend
the default value is 0.
If is used for RadarChartModelImpl
the default value is 0.
If is used for chart based on RectangularChartModelImpl
(GanttChart, SerialChart, XYChart) the default value is 20.
If is used for chart based on SlicedChartModelImpl
the default value is 10.
If is used for PanelsSettings
the default value is 0.
setMarginTop
in interface HasMargins<AngularGaugeChartModelImpl>
marginTop
- top spacingpublic java.lang.Integer getMinRadius()
getMinRadius
in interface AngularGaugeChartModel<AngularGaugeChartModelImpl>
public AngularGaugeChartModelImpl setMinRadius(java.lang.Integer minRadius)
AngularGaugeChartModel
setMinRadius
in interface AngularGaugeChartModel<AngularGaugeChartModelImpl>
minRadius
- minimum radiuspublic java.lang.Double getStartDuration()
getStartDuration
in interface HasStartEffect<AngularGaugeChartModelImpl>
public AngularGaugeChartModelImpl setStartDuration(java.lang.Double startDuration)
HasStartEffect
If you use AngularGaugeChartModelImpl
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 SlicedChartModelImpl
default value is 1.
setStartDuration
in interface HasStartEffect<AngularGaugeChartModelImpl>
startDuration
- the start durationpublic AnimationEffect getStartEffect()
getStartEffect
in interface HasStartEffect<AngularGaugeChartModelImpl>
public AngularGaugeChartModelImpl setStartEffect(AnimationEffect startEffect)
HasStartEffect
If you use AngularGaugeChartModelImpl
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 SlicedChartModelImpl
default value is BOUNCE.
setStartEffect
in interface HasStartEffect<AngularGaugeChartModelImpl>
startEffect
- the start effect