Class PieSeries
java.lang.Object
io.jmix.chartsflowui.kit.component.model.ChartObservableObject
io.jmix.chartsflowui.kit.component.model.series.AbstractSeries<T>
io.jmix.chartsflowui.kit.component.model.series.AbstractAxisAwareSeries<PieSeries>
io.jmix.chartsflowui.kit.component.model.series.PieSeries
- All Implemented Interfaces:
HasPosition<PieSeries>,Serializable
The pie chart is mainly used for showing proportion of different categories. Each arc length represents
the proportion of data quantity. More detailed information is provided in the documentation.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBase component for pie elements.static enumAn animation type for initializing data.static enumAn animation type for updating data.static classComponent to configure the blur state.static classComponent to configure the emphasis state.static classThe style of visual guideline.static enumA special mode which distinguishes data by radius.static classComponent to configure the selection state.Nested classes/interfaces inherited from class io.jmix.chartsflowui.kit.component.model.series.AbstractAxisAwareSeries
AbstractAxisAwareSeries.SeriesLayoutTypeNested classes/interfaces inherited from class io.jmix.chartsflowui.kit.component.model.series.AbstractSeries
AbstractSeries.LabelLayout, AbstractSeries.TooltipNested classes/interfaces inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObject
ChartObservableObject.ObjectChangeEvent -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Booleanprotected Integerprotected Integerprotected Stringprotected Integerprotected PieSeries.AnimationTypeprotected PieSeries.AnimationUpdateTypeprotected Booleanprotected PieSeries.Blurprotected Stringprotected Integerprotected String[]protected Booleanprotected Stringprotected PieSeries.Emphasisprotected ItemStyleprotected Integerprotected Stringprotected ItemStyleprotected PieSeries.LabelLineprotected Stringprotected Integerprotected Integerprotected Integerprotected String[]protected Stringprotected PieSeries.RoseTypeprotected PieSeries.Selectedprotected Integerprotected Booleanprotected Integerprotected Booleanprotected Stringprotected StringFields inherited from class io.jmix.chartsflowui.kit.component.model.series.AbstractAxisAwareSeries
datasetIndex, encode, legendHoverLink, markArea, markLine, markPoint, seriesLayoutByFields inherited from class io.jmix.chartsflowui.kit.component.model.series.AbstractSeries
animationDelay, animationDuration, animationEasing, colorBy, dataGroupId, id, label, labelLayout, name, selectedMode, silent, tooltip, type, z, zLevelFields inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObject
children, dirty, listener -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBlur()String[]getLeft()String[]getRight()getTop()getWidth()voidsetAnimation(Boolean animation) voidsetAnimationDelayUpdate(Integer animationDelayUpdate) voidsetAnimationDurationUpdate(Integer animationDurationUpdate) voidsetAnimationEasingUpdate(String animationEasingUpdate) voidsetAnimationThreshold(Integer animationThreshold) voidsetAnimationType(PieSeries.AnimationType animationType) voidsetAnimationTypeUpdate(PieSeries.AnimationUpdateType animationTypeUpdate) voidsetAvoidLabelOverlap(Boolean avoidLabelOverlap) voidsetBlur(PieSeries.Blur blur) voidSets a distance between component and the bottom side of the container.
Possible values are: A pixel value like"20".voidsetCalendarIndex(Integer calendarIndex) voidvoidsetClockwise(Boolean clockwise) voidvoidsetEmphasis(PieSeries.Emphasis emphasis) voidsetEmptyCircleStyle(ItemStyle emptyCircleStyle) voidsetGeoIndex(Integer geoIndex) voidvoidsetItemStyle(ItemStyle itemStyle) voidsetLabelLine(PieSeries.LabelLine labelLine) voidSets a distance between component and the left side of the container.
Possible values are: A pixel value like"20".voidsetMinAngle(Integer minAngle) voidsetMinShowLabelAngle(Integer minShowLabelAngle) voidsetPercentPrecision(Integer percentPrecision) voidvoidSets a distance between component and the right side of the container.
Possible values are: A pixel value like"20".voidsetRoseType(PieSeries.RoseType roseType) voidsetSelected(PieSeries.Selected selected) voidsetSelectedOffset(Integer selectedOffset) voidsetShowEmptyCircle(Boolean showEmptyCircle) voidsetStartAngle(Integer startAngle) voidsetStillShowZeroSum(Boolean stillShowZeroSum) voidSets a distance between component and the top side of the container.
Possible values are: A pixel value like"20".voidwithAnimation(Boolean animation) withAnimationDelayUpdate(Integer animationDelayUpdate) withAnimationDurationUpdate(Integer animationDurationUpdate) withAnimationEasingUpdate(String animationEasingUpdate) withAnimationThreshold(Integer animationThreshold) withAnimationType(PieSeries.AnimationType animationType) withAnimationTypeUpdate(PieSeries.AnimationUpdateType animationTypeUpdate) withAvoidLabelOverlap(Boolean avoidLabelOverlap) withBlur(PieSeries.Blur blur) withCalendarIndex(Integer calendarIndex) withCenter(String x, String y) withClockwise(Boolean clockwise) withCursor(String cursor) withEmphasis(PieSeries.Emphasis emphasis) withEmptyCircleStyle(ItemStyle emptyCircleStyle) withGeoIndex(Integer geoIndex) withHeight(String height) withItemStyle(ItemStyle itemStyle) withLabelLine(PieSeries.LabelLine labelLine) withMinAngle(Integer minAngle) withMinShowLabelAngle(Integer minShowLabelAngle) withPercentPrecision(Integer percentPrecision) withRadius(String innerRadius, String outerRadius) withRoseType(PieSeries.RoseType roseType) withSelected(PieSeries.Selected selected) withSelectedOffset(Integer selectedOffset) withShowEmptyCircle(Boolean showEmptyCircle) withStartAngle(Integer startAngle) withStillShowZeroSum(Boolean stillShowZeroSum) Methods inherited from class io.jmix.chartsflowui.kit.component.model.series.AbstractAxisAwareSeries
getDatasetIndex, getEncode, getLegendHoverLink, getMarkArea, getMarkLine, getMarkPoint, getSeriesLayoutBy, setDatasetIndex, setEncode, setLegendHoverLink, setMarkArea, setMarkLine, setMarkPoint, setSeriesLayoutBy, withDatasetIndex, withEncode, withLegendHoverLink, withMarkArea, withMarkLine, withMarkPoint, withSeriesLayoutByMethods inherited from class io.jmix.chartsflowui.kit.component.model.series.AbstractSeries
getAnimationDelay, getAnimationDuration, getAnimationEasing, getColorBy, getDataGroupId, getId, getLabel, getLabelLayout, getName, getSelectedMode, getSilent, getTooltip, getType, getZ, getZLevel, setAnimationDelay, setAnimationDuration, setAnimationEasing, setColorBy, setDataGroupId, setId, setLabel, setLabelLayout, setName, setSelectedMode, setSilent, setTooltip, setType, setZ, setZLevel, withAnimationDelay, withAnimationDuration, withAnimationEasing, withColorBy, withDataGroupId, withId, withLabel, withLabelLayout, withName, withSelectedMode, withSilent, withTooltip, withType, withZ, withZLevelMethods inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObject
addChild, fireChangeEvent, getChildren, isDirty, isDirtyInDepth, markAsDirty, markAsDirtyInDepth, removeChild, setChartObjectChangeListener, unmarkDirtyInDepthMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.jmix.chartsflowui.kit.component.model.HasPosition
withBottom, withLeft, withRight, withTop
-
Field Details
-
geoIndex
-
calendarIndex
-
selectedOffset
-
clockwise
-
startAngle
-
minAngle
-
minShowLabelAngle
-
roseType
-
avoidLabelOverlap
-
stillShowZeroSum
-
percentPrecision
-
left
-
top
-
right
-
bottom
-
width
-
height
-
cursor
-
showEmptyCircle
-
emptyCircleStyle
-
labelLine
-
itemStyle
-
emphasis
-
blur
-
selected
-
center
-
radius
-
animationType
-
animationTypeUpdate
-
animation
-
animationThreshold
-
animationDurationUpdate
-
animationEasingUpdate
-
animationDelayUpdate
-
-
Constructor Details
-
PieSeries
public PieSeries()
-
-
Method Details
-
withGeoIndex
-
withCalendarIndex
-
withSelectedOffset
-
withClockwise
-
withStartAngle
-
withMinAngle
-
withMinShowLabelAngle
-
withRoseType
-
withAvoidLabelOverlap
-
withStillShowZeroSum
-
withPercentPrecision
-
getGeoIndex
-
setGeoIndex
-
getCalendarIndex
-
setCalendarIndex
-
getSelectedOffset
-
setSelectedOffset
-
getClockwise
-
setClockwise
-
getStartAngle
-
setStartAngle
-
getMinAngle
-
setMinAngle
-
getMinShowLabelAngle
-
setMinShowLabelAngle
-
getRoseType
-
setRoseType
-
getAvoidLabelOverlap
-
setAvoidLabelOverlap
-
getStillShowZeroSum
-
setStillShowZeroSum
-
getPercentPrecision
-
setPercentPrecision
-
getLeft
- Specified by:
getLeftin interfaceHasPosition<PieSeries>- Returns:
- distance between component and the left side of the container
-
setLeft
Description copied from interface:HasPositionSets a distance between component and the left side of the container.
Possible values are:-
A pixel value like
"20". -
Percentage value relative to container width like
"20%". -
Predefined values like
"left","center","right".
- Specified by:
setLeftin interfaceHasPosition<PieSeries>- Parameters:
left- distance to set
-
A pixel value like
-
getTop
- Specified by:
getTopin interfaceHasPosition<PieSeries>- Returns:
- distance between component and the top side of the container
-
setTop
Description copied from interface:HasPositionSets a distance between component and the top side of the container.
Possible values are:-
A pixel value like
"20". -
Percentage value relative to container width like
"20%". -
Predefined values like
"top","middle","bottom".
- Specified by:
setTopin interfaceHasPosition<PieSeries>- Parameters:
top- distance to set
-
A pixel value like
-
getRight
- Specified by:
getRightin interfaceHasPosition<PieSeries>- Returns:
- distance between component and the right side of the container
-
setRight
Description copied from interface:HasPositionSets a distance between component and the right side of the container.
Possible values are:-
A pixel value like
"20". -
Percentage value relative to container width like
"20%".
- Specified by:
setRightin interfaceHasPosition<PieSeries>- Parameters:
right- distance to set
-
A pixel value like
-
getBottom
- Specified by:
getBottomin interfaceHasPosition<PieSeries>- Returns:
- distance between component and the bottom side of the container
-
setBottom
Description copied from interface:HasPositionSets a distance between component and the bottom side of the container.
Possible values are:-
A pixel value like
"20". -
Percentage value relative to container width like
"20%".
- Specified by:
setBottomin interfaceHasPosition<PieSeries>- Parameters:
bottom- distance to set
-
A pixel value like
-
getWidth
-
setWidth
-
getHeight
-
setHeight
-
getCursor
-
setCursor
-
getShowEmptyCircle
-
setShowEmptyCircle
-
getEmptyCircleStyle
-
getLabelLine
-
setLabelLine
-
getItemStyle
-
getEmphasis
-
setEmphasis
-
getBlur
-
setBlur
-
getSelected
-
setSelected
-
getCenter
-
setCenter
-
getRadius
-
setRadius
-
getAnimationType
-
setAnimationType
-
getAnimationTypeUpdate
-
setAnimationTypeUpdate
-
getAnimation
-
setAnimation
-
getAnimationThreshold
-
setAnimationThreshold
-
getAnimationDurationUpdate
-
setAnimationDurationUpdate
-
getAnimationEasingUpdate
-
setAnimationEasingUpdate
-
getAnimationDelayUpdate
-
setAnimationDelayUpdate
-
withWidth
-
withHeight
-
withCursor
-
withShowEmptyCircle
-
withLabelLine
-
withEmphasis
-
withBlur
-
withSelected
-
withCenter
-
withRadius
-
withAnimationType
-
withAnimationTypeUpdate
-
withAnimation
-
withAnimationThreshold
-
withAnimationDurationUpdate
-
withAnimationEasingUpdate
-
withAnimationDelayUpdate
-