Package io.jmix.charts.model.chart
Interface AngularGaugeChartModel<T extends AngularGaugeChartModel>
- All Superinterfaces:
ChartModel<T>
,HasMargins<T>
,HasStartEffect<T>
- All Known Subinterfaces:
AngularGaugeChart
- All Known Implementing Classes:
AngularGaugeChartImpl
,AngularGaugeChartModelImpl
public interface AngularGaugeChartModel<T extends AngularGaugeChartModel>
extends ChartModel<T>, HasMargins<T>, HasStartEffect<T>
-
Method Summary
Modifier and TypeMethodDescriptionaddArrows
(GaugeArrow... arrows) Adds GaugeArrows.Adds GaugeAxis.getAxes()
setAdjustSize
(Boolean adjustSize) Sets using the whole space of the canvas to draw the gauge.setArrows
(List<GaugeArrow> arrows) Sets list of GaugeArrow.Sets list of GaugeAxis.setClockWiseOnly
(Boolean clockWiseOnly) Set clockWiseOnly to true if you use gauge to create a clock.setFaceAlpha
(Double faceAlpha) Sets gauge face opacity.setFaceBorderAlpha
(Double faceBorderAlpha) Sets gauge face border opacity.setFaceBorderColor
(Color faceBorderColor) Sets gauge face border color.setFaceBorderWidth
(Integer faceBorderWidth) Sets gauge face border width.setFaceColor
(Color faceColor) Sets gauge face color, requires faceAlpha greater than 0 value.setFacePattern
(Pattern facePattern) Sets gauge face image-pattern.Sets gauge's horizontal position in pixel, origin is the center.Sets gauge's vertical position in pixel, origin is the center.setMinRadius
(Integer minRadius) Sets minimum radius of a gauge.Methods inherited from interface io.jmix.charts.model.chart.ChartModel
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
Methods inherited from interface io.jmix.charts.model.HasMargins
getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop
Methods inherited from interface io.jmix.charts.model.animation.HasStartEffect
getStartDuration, getStartEffect, setStartDuration, setStartEffect
-
Method Details
-
getAdjustSize
Boolean getAdjustSize()- Returns:
- true if adjust size is enabled
-
setAdjustSize
Sets using the whole space of the canvas to draw the gauge. If not set the default value is true.- Parameters:
adjustSize
- adjust size option- Returns:
- chart model
-
getArrows
List<GaugeArrow> getArrows()- Returns:
- list of GaugeArrow
-
setArrows
Sets list of GaugeArrow.- Parameters:
arrows
- the arrows- Returns:
- chart model
-
addArrows
Adds GaugeArrows.- Parameters:
arrows
- the arrows- Returns:
- chart model
-
getAxes
- Returns:
- list of GaugeAxis
-
setAxes
Sets list of GaugeAxis.- Parameters:
axes
- the axes- Returns:
- chart model
-
addAxes
Adds GaugeAxis.- Parameters:
axes
- the axes- Returns:
- chart model
-
getClockWiseOnly
Boolean getClockWiseOnly()- Returns:
- true if clock wise only is enabled
-
setClockWiseOnly
Set clockWiseOnly to true if you use gauge to create a clock. If not set the default value is false.- Parameters:
clockWiseOnly
- clock wise only option- Returns:
- chart model
-
getFaceAlpha
Double getFaceAlpha()- Returns:
- gauge face opacity
-
setFaceAlpha
Sets gauge face opacity. If not set the default value is 0.- Parameters:
faceAlpha
- the face alpha- Returns:
- chart model
-
getFaceBorderAlpha
Double getFaceBorderAlpha()- Returns:
- gauge face border opacity.
-
setFaceBorderAlpha
Sets gauge face border opacity. If not set the default value is 0.- Parameters:
faceBorderAlpha
- the face border alpha- Returns:
- chart model
-
getFaceBorderColor
Color getFaceBorderColor()- Returns:
- gauge face border color.
-
setFaceBorderColor
Sets gauge face border color. If not set the default value is #555555.- Parameters:
faceBorderColor
- the face border color- Returns:
- chart model
-
getFaceBorderWidth
Integer getFaceBorderWidth()- Returns:
- gauge face border width.
-
setFaceBorderWidth
Sets gauge face border width. If not set the default value is 1.- Parameters:
faceBorderWidth
- the face border width- Returns:
- chart model
-
getFaceColor
Color getFaceColor()- Returns:
- gauge face color
-
setFaceColor
Sets gauge face color, requires faceAlpha greater than 0 value. If not set the default value is #FAFAFA.- Parameters:
faceColor
- the face color- Returns:
- chart model
-
getFacePattern
Pattern getFacePattern()- Returns:
- gauge face image-pattern
-
setFacePattern
Sets gauge face image-pattern.- Parameters:
facePattern
- the face pattern- Returns:
- chart model
-
getGaugeX
String getGaugeX()- Returns:
- gauge's horizontal position in pixel
-
setGaugeX
Sets gauge's horizontal position in pixel, origin is the center. Centered by default.- Parameters:
gaugeX
- horizontal position in pixel- Returns:
- chart model
-
getGaugeY
String getGaugeY()- Returns:
- gauge's vertical position in pixel
-
setGaugeY
Sets gauge's vertical position in pixel, origin is the center. Centered by default.- Parameters:
gaugeY
- vertical position in pixel- Returns:
- chart model
-
getMinRadius
Integer getMinRadius()- Returns:
- minimum radius of a gauge
-
setMinRadius
Sets minimum radius of a gauge. If not set the default value is 10.- Parameters:
minRadius
- minimum radius- Returns:
- chart model
-