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:
getBaseFontin interfaceTheme
-
getChartBackgroundColor
public Color getChartBackgroundColor()
- Specified by:
getChartBackgroundColorin interfaceTheme
-
getChartFontColor
public Color getChartFontColor()
- Specified by:
getChartFontColorin interfaceTheme
-
getChartPadding
public int getChartPadding()
- Specified by:
getChartPaddingin interfaceTheme
-
getSeriesColors
public Color[] getSeriesColors()
- Specified by:
getSeriesColorsin interfaceSeriesColors
-
getSeriesMarkers
public Marker[] getSeriesMarkers()
- Specified by:
getSeriesMarkersin interfaceSeriesMarkers
-
getSeriesLines
public BasicStroke[] getSeriesLines()
- Specified by:
getSeriesLinesin interfaceSeriesLines
-
getChartTitleFont
public Font getChartTitleFont()
Base font, bold, size 14.- Specified by:
getChartTitleFontin interfaceTheme
-
isChartTitleVisible
public boolean isChartTitleVisible()
- Specified by:
isChartTitleVisiblein interfaceTheme
-
isChartTitleBoxVisible
public boolean isChartTitleBoxVisible()
- Specified by:
isChartTitleBoxVisiblein interfaceTheme
-
getChartTitleBoxBackgroundColor
public Color getChartTitleBoxBackgroundColor()
- Specified by:
getChartTitleBoxBackgroundColorin interfaceTheme
-
getChartTitleBoxBorderColor
public Color getChartTitleBoxBorderColor()
- Specified by:
getChartTitleBoxBorderColorin interfaceTheme
-
getChartTitlePadding
public int getChartTitlePadding()
- Specified by:
getChartTitlePaddingin interfaceTheme
-
getLegendFont
public Font getLegendFont()
- Specified by:
getLegendFontin interfaceTheme
-
isLegendVisible
public boolean isLegendVisible()
- Specified by:
isLegendVisiblein interfaceTheme
-
getLegendBackgroundColor
public Color getLegendBackgroundColor()
- Specified by:
getLegendBackgroundColorin interfaceTheme
-
getLegendBorderColor
public Color getLegendBorderColor()
- Specified by:
getLegendBorderColorin interfaceTheme
-
getLegendPadding
public int getLegendPadding()
- Specified by:
getLegendPaddingin interfaceTheme
-
getLegendSeriesLineLength
public int getLegendSeriesLineLength()
- Specified by:
getLegendSeriesLineLengthin interfaceTheme
-
getLegendPosition
public Styler.LegendPosition getLegendPosition()
- Specified by:
getLegendPositionin interfaceTheme
-
isXAxisTitleVisible
public boolean isXAxisTitleVisible()
- Specified by:
isXAxisTitleVisiblein interfaceTheme
-
isYAxisTitleVisible
public boolean isYAxisTitleVisible()
- Specified by:
isYAxisTitleVisiblein interfaceTheme
-
getAxisTitleFont
public Font getAxisTitleFont()
- Specified by:
getAxisTitleFontin interfaceTheme
-
isXAxisTicksVisible
public boolean isXAxisTicksVisible()
- Specified by:
isXAxisTicksVisiblein interfaceTheme
-
isYAxisTicksVisible
public boolean isYAxisTicksVisible()
- Specified by:
isYAxisTicksVisiblein interfaceTheme
-
getAxisTickLabelsFont
public Font getAxisTickLabelsFont()
- Specified by:
getAxisTickLabelsFontin interfaceTheme
-
getAxisTickMarkLength
public int getAxisTickMarkLength()
- Specified by:
getAxisTickMarkLengthin interfaceTheme
-
getAxisTickPadding
public int getAxisTickPadding()
- Specified by:
getAxisTickPaddingin interfaceTheme
-
getAxisTickMarksColor
public Color getAxisTickMarksColor()
- Specified by:
getAxisTickMarksColorin interfaceTheme
-
getAxisTickMarksStroke
public Stroke getAxisTickMarksStroke()
- Specified by:
getAxisTickMarksStrokein interfaceTheme
-
getAxisTickLabelsColor
public Color getAxisTickLabelsColor()
- Specified by:
getAxisTickLabelsColorin interfaceTheme
-
isAxisTicksLineVisible
public boolean isAxisTicksLineVisible()
- Specified by:
isAxisTicksLineVisiblein interfaceTheme
-
isAxisTicksMarksVisible
public boolean isAxisTicksMarksVisible()
- Specified by:
isAxisTicksMarksVisiblein interfaceTheme
-
getAxisTitlePadding
public int getAxisTitlePadding()
- Specified by:
getAxisTitlePaddingin interfaceTheme
-
getXAxisTickMarkSpacingHint
public int getXAxisTickMarkSpacingHint()
- Specified by:
getXAxisTickMarkSpacingHintin interfaceTheme
-
getYAxisTickMarkSpacingHint
public int getYAxisTickMarkSpacingHint()
- Specified by:
getYAxisTickMarkSpacingHintin interfaceTheme
-
isPlotGridLinesVisible
public boolean isPlotGridLinesVisible()
- Specified by:
isPlotGridLinesVisiblein interfaceTheme
-
isPlotGridVerticalLinesVisible
public boolean isPlotGridVerticalLinesVisible()
- Specified by:
isPlotGridVerticalLinesVisiblein interfaceTheme
-
isPlotGridHorizontalLinesVisible
public boolean isPlotGridHorizontalLinesVisible()
- Specified by:
isPlotGridHorizontalLinesVisiblein interfaceTheme
-
getPlotBackgroundColor
public Color getPlotBackgroundColor()
- Specified by:
getPlotBackgroundColorin interfaceTheme
-
getPlotBorderColor
public Color getPlotBorderColor()
- Specified by:
getPlotBorderColorin interfaceTheme
-
isPlotBorderVisible
public boolean isPlotBorderVisible()
- Specified by:
isPlotBorderVisiblein interfaceTheme
-
isPlotTicksMarksVisible
public boolean isPlotTicksMarksVisible()
- Specified by:
isPlotTicksMarksVisiblein interfaceTheme
-
getPlotGridLinesColor
public Color getPlotGridLinesColor()
- Specified by:
getPlotGridLinesColorin interfaceTheme
-
getPlotGridLinesStroke
public Stroke getPlotGridLinesStroke()
- Specified by:
getPlotGridLinesStrokein interfaceTheme
-
getPlotContentSize
public double getPlotContentSize()
- Specified by:
getPlotContentSizein interfaceTheme
-
getPlotMargin
public int getPlotMargin()
- Specified by:
getPlotMarginin interfaceTheme
-
isToolTipsEnabled
public boolean isToolTipsEnabled()
- Specified by:
isToolTipsEnabledin interfaceTheme
-
getToolTipType
public Styler.ToolTipType getToolTipType()
- Specified by:
getToolTipTypein interfaceTheme
-
getToolTipFont
public Font getToolTipFont()
- Specified by:
getToolTipFontin interfaceTheme
-
getToolTipBackgroundColor
public Color getToolTipBackgroundColor()
- Specified by:
getToolTipBackgroundColorin interfaceTheme
-
getToolTipBorderColor
public Color getToolTipBorderColor()
- Specified by:
getToolTipBorderColorin interfaceTheme
-
getToolTipHighlightColor
public Color getToolTipHighlightColor()
- Specified by:
getToolTipHighlightColorin interfaceTheme
-
getAvailableSpaceFill
public double getAvailableSpaceFill()
- Specified by:
getAvailableSpaceFillin interfaceTheme
-
isOverlapped
public boolean isOverlapped()
- Specified by:
isOverlappedin interfaceTheme
-
isCircular
public boolean isCircular()
- Specified by:
isCircularin interfaceTheme
-
getStartAngleInDegrees
public double getStartAngleInDegrees()
- Specified by:
getStartAngleInDegreesin interfaceTheme
-
getPieFont
public Font getPieFont()
Base font, size 15.- Specified by:
getPieFontin interfaceTheme
-
getAnnotationDistance
public double getAnnotationDistance()
- Specified by:
getAnnotationDistancein interfaceTheme
-
getAnnotationType
public PieStyler.AnnotationType getAnnotationType()
- Specified by:
getAnnotationTypein interfaceTheme
-
isDrawAllAnnotations
public boolean isDrawAllAnnotations()
- Specified by:
isDrawAllAnnotationsin interfaceTheme
-
getDonutThickness
public double getDonutThickness()
- Specified by:
getDonutThicknessin interfaceTheme
-
isSumVisible
public boolean isSumVisible()
- Specified by:
isSumVisiblein interfaceTheme
-
getSumFont
public Font getSumFont()
- Specified by:
getSumFontin interfaceTheme
-
getMarkerSize
public int getMarkerSize()
- Specified by:
getMarkerSizein interfaceTheme
-
getErrorBarsColor
public Color getErrorBarsColor()
- Specified by:
getErrorBarsColorin interfaceTheme
-
isErrorBarsColorSeriesColor
public boolean isErrorBarsColorSeriesColor()
- Specified by:
isErrorBarsColorSeriesColorin interfaceTheme
-
getAnnotationFont
public Font getAnnotationFont()
Pie font, size 12.- Specified by:
getAnnotationFontin interfaceTheme
-
-