Package org.knowm.xchart.style
Class DialStyler
java.lang.Object
org.knowm.xchart.style.Styler
org.knowm.xchart.style.DialStyler
-
Nested Class Summary
Nested classes/interfaces inherited from class org.knowm.xchart.style.Styler
Styler.ChartButtonPosition, Styler.ChartTheme, Styler.LegendLayout, Styler.LegendPosition, Styler.ToolTipType, Styler.YAxisPosition
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
double
double
double
String[]
double[]
int
double
double
double
double
double
double
double
boolean
boolean
boolean
boolean
boolean
setArcAngle
(double arcAngle) setArrowArcAngle
(double arrowArcAngle) setArrowArcPercentage
(double arrowArcPercentage) setArrowColor
(Color color) Set the line color of the seriessetArrowLengthPercentage
(double arrowLengthPercentage) setAxisTickLabels
(String[] axisTickLabels) setAxisTickLabelsVisible
(boolean axisTickLabelsVisible) setAxisTickMarksColor
(Color axisTickMarksColor) setAxisTickMarksStroke
(BasicStroke axisTickMarksStroke) setAxisTicksMarksVisible
(boolean axisTicksMarksVisible) setAxisTickValues
(double[] axisTickValues) setAxisTitleFont
(Font axisTitleFont) setAxisTitlePadding
(int axisTitlePadding) setAxisTitleVisible
(boolean axisTitleVisible) setCircular
(boolean isCircular) Sets whether or not the radar chart is forced to be circular.setDonutThickness
(double donutThickness) setLabelFont
(Font labelsFont) Sets the Font used for chart labelssetLabelVisible
(boolean labelsVisible) Sets if labels should be added to charts.setLowerColor
(Color lowerColor) setLowerFrom
(double lowerFrom) setLowerTo
(double lowerTo) setMiddleColor
(Color middleColor) setMiddleFrom
(double middleFrom) setMiddleTo
(double middleTo) Set the theme the styler should usesetUpperColor
(Color upperColor) setUpperFrom
(double upperFrom) setUpperTo
(double upperTo) Methods inherited from class org.knowm.xchart.style.Styler
getAnnotationLineColor, getAnnotationLineStroke, getAnnotationTextFont, getAnnotationTextFontColor, getAnnotationTextPanelBackgroundColor, getAnnotationTextPanelBorderColor, getAnnotationTextPanelFont, getAnnotationTextPanelFontColor, getAnnotationTextPanelPadding, getAntiAlias, getBaseFont, getChartBackgroundColor, getChartButtonBackgroundColor, getChartButtonBorderColor, getChartButtonFont, getChartButtonFontColor, getChartButtonMargin, getChartButtonPosition, getChartFontColor, getChartPadding, getChartTitleBoxBackgroundColor, getChartTitleBoxBorderColor, getChartTitleFont, getChartTitlePadding, getDecimalPattern, getLegendBackgroundColor, getLegendBorderColor, getLegendFont, getLegendLayout, getLegendPadding, getLegendPosition, getLegendSeriesLineLength, getMarkerSize, getPlotBackgroundColor, getPlotBorderColor, getPlotContentSize, getSeriesColors, getSeriesLines, getSeriesMarkers, getShowWithinAreaPoint, getTheme, getToolTipBackgroundColor, getToolTipBorderColor, getToolTipFont, getToolTipHighlightColor, getToolTipType, getXAxisTitleColor, getYAxisGroupPosistion, getYAxisGroupTitleColor, getYAxisLeftWidthHint, getYAxisTitleColor, isChartTitleBoxVisible, isChartTitleVisible, isLegendVisible, isPlotBorderVisible, isToolTipsAlwaysVisible, isToolTipsEnabled, setAnnotationLineColor, setAnnotationLineStroke, setAnnotationTextFont, setAnnotationTextFontColor, setAnnotationTextPanelBackgroundColor, setAnnotationTextPanelBorderColor, setAnnotationTextPanelFont, setAnnotationTextPanelFontColor, setAnnotationTextPanelPadding, setAntiAlias, setBaseFont, setChartBackgroundColor, setChartButtonBackgroundColor, setChartButtonBorderColor, setChartButtonFont, setChartButtonFontColor, setChartButtonMargin, setChartButtonPosition, setChartFontColor, setChartPadding, setChartTitleBoxBackgroundColor, setChartTitleBoxBorderColor, setChartTitleBoxVisible, setChartTitleFont, setChartTitlePadding, setChartTitleVisible, setDecimalPattern, setLegendBackgroundColor, setLegendBorderColor, setLegendFont, setLegendLayout, setLegendPadding, setLegendPosition, setLegendSeriesLineLength, setLegendVisible, setMarkerSize, setPlotBackgroundColor, setPlotBorderColor, setPlotBorderVisible, setPlotContentSize, setSeriesColors, setSeriesLines, setSeriesMarkers, setShowWithinAreaPoint, setToolTipBackgroundColor, setToolTipBorderColor, setToolTipFont, setToolTipHighlightColor, setToolTipsAlwaysVisible, setToolTipsEnabled, setToolTipType, setXAxisTitleColor, setYAxisGroupPosition, setYAxisGroupTitleColor, setYAxisLeftWidthHint, setYAxisTitleColor
-
Constructor Details
-
DialStyler
public DialStyler()
-
-
Method Details
-
setTheme
Set the theme the styler should use- Parameters:
theme
-
-
isCircular
public boolean isCircular() -
setCircular
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
-
getAxisTickMarksColor
-
setAxisTickMarksColor
-
getAxisTickMarksStroke
-
setAxisTickMarksStroke
-
isAxisTitleVisible
public boolean isAxisTitleVisible() -
setAxisTitleVisible
-
getAxisTitleFont
-
setAxisTitleFont
-
getAxisTitlePadding
public int getAxisTitlePadding() -
setAxisTitlePadding
-
getAxisTickValues
public double[] getAxisTickValues() -
setAxisTickValues
-
getAxisTickLabels
-
setAxisTickLabels
-
getMiddleFrom
public double getMiddleFrom() -
setMiddleFrom
-
getMiddleTo
public double getMiddleTo() -
setMiddleTo
-
getMiddleColor
-
setMiddleColor
-
getLowerFrom
public double getLowerFrom() -
setLowerFrom
-
getLowerTo
public double getLowerTo() -
setLowerTo
-
getLowerColor
-
setLowerColor
-
getUpperFrom
public double getUpperFrom() -
setUpperFrom
-
getUpperTo
public double getUpperTo() -
setUpperTo
-
getUpperColor
-
setUpperColor
-
getArcAngle
public double getArcAngle() -
setArcAngle
-
isAxisTickLabelsVisible
public boolean isAxisTickLabelsVisible() -
setAxisTickLabelsVisible
-
getDonutThickness
public double getDonutThickness() -
setDonutThickness
-
getArrowLengthPercentage
public double getArrowLengthPercentage() -
setArrowLengthPercentage
-
getArrowArcAngle
public double getArrowArcAngle() -
setArrowArcAngle
-
getArrowArcPercentage
public double getArrowArcPercentage() -
setArrowArcPercentage
-
getArrowColor
-
setArrowColor
Set the line color of the series- Parameters:
color
-
-
isLabelsVisible
public boolean isLabelsVisible() -
setLabelVisible
Sets if labels should be added to charts.- Parameters:
labelsVisible
-
-
getLabelsFont
-
setLabelFont
Sets the Font used for chart labels- Parameters:
labelsFont
-
-