Package org.knowm.xchart.style.theme
Class AbstractBaseTheme
java.lang.Object
org.knowm.xchart.style.theme.AbstractBaseTheme
- All Implemented Interfaces:
SeriesColors
,SeriesLines
,SeriesMarkers
,Theme
- Direct Known Subclasses:
GGPlot2Theme
,MatlabTheme
,MyCustomTheme
,XChartTheme
-
Field Summary
Fields inherited from interface org.knowm.xchart.style.lines.SeriesLines
DASH_DASH, DASH_DOT, DOT_DOT, NONE, SOLID
Fields inherited from interface org.knowm.xchart.style.markers.SeriesMarkers
CIRCLE, CROSS, DIAMOND, NONE, OVAL, PLUS, RECTANGLE, SQUARE, TRAPEZOID, TRIANGLE_DOWN, TRIANGLE_UP
Fields inherited from interface org.knowm.xchart.style.theme.Theme
BASE_FONT, BASE_STROKE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
int
int
int
int
Base font, bold, size 14.int
float
double
double
int
int
int
Base font, size 15.int
Color[]
Marker[]
double
int
int
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.knowm.xchart.style.theme.Theme
getAnnotationLineColor, getAnnotationLineStroke, getAnnotationTextFont, getAnnotationTextFontColor, getAnnotationTextPanelBackgroundColor, getAnnotationTextPanelBorderColor, getAnnotationTextPanelFont, getAnnotationTextPanelFontColor, getAnnotationTextPanelPadding, getChartButtonBackgroundColor, getChartButtonBorderColor, getChartButtonFont, getChartButtonFontColor, getChartButtonHoverColor, getChartButtonMargin, getLabelsFontColorAutomaticDark, getLabelsFontColorAutomaticLight, getPlotContentSize, getToolTipBackgroundColor, getToolTipBorderColor, getToolTipFont, getToolTipHighlightColor, getToolTipType, isLabelsFontColorAutomaticEnabled, isToolTipsEnabled, isZoomEnabled
-
Constructor Details
-
AbstractBaseTheme
public AbstractBaseTheme()
-
-
Method Details
-
getBaseFont
- Specified by:
getBaseFont
in interfaceTheme
-
getChartBackgroundColor
- Specified by:
getChartBackgroundColor
in interfaceTheme
-
getChartFontColor
- Specified by:
getChartFontColor
in interfaceTheme
-
getChartPadding
public int getChartPadding()- Specified by:
getChartPadding
in interfaceTheme
-
getSeriesColors
- Specified by:
getSeriesColors
in interfaceSeriesColors
-
getSeriesMarkers
- Specified by:
getSeriesMarkers
in interfaceSeriesMarkers
-
getSeriesLines
- Specified by:
getSeriesLines
in interfaceSeriesLines
-
getChartTitleFont
Base font, bold, size 14.- Specified by:
getChartTitleFont
in interfaceTheme
-
isChartTitleVisible
public boolean isChartTitleVisible()- Specified by:
isChartTitleVisible
in interfaceTheme
-
isChartTitleBoxVisible
public boolean isChartTitleBoxVisible()- Specified by:
isChartTitleBoxVisible
in interfaceTheme
-
getChartTitleBoxBackgroundColor
- Specified by:
getChartTitleBoxBackgroundColor
in interfaceTheme
-
getChartTitleBoxBorderColor
- Specified by:
getChartTitleBoxBorderColor
in interfaceTheme
-
getChartTitlePadding
public int getChartTitlePadding()- Specified by:
getChartTitlePadding
in interfaceTheme
-
getLegendFont
- Specified by:
getLegendFont
in interfaceTheme
-
isLegendVisible
public boolean isLegendVisible()- Specified by:
isLegendVisible
in interfaceTheme
-
getLegendBackgroundColor
- Specified by:
getLegendBackgroundColor
in interfaceTheme
-
getLegendBorderColor
- Specified by:
getLegendBorderColor
in interfaceTheme
-
getLegendPadding
public int getLegendPadding()- Specified by:
getLegendPadding
in interfaceTheme
-
getLegendSeriesLineLength
public int getLegendSeriesLineLength()- Specified by:
getLegendSeriesLineLength
in interfaceTheme
-
getLegendPosition
- Specified by:
getLegendPosition
in interfaceTheme
-
isXAxisTitleVisible
public boolean isXAxisTitleVisible()- Specified by:
isXAxisTitleVisible
in interfaceTheme
-
isYAxisTitleVisible
public boolean isYAxisTitleVisible()- Specified by:
isYAxisTitleVisible
in interfaceTheme
-
getAxisTitleFont
- Specified by:
getAxisTitleFont
in interfaceTheme
-
isXAxisTicksVisible
public boolean isXAxisTicksVisible()- Specified by:
isXAxisTicksVisible
in interfaceTheme
-
isYAxisTicksVisible
public boolean isYAxisTicksVisible()- Specified by:
isYAxisTicksVisible
in interfaceTheme
-
getAxisTickLabelsFont
- Specified by:
getAxisTickLabelsFont
in interfaceTheme
-
getAxisTickMarkLength
public int getAxisTickMarkLength()- Specified by:
getAxisTickMarkLength
in interfaceTheme
-
getAxisTickPadding
public int getAxisTickPadding()- Specified by:
getAxisTickPadding
in interfaceTheme
-
getAxisTickMarksColor
- Specified by:
getAxisTickMarksColor
in interfaceTheme
-
getAxisTickMarksStroke
- Specified by:
getAxisTickMarksStroke
in interfaceTheme
-
getAxisTickLabelsColor
- Specified by:
getAxisTickLabelsColor
in interfaceTheme
-
isAxisTicksLineVisible
public boolean isAxisTicksLineVisible()- Specified by:
isAxisTicksLineVisible
in interfaceTheme
-
isAxisTicksMarksVisible
public boolean isAxisTicksMarksVisible()- Specified by:
isAxisTicksMarksVisible
in interfaceTheme
-
getAxisTitlePadding
public int getAxisTitlePadding()- Specified by:
getAxisTitlePadding
in interfaceTheme
-
getXAxisTickMarkSpacingHint
public int getXAxisTickMarkSpacingHint()- Specified by:
getXAxisTickMarkSpacingHint
in interfaceTheme
-
getYAxisTickMarkSpacingHint
public int getYAxisTickMarkSpacingHint()- Specified by:
getYAxisTickMarkSpacingHint
in interfaceTheme
-
isPlotGridLinesVisible
public boolean isPlotGridLinesVisible()- Specified by:
isPlotGridLinesVisible
in interfaceTheme
-
isPlotGridVerticalLinesVisible
public boolean isPlotGridVerticalLinesVisible()- Specified by:
isPlotGridVerticalLinesVisible
in interfaceTheme
-
isPlotGridHorizontalLinesVisible
public boolean isPlotGridHorizontalLinesVisible()- Specified by:
isPlotGridHorizontalLinesVisible
in interfaceTheme
-
getPlotBackgroundColor
- Specified by:
getPlotBackgroundColor
in interfaceTheme
-
getPlotBorderColor
- Specified by:
getPlotBorderColor
in interfaceTheme
-
isPlotBorderVisible
public boolean isPlotBorderVisible()- Specified by:
isPlotBorderVisible
in interfaceTheme
-
isPlotTicksMarksVisible
public boolean isPlotTicksMarksVisible()- Specified by:
isPlotTicksMarksVisible
in interfaceTheme
-
getPlotGridLinesColor
- Specified by:
getPlotGridLinesColor
in interfaceTheme
-
getPlotGridLinesStroke
- Specified by:
getPlotGridLinesStroke
in interfaceTheme
-
getPlotMargin
public int getPlotMargin()- Specified by:
getPlotMargin
in interfaceTheme
-
isCursorEnabled
public boolean isCursorEnabled()- Specified by:
isCursorEnabled
in interfaceTheme
-
getCursorColor
- Specified by:
getCursorColor
in interfaceTheme
-
getCursorSize
public float getCursorSize()- Specified by:
getCursorSize
in interfaceTheme
-
getCursorFont
- Specified by:
getCursorFont
in interfaceTheme
-
getCursorFontColor
- Specified by:
getCursorFontColor
in interfaceTheme
-
getCursorBackgroundColor
- Specified by:
getCursorBackgroundColor
in interfaceTheme
-
getAvailableSpaceFill
public double getAvailableSpaceFill()- Specified by:
getAvailableSpaceFill
in interfaceTheme
-
isOverlapped
public boolean isOverlapped()- Specified by:
isOverlapped
in interfaceTheme
-
isCircular
public boolean isCircular()- Specified by:
isCircular
in interfaceTheme
-
getStartAngleInDegrees
public double getStartAngleInDegrees()- Specified by:
getStartAngleInDegrees
in interfaceTheme
-
getPieFont
Base font, size 15.- Specified by:
getPieFont
in interfaceTheme
-
getLabelsDistance
public double getLabelsDistance()- Specified by:
getLabelsDistance
in interfaceTheme
-
getLabelType
- Specified by:
getLabelType
in interfaceTheme
-
setForceAllLabelsVisible
public boolean setForceAllLabelsVisible()- Specified by:
setForceAllLabelsVisible
in interfaceTheme
-
getDonutThickness
public double getDonutThickness()- Specified by:
getDonutThickness
in interfaceTheme
-
isSumVisible
public boolean isSumVisible()- Specified by:
isSumVisible
in interfaceTheme
-
getSumFont
- Specified by:
getSumFont
in interfaceTheme
-
getMarkerSize
public int getMarkerSize()- Specified by:
getMarkerSize
in interfaceTheme
-
getErrorBarsColor
- Specified by:
getErrorBarsColor
in interfaceTheme
-
isErrorBarsColorSeriesColor
public boolean isErrorBarsColorSeriesColor()- Specified by:
isErrorBarsColorSeriesColor
in interfaceTheme
-