Class MyCustomTheme
java.lang.Object
org.knowm.xchart.style.theme.AbstractBaseTheme
org.knowm.xchart.demo.charts.theme.MyCustomTheme
- All Implemented Interfaces:
SeriesColors
,SeriesLines
,SeriesMarkers
,Theme
-
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
Methods inherited from class org.knowm.xchart.style.theme.AbstractBaseTheme
getAvailableSpaceFill, getAxisTickLabelsColor, getAxisTickLabelsFont, getAxisTickMarkLength, getAxisTickMarksColor, getAxisTickPadding, getAxisTitleFont, getAxisTitlePadding, getChartTitlePadding, getCursorBackgroundColor, getCursorColor, getCursorFont, getCursorFontColor, getCursorSize, getDonutThickness, getErrorBarsColor, getLabelsDistance, getLabelType, getLegendBackgroundColor, getLegendBorderColor, getLegendFont, getLegendPadding, getLegendPosition, getLegendSeriesLineLength, getPieFont, getPlotBackgroundColor, getPlotBorderColor, getPlotGridLinesColor, getPlotMargin, getStartAngleInDegrees, getSumFont, getXAxisTickMarkSpacingHint, getYAxisTickMarkSpacingHint, isAxisTicksLineVisible, isAxisTicksMarksVisible, isChartTitleVisible, isCircular, isCursorEnabled, isErrorBarsColorSeriesColor, isLegendVisible, isOverlapped, isPlotBorderVisible, isPlotGridHorizontalLinesVisible, isPlotGridLinesVisible, isPlotGridVerticalLinesVisible, isSumVisible, isXAxisTicksVisible, isXAxisTitleVisible, isYAxisTicksVisible, isYAxisTitleVisible, setForceAllLabelsVisible
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
-
MyCustomTheme
public MyCustomTheme()
-
-
Method Details
-
getBaseFont
- Specified by:
getBaseFont
in interfaceTheme
- Overrides:
getBaseFont
in classAbstractBaseTheme
-
getChartBackgroundColor
- Specified by:
getChartBackgroundColor
in interfaceTheme
- Overrides:
getChartBackgroundColor
in classAbstractBaseTheme
-
getChartFontColor
- Specified by:
getChartFontColor
in interfaceTheme
- Overrides:
getChartFontColor
in classAbstractBaseTheme
-
getChartPadding
public int getChartPadding()- Specified by:
getChartPadding
in interfaceTheme
- Overrides:
getChartPadding
in classAbstractBaseTheme
-
getSeriesColors
- Specified by:
getSeriesColors
in interfaceSeriesColors
- Overrides:
getSeriesColors
in classAbstractBaseTheme
-
getSeriesMarkers
- Specified by:
getSeriesMarkers
in interfaceSeriesMarkers
- Overrides:
getSeriesMarkers
in classAbstractBaseTheme
-
getSeriesLines
- Specified by:
getSeriesLines
in interfaceSeriesLines
- Overrides:
getSeriesLines
in classAbstractBaseTheme
-
getChartTitleFont
Description copied from class:AbstractBaseTheme
Base font, bold, size 14.- Specified by:
getChartTitleFont
in interfaceTheme
- Overrides:
getChartTitleFont
in classAbstractBaseTheme
-
isChartTitleBoxVisible
public boolean isChartTitleBoxVisible()- Specified by:
isChartTitleBoxVisible
in interfaceTheme
- Overrides:
isChartTitleBoxVisible
in classAbstractBaseTheme
-
getChartTitleBoxBackgroundColor
- Specified by:
getChartTitleBoxBackgroundColor
in interfaceTheme
- Overrides:
getChartTitleBoxBackgroundColor
in classAbstractBaseTheme
-
getChartTitleBoxBorderColor
- Specified by:
getChartTitleBoxBorderColor
in interfaceTheme
- Overrides:
getChartTitleBoxBorderColor
in classAbstractBaseTheme
-
getAxisTickMarksStroke
- Specified by:
getAxisTickMarksStroke
in interfaceTheme
- Overrides:
getAxisTickMarksStroke
in classAbstractBaseTheme
-
isPlotTicksMarksVisible
public boolean isPlotTicksMarksVisible()- Specified by:
isPlotTicksMarksVisible
in interfaceTheme
- Overrides:
isPlotTicksMarksVisible
in classAbstractBaseTheme
-
getPlotGridLinesStroke
- Specified by:
getPlotGridLinesStroke
in interfaceTheme
- Overrides:
getPlotGridLinesStroke
in classAbstractBaseTheme
-
getMarkerSize
public int getMarkerSize()- Specified by:
getMarkerSize
in interfaceTheme
- Overrides:
getMarkerSize
in classAbstractBaseTheme
-