Class DialStyler
java.lang.Object
org.knowm.xchart.style.Styler
org.knowm.xchart.style.DialStyler
-
Nested Class Summary
Nested classes/interfaces inherited from class Styler
Styler.ChartButtonPosition, Styler.ChartTheme, Styler.LegendLayout, Styler.LegendPosition, Styler.ToolTipType, Styler.YAxisPosition -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate doubleprivate doubleprivate doubleprivate Colorprivate doubleprivate String[]private booleanprivate Colorprivate BasicStrokeprivate booleanprivate double[]private Fontprivate intprivate booleanprivate doubleprivate booleanprivate booleanprivate Fontprivate Colorprivate doubleprivate doubleprivate Colorprivate doubleprivate doubleprivate Colorprivate doubleprivate double -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubledoubledoubledoubleString[]double[]intdoubledoubledoubledoubledoubledoubledoublebooleanbooleanbooleanbooleanboolean(package private) voidsetArcAngle(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 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
-
Field Details
-
isCircular
private boolean isCircular -
axisTicksMarksVisible
private boolean axisTicksMarksVisible -
axisTickMarksColor
-
axisTickMarksStroke
-
axisTickValues
private double[] axisTickValues -
axisTickLabels
-
axisTitleVisible
private boolean axisTitleVisible -
axisTitleFont
-
axisTitlePadding
private int axisTitlePadding -
axisTickLabelsVisible
private boolean axisTickLabelsVisible -
arcAngle
private double arcAngle -
donutThickness
private double donutThickness -
lowerFrom
private double lowerFrom -
lowerTo
private double lowerTo -
lowerColor
-
middleFrom
private double middleFrom -
middleTo
private double middleTo -
middleColor
-
upperFrom
private double upperFrom -
upperTo
private double upperTo -
upperColor
-
arrowLengthPercentage
private double arrowLengthPercentage -
arrowArcAngle
private double arrowArcAngle -
arrowArcPercentage
private double arrowArcPercentage -
arrowColor
-
isLabelsVisible
private boolean isLabelsVisible -
labelsFont
-
-
Constructor Details
-
DialStyler
public DialStyler()
-
-
Method Details
-
setAllStyles
void setAllStyles()- Overrides:
setAllStylesin classStyler
-
setTheme
-
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
-
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-
-