Package org.knowm.xchart.style
Class AbstractBaseTheme
- java.lang.Object
-
- org.knowm.xchart.style.AbstractBaseTheme
-
- All Implemented Interfaces:
SeriesColors
,SeriesLines
,SeriesMarkers
,Theme
- Direct Known Subclasses:
GGPlot2Theme
,MatlabTheme
,XChartTheme
public abstract class AbstractBaseTheme extends Object implements Theme
- Author:
- timmolter, ekleinod
-
-
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
-
-
Constructor Summary
Constructors Constructor Description AbstractBaseTheme()
-
Method Summary
-
-
-
Method Detail
-
getBaseFont
public Font getBaseFont()
- Specified by:
getBaseFont
in interfaceTheme
-
getChartBackgroundColor
public Color getChartBackgroundColor()
- Specified by:
getChartBackgroundColor
in interfaceTheme
-
getChartFontColor
public Color getChartFontColor()
- Specified by:
getChartFontColor
in interfaceTheme
-
getChartPadding
public int getChartPadding()
- Specified by:
getChartPadding
in interfaceTheme
-
getSeriesColors
public Color[] getSeriesColors()
- Specified by:
getSeriesColors
in interfaceSeriesColors
-
getSeriesMarkers
public Marker[] getSeriesMarkers()
- Specified by:
getSeriesMarkers
in interfaceSeriesMarkers
-
getSeriesLines
public BasicStroke[] getSeriesLines()
- Specified by:
getSeriesLines
in interfaceSeriesLines
-
getChartTitleFont
public Font 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
public Color getChartTitleBoxBackgroundColor()
- Specified by:
getChartTitleBoxBackgroundColor
in interfaceTheme
-
getChartTitleBoxBorderColor
public Color getChartTitleBoxBorderColor()
- Specified by:
getChartTitleBoxBorderColor
in interfaceTheme
-
getChartTitlePadding
public int getChartTitlePadding()
- Specified by:
getChartTitlePadding
in interfaceTheme
-
getLegendFont
public Font getLegendFont()
- Specified by:
getLegendFont
in interfaceTheme
-
isLegendVisible
public boolean isLegendVisible()
- Specified by:
isLegendVisible
in interfaceTheme
-
getLegendBackgroundColor
public Color getLegendBackgroundColor()
- Specified by:
getLegendBackgroundColor
in interfaceTheme
-
getLegendBorderColor
public Color 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
public Styler.LegendPosition 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
public Font 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
public Font 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
public Color getAxisTickMarksColor()
- Specified by:
getAxisTickMarksColor
in interfaceTheme
-
getAxisTickMarksStroke
public Stroke getAxisTickMarksStroke()
- Specified by:
getAxisTickMarksStroke
in interfaceTheme
-
getAxisTickLabelsColor
public Color 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
public Color getPlotBackgroundColor()
- Specified by:
getPlotBackgroundColor
in interfaceTheme
-
getPlotBorderColor
public Color 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
public Color getPlotGridLinesColor()
- Specified by:
getPlotGridLinesColor
in interfaceTheme
-
getPlotGridLinesStroke
public Stroke getPlotGridLinesStroke()
- Specified by:
getPlotGridLinesStroke
in interfaceTheme
-
getPlotContentSize
public double getPlotContentSize()
- Specified by:
getPlotContentSize
in interfaceTheme
-
getPlotMargin
public int getPlotMargin()
- Specified by:
getPlotMargin
in interfaceTheme
-
isToolTipsEnabled
public boolean isToolTipsEnabled()
- Specified by:
isToolTipsEnabled
in interfaceTheme
-
getToolTipType
public Styler.ToolTipType getToolTipType()
- Specified by:
getToolTipType
in interfaceTheme
-
getToolTipFont
public Font getToolTipFont()
- Specified by:
getToolTipFont
in interfaceTheme
-
getToolTipBackgroundColor
public Color getToolTipBackgroundColor()
- Specified by:
getToolTipBackgroundColor
in interfaceTheme
-
getToolTipBorderColor
public Color getToolTipBorderColor()
- Specified by:
getToolTipBorderColor
in interfaceTheme
-
getToolTipHighlightColor
public Color getToolTipHighlightColor()
- Specified by:
getToolTipHighlightColor
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
public Font getPieFont()
Base font, size 15.- Specified by:
getPieFont
in interfaceTheme
-
getAnnotationDistance
public double getAnnotationDistance()
- Specified by:
getAnnotationDistance
in interfaceTheme
-
getAnnotationType
public PieStyler.AnnotationType getAnnotationType()
- Specified by:
getAnnotationType
in interfaceTheme
-
isDrawAllAnnotations
public boolean isDrawAllAnnotations()
- Specified by:
isDrawAllAnnotations
in interfaceTheme
-
getDonutThickness
public double getDonutThickness()
- Specified by:
getDonutThickness
in interfaceTheme
-
isSumVisible
public boolean isSumVisible()
- Specified by:
isSumVisible
in interfaceTheme
-
getSumFont
public Font getSumFont()
- Specified by:
getSumFont
in interfaceTheme
-
getMarkerSize
public int getMarkerSize()
- Specified by:
getMarkerSize
in interfaceTheme
-
getErrorBarsColor
public Color getErrorBarsColor()
- Specified by:
getErrorBarsColor
in interfaceTheme
-
isErrorBarsColorSeriesColor
public boolean isErrorBarsColorSeriesColor()
- Specified by:
isErrorBarsColorSeriesColor
in interfaceTheme
-
getAnnotationFont
public Font getAnnotationFont()
Pie font, size 12.- Specified by:
getAnnotationFont
in interfaceTheme
-
-