All Implemented Interfaces:
HasPosition<PieSeries>, Serializable

public class PieSeries extends AbstractAxisAwareSeries<PieSeries> implements HasPosition<PieSeries>
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:
  • Field Details

  • Constructor Details

    • PieSeries

      public PieSeries()
  • Method Details

    • withGeoIndex

      public PieSeries withGeoIndex(Integer geoIndex)
    • withCalendarIndex

      public PieSeries withCalendarIndex(Integer calendarIndex)
    • withSelectedOffset

      public PieSeries withSelectedOffset(Integer selectedOffset)
    • withClockwise

      public PieSeries withClockwise(Boolean clockwise)
    • withStartAngle

      public PieSeries withStartAngle(Integer startAngle)
    • withMinAngle

      public PieSeries withMinAngle(Integer minAngle)
    • withMinShowLabelAngle

      public PieSeries withMinShowLabelAngle(Integer minShowLabelAngle)
    • withRoseType

      public PieSeries withRoseType(PieSeries.RoseType roseType)
    • withAvoidLabelOverlap

      public PieSeries withAvoidLabelOverlap(Boolean avoidLabelOverlap)
    • withStillShowZeroSum

      public PieSeries withStillShowZeroSum(Boolean stillShowZeroSum)
    • withPercentPrecision

      public PieSeries withPercentPrecision(Integer percentPrecision)
    • getGeoIndex

      public @Nullable Integer getGeoIndex()
    • setGeoIndex

      public void setGeoIndex(Integer geoIndex)
    • getCalendarIndex

      public @Nullable Integer getCalendarIndex()
    • setCalendarIndex

      public void setCalendarIndex(Integer calendarIndex)
    • getSelectedOffset

      public @Nullable Integer getSelectedOffset()
    • setSelectedOffset

      public void setSelectedOffset(Integer selectedOffset)
    • getClockwise

      public @Nullable Boolean getClockwise()
    • setClockwise

      public void setClockwise(Boolean clockwise)
    • getStartAngle

      public @Nullable Integer getStartAngle()
    • setStartAngle

      public void setStartAngle(Integer startAngle)
    • getMinAngle

      public @Nullable Integer getMinAngle()
    • setMinAngle

      public void setMinAngle(Integer minAngle)
    • getMinShowLabelAngle

      public @Nullable Integer getMinShowLabelAngle()
    • setMinShowLabelAngle

      public void setMinShowLabelAngle(Integer minShowLabelAngle)
    • getRoseType

      public @Nullable PieSeries.RoseType getRoseType()
    • setRoseType

      public void setRoseType(PieSeries.RoseType roseType)
    • getAvoidLabelOverlap

      public @Nullable Boolean getAvoidLabelOverlap()
    • setAvoidLabelOverlap

      public void setAvoidLabelOverlap(Boolean avoidLabelOverlap)
    • getStillShowZeroSum

      public @Nullable Boolean getStillShowZeroSum()
    • setStillShowZeroSum

      public void setStillShowZeroSum(Boolean stillShowZeroSum)
    • getPercentPrecision

      public @Nullable Integer getPercentPrecision()
    • setPercentPrecision

      public void setPercentPrecision(Integer percentPrecision)
    • getLeft

      public @Nullable String getLeft()
      Specified by:
      getLeft in interface HasPosition<PieSeries>
      Returns:
      distance between component and the left side of the container
    • setLeft

      public void setLeft(String left)
      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 interface HasPosition<PieSeries>
      Parameters:
      left - distance to set
    • getTop

      public @Nullable String getTop()
      Specified by:
      getTop in interface HasPosition<PieSeries>
      Returns:
      distance between component and the top side of the container
    • setTop

      public void setTop(String top)
      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 interface HasPosition<PieSeries>
      Parameters:
      top - distance to set
    • getRight

      public @Nullable String getRight()
      Specified by:
      getRight in interface HasPosition<PieSeries>
      Returns:
      distance between component and the right side of the container
    • setRight

      public void setRight(String right)
      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 interface HasPosition<PieSeries>
      Parameters:
      right - distance to set
    • getBottom

      public @Nullable String getBottom()
      Specified by:
      getBottom in interface HasPosition<PieSeries>
      Returns:
      distance between component and the bottom side of the container
    • setBottom

      public void setBottom(String bottom)
      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 interface HasPosition<PieSeries>
      Parameters:
      bottom - distance to set
    • getWidth

      public @Nullable String getWidth()
    • setWidth

      public void setWidth(String width)
    • getHeight

      public @Nullable String getHeight()
    • setHeight

      public void setHeight(String height)
    • getCursor

      public @Nullable String getCursor()
    • setCursor

      public void setCursor(String cursor)
    • getShowEmptyCircle

      public @Nullable Boolean getShowEmptyCircle()
    • setShowEmptyCircle

      public void setShowEmptyCircle(Boolean showEmptyCircle)
    • getEmptyCircleStyle

      public @Nullable ItemStyle getEmptyCircleStyle()
    • setEmptyCircleStyle

      public void setEmptyCircleStyle(ItemStyle emptyCircleStyle)
    • getLabelLine

      public @Nullable PieSeries.LabelLine getLabelLine()
    • setLabelLine

      public void setLabelLine(PieSeries.LabelLine labelLine)
    • getItemStyle

      public @Nullable ItemStyle getItemStyle()
    • setItemStyle

      public void setItemStyle(ItemStyle itemStyle)
    • getEmphasis

      public @Nullable PieSeries.Emphasis getEmphasis()
    • setEmphasis

      public void setEmphasis(PieSeries.Emphasis emphasis)
    • getBlur

      public @Nullable PieSeries.Blur getBlur()
    • setBlur

      public void setBlur(PieSeries.Blur blur)
    • getSelected

      public @Nullable PieSeries.Selected getSelected()
    • setSelected

      public void setSelected(PieSeries.Selected selected)
    • getCenter

      public @Nullable String[] getCenter()
    • setCenter

      public void setCenter(String x, String y)
    • getRadius

      public @Nullable String[] getRadius()
    • setRadius

      public void setRadius(String innerRadius, String outerRadius)
    • getAnimationType

      public @Nullable PieSeries.AnimationType getAnimationType()
    • setAnimationType

      public void setAnimationType(PieSeries.AnimationType animationType)
    • getAnimationTypeUpdate

      public @Nullable PieSeries.AnimationUpdateType getAnimationTypeUpdate()
    • setAnimationTypeUpdate

      public void setAnimationTypeUpdate(PieSeries.AnimationUpdateType animationTypeUpdate)
    • getAnimation

      public @Nullable Boolean getAnimation()
    • setAnimation

      public void setAnimation(Boolean animation)
    • getAnimationThreshold

      public @Nullable Integer getAnimationThreshold()
    • setAnimationThreshold

      public void setAnimationThreshold(Integer animationThreshold)
    • getAnimationDurationUpdate

      public @Nullable Integer getAnimationDurationUpdate()
    • setAnimationDurationUpdate

      public void setAnimationDurationUpdate(Integer animationDurationUpdate)
    • getAnimationEasingUpdate

      public @Nullable String getAnimationEasingUpdate()
    • setAnimationEasingUpdate

      public void setAnimationEasingUpdate(String animationEasingUpdate)
    • getAnimationDelayUpdate

      public @Nullable Integer getAnimationDelayUpdate()
    • setAnimationDelayUpdate

      public void setAnimationDelayUpdate(Integer animationDelayUpdate)
    • withWidth

      public PieSeries withWidth(String width)
    • withHeight

      public PieSeries withHeight(String height)
    • withCursor

      public PieSeries withCursor(String cursor)
    • withShowEmptyCircle

      public PieSeries withShowEmptyCircle(Boolean showEmptyCircle)
    • withEmptyCircleStyle

      public PieSeries withEmptyCircleStyle(ItemStyle emptyCircleStyle)
    • withLabelLine

      public PieSeries withLabelLine(PieSeries.LabelLine labelLine)
    • withItemStyle

      public PieSeries withItemStyle(ItemStyle itemStyle)
    • withEmphasis

      public PieSeries withEmphasis(PieSeries.Emphasis emphasis)
    • withBlur

      public PieSeries withBlur(PieSeries.Blur blur)
    • withSelected

      public PieSeries withSelected(PieSeries.Selected selected)
    • withCenter

      public PieSeries withCenter(String x, String y)
    • withRadius

      public PieSeries withRadius(String innerRadius, String outerRadius)
    • withAnimationType

      public PieSeries withAnimationType(PieSeries.AnimationType animationType)
    • withAnimationTypeUpdate

      public PieSeries withAnimationTypeUpdate(PieSeries.AnimationUpdateType animationTypeUpdate)
    • withAnimation

      public PieSeries withAnimation(Boolean animation)
    • withAnimationThreshold

      public PieSeries withAnimationThreshold(Integer animationThreshold)
    • withAnimationDurationUpdate

      public PieSeries withAnimationDurationUpdate(Integer animationDurationUpdate)
    • withAnimationEasingUpdate

      public PieSeries withAnimationEasingUpdate(String animationEasingUpdate)
    • withAnimationDelayUpdate

      public PieSeries withAnimationDelayUpdate(Integer animationDelayUpdate)