Package org.knowm.xchart.style
Class GGPlot2Theme
- java.lang.Object
-
- org.knowm.xchart.style.AbstractBaseTheme
-
- org.knowm.xchart.style.GGPlot2Theme
-
- All Implemented Interfaces:
SeriesColors
,SeriesLines
,SeriesMarkers
,Theme
public class GGPlot2Theme extends AbstractBaseTheme
- Author:
- timmolter
-
-
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 GGPlot2Theme()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PieStyler.AnnotationType
getAnnotationType()
Color
getAxisTickLabelsColor()
Font
getAxisTickLabelsFont()
int
getAxisTickMarkLength()
Stroke
getAxisTickMarksStroke()
int
getAxisTickPadding()
Font
getAxisTitleFont()
Color
getChartTitleBoxBackgroundColor()
Color
getChartTitleBoxBorderColor()
Font
getChartTitleFont()
Base font, bold, size 14.double
getDonutThickness()
Color
getErrorBarsColor()
Color
getLegendBorderColor()
Font
getLegendFont()
Color
getPlotBackgroundColor()
Color
getPlotBorderColor()
Color
getPlotGridLinesColor()
Stroke
getPlotGridLinesStroke()
int
getPlotMargin()
Color[]
getSeriesColors()
BasicStroke[]
getSeriesLines()
Marker[]
getSeriesMarkers()
Color
getToolTipBackgroundColor()
Color
getToolTipBorderColor()
Color
getToolTipHighlightColor()
boolean
isAxisTicksLineVisible()
boolean
isPlotBorderVisible()
boolean
isPlotTicksMarksVisible()
-
Methods inherited from class org.knowm.xchart.style.AbstractBaseTheme
getAnnotationDistance, getAnnotationFont, getAvailableSpaceFill, getAxisTickMarksColor, getAxisTitlePadding, getBaseFont, getChartBackgroundColor, getChartFontColor, getChartPadding, getChartTitlePadding, getLegendBackgroundColor, getLegendPadding, getLegendPosition, getLegendSeriesLineLength, getMarkerSize, getPieFont, getPlotContentSize, getStartAngleInDegrees, getSumFont, getToolTipFont, getToolTipType, getXAxisTickMarkSpacingHint, getYAxisTickMarkSpacingHint, isAxisTicksMarksVisible, isChartTitleBoxVisible, isChartTitleVisible, isCircular, isDrawAllAnnotations, isErrorBarsColorSeriesColor, isLegendVisible, isOverlapped, isPlotGridHorizontalLinesVisible, isPlotGridLinesVisible, isPlotGridVerticalLinesVisible, isSumVisible, isToolTipsEnabled, isXAxisTicksVisible, isXAxisTitleVisible, isYAxisTicksVisible, isYAxisTitleVisible
-
-
-
-
Method Detail
-
getSeriesMarkers
public Marker[] getSeriesMarkers()
- Specified by:
getSeriesMarkers
in interfaceSeriesMarkers
- Overrides:
getSeriesMarkers
in classAbstractBaseTheme
-
getSeriesLines
public BasicStroke[] getSeriesLines()
- Specified by:
getSeriesLines
in interfaceSeriesLines
- Overrides:
getSeriesLines
in classAbstractBaseTheme
-
getSeriesColors
public Color[] getSeriesColors()
- Specified by:
getSeriesColors
in interfaceSeriesColors
- Overrides:
getSeriesColors
in classAbstractBaseTheme
-
getChartTitleFont
public Font getChartTitleFont()
Description copied from class:AbstractBaseTheme
Base font, bold, size 14.- Specified by:
getChartTitleFont
in interfaceTheme
- Overrides:
getChartTitleFont
in classAbstractBaseTheme
-
getChartTitleBoxBackgroundColor
public Color getChartTitleBoxBackgroundColor()
- Specified by:
getChartTitleBoxBackgroundColor
in interfaceTheme
- Overrides:
getChartTitleBoxBackgroundColor
in classAbstractBaseTheme
-
getChartTitleBoxBorderColor
public Color getChartTitleBoxBorderColor()
- Specified by:
getChartTitleBoxBorderColor
in interfaceTheme
- Overrides:
getChartTitleBoxBorderColor
in classAbstractBaseTheme
-
getLegendFont
public Font getLegendFont()
- Specified by:
getLegendFont
in interfaceTheme
- Overrides:
getLegendFont
in classAbstractBaseTheme
-
getLegendBorderColor
public Color getLegendBorderColor()
- Specified by:
getLegendBorderColor
in interfaceTheme
- Overrides:
getLegendBorderColor
in classAbstractBaseTheme
-
getAxisTitleFont
public Font getAxisTitleFont()
- Specified by:
getAxisTitleFont
in interfaceTheme
- Overrides:
getAxisTitleFont
in classAbstractBaseTheme
-
getAxisTickLabelsFont
public Font getAxisTickLabelsFont()
- Specified by:
getAxisTickLabelsFont
in interfaceTheme
- Overrides:
getAxisTickLabelsFont
in classAbstractBaseTheme
-
getAxisTickMarkLength
public int getAxisTickMarkLength()
- Specified by:
getAxisTickMarkLength
in interfaceTheme
- Overrides:
getAxisTickMarkLength
in classAbstractBaseTheme
-
getAxisTickPadding
public int getAxisTickPadding()
- Specified by:
getAxisTickPadding
in interfaceTheme
- Overrides:
getAxisTickPadding
in classAbstractBaseTheme
-
getAxisTickMarksStroke
public Stroke getAxisTickMarksStroke()
- Specified by:
getAxisTickMarksStroke
in interfaceTheme
- Overrides:
getAxisTickMarksStroke
in classAbstractBaseTheme
-
getAxisTickLabelsColor
public Color getAxisTickLabelsColor()
- Specified by:
getAxisTickLabelsColor
in interfaceTheme
- Overrides:
getAxisTickLabelsColor
in classAbstractBaseTheme
-
isAxisTicksLineVisible
public boolean isAxisTicksLineVisible()
- Specified by:
isAxisTicksLineVisible
in interfaceTheme
- Overrides:
isAxisTicksLineVisible
in classAbstractBaseTheme
-
getPlotBackgroundColor
public Color getPlotBackgroundColor()
- Specified by:
getPlotBackgroundColor
in interfaceTheme
- Overrides:
getPlotBackgroundColor
in classAbstractBaseTheme
-
getPlotBorderColor
public Color getPlotBorderColor()
- Specified by:
getPlotBorderColor
in interfaceTheme
- Overrides:
getPlotBorderColor
in classAbstractBaseTheme
-
isPlotBorderVisible
public boolean isPlotBorderVisible()
- Specified by:
isPlotBorderVisible
in interfaceTheme
- Overrides:
isPlotBorderVisible
in classAbstractBaseTheme
-
isPlotTicksMarksVisible
public boolean isPlotTicksMarksVisible()
- Specified by:
isPlotTicksMarksVisible
in interfaceTheme
- Overrides:
isPlotTicksMarksVisible
in classAbstractBaseTheme
-
getPlotGridLinesColor
public Color getPlotGridLinesColor()
- Specified by:
getPlotGridLinesColor
in interfaceTheme
- Overrides:
getPlotGridLinesColor
in classAbstractBaseTheme
-
getPlotGridLinesStroke
public Stroke getPlotGridLinesStroke()
- Specified by:
getPlotGridLinesStroke
in interfaceTheme
- Overrides:
getPlotGridLinesStroke
in classAbstractBaseTheme
-
getPlotMargin
public int getPlotMargin()
- Specified by:
getPlotMargin
in interfaceTheme
- Overrides:
getPlotMargin
in classAbstractBaseTheme
-
getToolTipBackgroundColor
public Color getToolTipBackgroundColor()
- Specified by:
getToolTipBackgroundColor
in interfaceTheme
- Overrides:
getToolTipBackgroundColor
in classAbstractBaseTheme
-
getToolTipBorderColor
public Color getToolTipBorderColor()
- Specified by:
getToolTipBorderColor
in interfaceTheme
- Overrides:
getToolTipBorderColor
in classAbstractBaseTheme
-
getToolTipHighlightColor
public Color getToolTipHighlightColor()
- Specified by:
getToolTipHighlightColor
in interfaceTheme
- Overrides:
getToolTipHighlightColor
in classAbstractBaseTheme
-
getAnnotationType
public PieStyler.AnnotationType getAnnotationType()
- Specified by:
getAnnotationType
in interfaceTheme
- Overrides:
getAnnotationType
in classAbstractBaseTheme
-
getDonutThickness
public double getDonutThickness()
- Specified by:
getDonutThickness
in interfaceTheme
- Overrides:
getDonutThickness
in classAbstractBaseTheme
-
getErrorBarsColor
public Color getErrorBarsColor()
- Specified by:
getErrorBarsColor
in interfaceTheme
- Overrides:
getErrorBarsColor
in classAbstractBaseTheme
-
-