Class DialStyler

java.lang.Object
org.knowm.xchart.style.Styler
org.knowm.xchart.style.DialStyler

public class DialStyler
extends Styler
  • Constructor Details

    • DialStyler

      public DialStyler()
  • Method Details

    • setTheme

      public DialStyler setTheme​(Theme theme)
      Set the theme the styler should use
      Parameters:
      theme -
    • isCircular

      public boolean isCircular()
    • setCircular

      public DialStyler setCircular​(boolean isCircular)
      Sets whether or not the radar chart is forced to be circular. Otherwise it's shape is oval, matching the containing plot.
      Parameters:
      isCircular -
    • isAxisTicksMarksVisible

      public boolean isAxisTicksMarksVisible()
    • setAxisTicksMarksVisible

      public DialStyler setAxisTicksMarksVisible​(boolean axisTicksMarksVisible)
    • getAxisTickMarksColor

      public Color getAxisTickMarksColor()
    • setAxisTickMarksColor

      public DialStyler setAxisTickMarksColor​(Color axisTickMarksColor)
    • getAxisTickMarksStroke

      public BasicStroke getAxisTickMarksStroke()
    • setAxisTickMarksStroke

      public DialStyler setAxisTickMarksStroke​(BasicStroke axisTickMarksStroke)
    • isAxisTitleVisible

      public boolean isAxisTitleVisible()
    • setAxisTitleVisible

      public DialStyler setAxisTitleVisible​(boolean axisTitleVisible)
    • getAxisTitleFont

      public Font getAxisTitleFont()
    • setAxisTitleFont

      public DialStyler setAxisTitleFont​(Font axisTitleFont)
    • getAxisTitlePadding

      public int getAxisTitlePadding()
    • setAxisTitlePadding

      public DialStyler setAxisTitlePadding​(int axisTitlePadding)
    • getAxisTickValues

      public double[] getAxisTickValues()
    • setAxisTickValues

      public DialStyler setAxisTickValues​(double[] axisTickValues)
    • getAxisTickLabels

      public String[] getAxisTickLabels()
    • setAxisTickLabels

      public DialStyler setAxisTickLabels​(String[] axisTickLabels)
    • getMiddleFrom

      public double getMiddleFrom()
    • setMiddleFrom

      public DialStyler setMiddleFrom​(double middleFrom)
    • getMiddleTo

      public double getMiddleTo()
    • setMiddleTo

      public DialStyler setMiddleTo​(double middleTo)
    • getMiddleColor

      public Color getMiddleColor()
    • setMiddleColor

      public DialStyler setMiddleColor​(Color middleColor)
    • getLowerFrom

      public double getLowerFrom()
    • setLowerFrom

      public DialStyler setLowerFrom​(double lowerFrom)
    • getLowerTo

      public double getLowerTo()
    • setLowerTo

      public DialStyler setLowerTo​(double lowerTo)
    • getLowerColor

      public Color getLowerColor()
    • setLowerColor

      public DialStyler setLowerColor​(Color lowerColor)
    • getUpperFrom

      public double getUpperFrom()
    • setUpperFrom

      public DialStyler setUpperFrom​(double upperFrom)
    • getUpperTo

      public double getUpperTo()
    • setUpperTo

      public DialStyler setUpperTo​(double upperTo)
    • getUpperColor

      public Color getUpperColor()
    • setUpperColor

      public DialStyler setUpperColor​(Color upperColor)
    • getArcAngle

      public double getArcAngle()
    • setArcAngle

      public DialStyler setArcAngle​(double arcAngle)
    • isAxisTickLabelsVisible

      public boolean isAxisTickLabelsVisible()
    • setAxisTickLabelsVisible

      public DialStyler setAxisTickLabelsVisible​(boolean axisTickLabelsVisible)
    • getDonutThickness

      public double getDonutThickness()
    • setDonutThickness

      public DialStyler setDonutThickness​(double donutThickness)
    • getArrowLengthPercentage

      public double getArrowLengthPercentage()
    • setArrowLengthPercentage

      public DialStyler setArrowLengthPercentage​(double arrowLengthPercentage)
    • getArrowArcAngle

      public double getArrowArcAngle()
    • setArrowArcAngle

      public DialStyler setArrowArcAngle​(double arrowArcAngle)
    • getArrowArcPercentage

      public double getArrowArcPercentage()
    • setArrowArcPercentage

      public DialStyler setArrowArcPercentage​(double arrowArcPercentage)
    • getArrowColor

      public Color getArrowColor()
    • setArrowColor

      public DialStyler setArrowColor​(Color color)
      Set the line color of the series
      Parameters:
      color -
    • isLabelsVisible

      public boolean isLabelsVisible()
    • setLabelVisible

      public DialStyler setLabelVisible​(boolean labelsVisible)
      Sets if labels should be added to charts.
      Parameters:
      labelsVisible -
    • getLabelsFont

      public Font getLabelsFont()
    • setLabelFont

      public DialStyler setLabelFont​(Font labelsFont)
      Sets the Font used for chart labels
      Parameters:
      labelsFont -