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
Modifier and TypeClassDescriptionstatic class
Base component for pie elements.static enum
An animation type for initializing data.static enum
An animation type for updating data.static class
Component to configure the blur state.static class
Component to configure the emphasis state.static class
The style of visual guideline.static enum
A special mode which distinguishes data by radius.static class
Component to configure the selection state.Nested classes/interfaces inherited from class io.jmix.chartsflowui.kit.component.model.series.AbstractAxisAwareSeries
AbstractAxisAwareSeries.SeriesLayoutType
Nested classes/interfaces inherited from class io.jmix.chartsflowui.kit.component.model.series.AbstractSeries
AbstractSeries.LabelLayout, AbstractSeries.Tooltip
Nested classes/interfaces inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObject
ChartObservableObject.ObjectChangeEvent
-
Field Summary
Modifier and TypeFieldDescriptionprotected Boolean
protected Integer
protected Integer
protected String
protected Integer
protected PieSeries.AnimationType
protected PieSeries.AnimationUpdateType
protected Boolean
protected PieSeries.Blur
protected String
protected Integer
protected String[]
protected Boolean
protected String
protected PieSeries.Emphasis
protected ItemStyle
protected Integer
protected String
protected ItemStyle
protected PieSeries.LabelLine
protected String
protected Integer
protected Integer
protected Integer
protected String[]
protected String
protected PieSeries.RoseType
protected PieSeries.Selected
protected Integer
protected Boolean
protected Integer
protected Boolean
protected String
protected String
Fields inherited from class io.jmix.chartsflowui.kit.component.model.series.AbstractAxisAwareSeries
datasetIndex, encode, legendHoverLink, markArea, markLine, markPoint, seriesLayoutBy
Fields 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, zLevel
Fields inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObject
children, dirty, listener
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBlur()
String[]
getLeft()
String[]
getRight()
getTop()
getWidth()
void
setAnimation
(Boolean animation) void
setAnimationDelayUpdate
(Integer animationDelayUpdate) void
setAnimationDurationUpdate
(Integer animationDurationUpdate) void
setAnimationEasingUpdate
(String animationEasingUpdate) void
setAnimationThreshold
(Integer animationThreshold) void
setAnimationType
(PieSeries.AnimationType animationType) void
setAnimationTypeUpdate
(PieSeries.AnimationUpdateType animationTypeUpdate) void
setAvoidLabelOverlap
(Boolean avoidLabelOverlap) void
setBlur
(PieSeries.Blur blur) void
Sets a distance between component and the bottom side of the container.
Possible values are: A pixel value like"20"
.void
setCalendarIndex
(Integer calendarIndex) void
void
setClockwise
(Boolean clockwise) void
void
setEmphasis
(PieSeries.Emphasis emphasis) void
setEmptyCircleStyle
(ItemStyle emptyCircleStyle) void
setGeoIndex
(Integer geoIndex) void
void
setItemStyle
(ItemStyle itemStyle) void
setLabelLine
(PieSeries.LabelLine labelLine) void
Sets a distance between component and the left side of the container.
Possible values are: A pixel value like"20"
.void
setMinAngle
(Integer minAngle) void
setMinShowLabelAngle
(Integer minShowLabelAngle) void
setPercentPrecision
(Integer percentPrecision) void
void
Sets a distance between component and the right side of the container.
Possible values are: A pixel value like"20"
.void
setRoseType
(PieSeries.RoseType roseType) void
setSelected
(PieSeries.Selected selected) void
setSelectedOffset
(Integer selectedOffset) void
setShowEmptyCircle
(Boolean showEmptyCircle) void
setStartAngle
(Integer startAngle) void
setStillShowZeroSum
(Boolean stillShowZeroSum) void
Sets a distance between component and the top side of the container.
Possible values are: A pixel value like"20"
.void
withAnimation
(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, withSeriesLayoutBy
Methods 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, withZLevel
Methods inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObject
addChild, fireChangeEvent, getChildren, isDirty, isDirtyInDepth, markAsDirty, markAsDirtyInDepth, removeChild, setChartObjectChangeListener, unmarkDirtyInDepth
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
getLeft
in interfaceHasPosition<PieSeries>
- Returns:
- distance between component and the left side of the container
-
setLeft
Description copied from interface:HasPosition
Sets 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:
setLeft
in interfaceHasPosition<PieSeries>
- Parameters:
left
- distance to set
-
A pixel value like
-
getTop
- Specified by:
getTop
in interfaceHasPosition<PieSeries>
- Returns:
- distance between component and the top side of the container
-
setTop
Description copied from interface:HasPosition
Sets 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:
setTop
in interfaceHasPosition<PieSeries>
- Parameters:
top
- distance to set
-
A pixel value like
-
getRight
- Specified by:
getRight
in interfaceHasPosition<PieSeries>
- Returns:
- distance between component and the right side of the container
-
setRight
Description copied from interface:HasPosition
Sets 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:
setRight
in interfaceHasPosition<PieSeries>
- Parameters:
right
- distance to set
-
A pixel value like
-
getBottom
- Specified by:
getBottom
in interfaceHasPosition<PieSeries>
- Returns:
- distance between component and the bottom side of the container
-
setBottom
Description copied from interface:HasPosition
Sets 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:
setBottom
in 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
-