Package org.knowm.xchart.style
Class DialStyler
- java.lang.Object
-
- org.knowm.xchart.style.Styler
-
- org.knowm.xchart.style.DialStyler
-
public class DialStyler extends Styler
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.knowm.xchart.style.Styler
Styler.ChartTheme, Styler.LegendLayout, Styler.LegendPosition, Styler.TextAlignment, Styler.ToolTipType, Styler.YAxisPosition
-
-
Constructor Summary
Constructors Constructor Description DialStyler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getArcAngle()
double
getArrowArcAngle()
double
getArrowArcPercentage()
double
getArrowLengthPercentage()
String[]
getAxisTickLabels()
Color
getAxisTickMarksColor()
Stroke
getAxisTickMarksStroke()
double[]
getAxisTickValues()
Font
getAxisTitleFont()
int
getAxisTitlePadding()
double
getDonutThickness()
Color
getGreenColor()
double
getGreenFrom()
double
getGreenTo()
Color
getNormalColor()
double
getNormalFrom()
double
getNormalTo()
Color
getRedColor()
double
getRedFrom()
double
getRedTo()
boolean
isAxisTickLabelsVisible()
boolean
isAxisTicksMarksVisible()
boolean
isAxisTitleVisible()
boolean
isCircular()
void
setArcAngle(double arcAngle)
void
setArrowArcAngle(double arrowArcAngle)
void
setArrowArcPercentage(double arrowArcPercentage)
void
setArrowLengthPercentage(double arrowLengthPercentage)
void
setAxisTickLabels(String[] axisTickLabels)
void
setAxisTickLabelsVisible(boolean axisTickLabelsVisible)
void
setAxisTickMarksColor(Color axisTickMarksColor)
void
setAxisTickMarksStroke(Stroke axisTickMarksStroke)
void
setAxisTicksMarksVisible(boolean axisTicksMarksVisible)
void
setAxisTickValues(double[] axisTickValues)
void
setAxisTitleFont(Font axisTitleFont)
void
setAxisTitlePadding(int axisTitlePadding)
void
setAxisTitleVisible(boolean axisTitleVisible)
DialStyler
setCircular(boolean isCircular)
Sets whether or not the radar chart is forced to be circular.void
setDonutThickness(double donutThickness)
void
setGreenColor(Color greenColor)
void
setGreenFrom(double greenFrom)
void
setGreenTo(double greenTo)
void
setNormalColor(Color normalColor)
void
setNormalFrom(double normalFrom)
void
setNormalTo(double normalTo)
void
setRedColor(Color redColor)
void
setRedFrom(double redFrom)
void
setRedTo(double redTo)
DialStyler
setTheme(Theme theme)
Set the theme the styler should use-
Methods inherited from class org.knowm.xchart.style.Styler
getAnnotationsFont, getAntiAlias, getBaseFont, getChartBackgroundColor, getChartFontColor, getChartPadding, getChartTitleBoxBackgroundColor, getChartTitleBoxBorderColor, getChartTitleFont, getChartTitlePadding, getDecimalPattern, getLegendBackgroundColor, getLegendBorderColor, getLegendFont, getLegendLayout, getLegendPadding, getLegendPosition, getLegendSeriesLineLength, getPlotBackgroundColor, getPlotBorderColor, getPlotContentSize, getSeriesColors, getSeriesLines, getSeriesMarkers, getTheme, getToolTipBackgroundColor, getToolTipBorderColor, getToolTipFont, getToolTipHighlightColor, getToolTipType, getYAxisGroupPosistion, hasAnnotations, isChartTitleBoxVisible, isChartTitleVisible, isLegendVisible, isPlotBorderVisible, isToolTipsAlwaysVisible, isToolTipsEnabled, setAnnotationsFont, setAntiAlias, setBaseFont, setChartBackgroundColor, setChartFontColor, setChartPadding, setChartTitleBoxBackgroundColor, setChartTitleBoxBorderColor, setChartTitleBoxVisible, setChartTitleFont, setChartTitlePadding, setChartTitleVisible, setDecimalPattern, setHasAnnotations, setLegendBackgroundColor, setLegendBorderColor, setLegendFont, setLegendLayout, setLegendPadding, setLegendPosition, setLegendSeriesLineLength, setLegendVisible, setPlotBackgroundColor, setPlotBorderColor, setPlotBorderVisible, setPlotContentSize, setSeriesColors, setSeriesLines, setSeriesMarkers, setToolTipBackgroundColor, setToolTipBorderColor, setToolTipFont, setToolTipHighlightColor, setToolTipsAlwaysVisible, setToolTipsEnabled, setToolTipType, setYAxisGroupPosition
-
-
-
-
Method Detail
-
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
-
-
setTheme
public DialStyler setTheme(Theme theme)
Set the theme the styler should use- Parameters:
theme
-
-
isAxisTicksMarksVisible
public boolean isAxisTicksMarksVisible()
-
setAxisTicksMarksVisible
public void setAxisTicksMarksVisible(boolean axisTicksMarksVisible)
-
getAxisTickMarksColor
public Color getAxisTickMarksColor()
-
setAxisTickMarksColor
public void setAxisTickMarksColor(Color axisTickMarksColor)
-
getAxisTickMarksStroke
public Stroke getAxisTickMarksStroke()
-
setAxisTickMarksStroke
public void setAxisTickMarksStroke(Stroke axisTickMarksStroke)
-
isAxisTitleVisible
public boolean isAxisTitleVisible()
-
setAxisTitleVisible
public void setAxisTitleVisible(boolean axisTitleVisible)
-
getAxisTitleFont
public Font getAxisTitleFont()
-
setAxisTitleFont
public void setAxisTitleFont(Font axisTitleFont)
-
getAxisTitlePadding
public int getAxisTitlePadding()
-
setAxisTitlePadding
public void setAxisTitlePadding(int axisTitlePadding)
-
getAxisTickValues
public double[] getAxisTickValues()
-
setAxisTickValues
public void setAxisTickValues(double[] axisTickValues)
-
getAxisTickLabels
public String[] getAxisTickLabels()
-
setAxisTickLabels
public void setAxisTickLabels(String[] axisTickLabels)
-
getNormalFrom
public double getNormalFrom()
-
setNormalFrom
public void setNormalFrom(double normalFrom)
-
getNormalTo
public double getNormalTo()
-
setNormalTo
public void setNormalTo(double normalTo)
-
getNormalColor
public Color getNormalColor()
-
setNormalColor
public void setNormalColor(Color normalColor)
-
getGreenFrom
public double getGreenFrom()
-
setGreenFrom
public void setGreenFrom(double greenFrom)
-
getGreenTo
public double getGreenTo()
-
setGreenTo
public void setGreenTo(double greenTo)
-
getGreenColor
public Color getGreenColor()
-
setGreenColor
public void setGreenColor(Color greenColor)
-
getRedFrom
public double getRedFrom()
-
setRedFrom
public void setRedFrom(double redFrom)
-
getRedTo
public double getRedTo()
-
setRedTo
public void setRedTo(double redTo)
-
getRedColor
public Color getRedColor()
-
setRedColor
public void setRedColor(Color redColor)
-
getArcAngle
public double getArcAngle()
-
setArcAngle
public void setArcAngle(double arcAngle)
-
isAxisTickLabelsVisible
public boolean isAxisTickLabelsVisible()
-
setAxisTickLabelsVisible
public void setAxisTickLabelsVisible(boolean axisTickLabelsVisible)
-
getDonutThickness
public double getDonutThickness()
-
setDonutThickness
public void setDonutThickness(double donutThickness)
-
getArrowLengthPercentage
public double getArrowLengthPercentage()
-
setArrowLengthPercentage
public void setArrowLengthPercentage(double arrowLengthPercentage)
-
getArrowArcAngle
public double getArrowArcAngle()
-
setArrowArcAngle
public void setArrowArcAngle(double arrowArcAngle)
-
getArrowArcPercentage
public double getArrowArcPercentage()
-
setArrowArcPercentage
public void setArrowArcPercentage(double arrowArcPercentage)
-
-