Class BaseTheme

java.lang.Object
org.knowm.xchart.style.AbstractBaseTheme
de.edgesoft.edgeutils.xchart.BaseTheme
All Implemented Interfaces:
org.knowm.xchart.style.colors.SeriesColors, org.knowm.xchart.style.lines.SeriesLines, org.knowm.xchart.style.markers.SeriesMarkers, org.knowm.xchart.style.Theme

public class BaseTheme
extends org.knowm.xchart.style.AbstractBaseTheme
Class providing base xchart Theme. Based on MatlabTheme.

Legal stuff

Copyright 2010-2020 Ekkart Kleinod ekleinod@edgesoft.de

This file is part of edgeutils.

edgeutils is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

edgeutils is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with edgeutils. If not, see http://www.gnu.org/licenses/.

Since:
0.10.0
Author:
Ekkart Kleinod
  • 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
    BaseTheme()  
  • Method Summary

    Modifier and Type Method Description
    double getAnnotationDistance()  
    org.knowm.xchart.style.PieStyler.AnnotationType getAnnotationType()  
    java.awt.Font getAxisTitleFont()  
    java.awt.Font getBaseFont()  
    static java.lang.String getFontName()
    Returns font name of available font.
    java.awt.Color getPlotBorderColor()  
    double getPlotContentSize()  
    java.awt.Color getPlotGridLinesColor()  
    java.awt.Stroke getPlotGridLinesStroke()  
    java.awt.Color[] getSeriesColors()  
    boolean isAxisTicksLineVisible()  
    boolean isAxisTicksMarksVisible()  
    boolean isChartTitleBoxVisible()  
    boolean isPlotBorderVisible()  
    boolean isSumVisible()  

    Methods inherited from class org.knowm.xchart.style.AbstractBaseTheme

    getAnnotationFont, getAvailableSpaceFill, getAxisTickLabelsColor, getAxisTickLabelsFont, getAxisTickMarkLength, getAxisTickMarksColor, getAxisTickMarksStroke, getAxisTickPadding, getAxisTitlePadding, getChartBackgroundColor, getChartFontColor, getChartPadding, getChartTitleBoxBackgroundColor, getChartTitleBoxBorderColor, getChartTitleFont, getChartTitlePadding, getDonutThickness, getErrorBarsColor, getLegendBackgroundColor, getLegendBorderColor, getLegendFont, getLegendPadding, getLegendPosition, getLegendSeriesLineLength, getMarkerSize, getPieFont, getPlotBackgroundColor, getPlotMargin, getSeriesLines, getSeriesMarkers, getStartAngleInDegrees, getSumFont, getToolTipBackgroundColor, getToolTipBorderColor, getToolTipFont, getToolTipHighlightColor, getToolTipType, getXAxisTickMarkSpacingHint, getYAxisTickMarkSpacingHint, isChartTitleVisible, isCircular, isDrawAllAnnotations, isErrorBarsColorSeriesColor, isLegendVisible, isOverlapped, isPlotGridHorizontalLinesVisible, isPlotGridLinesVisible, isPlotGridVerticalLinesVisible, isPlotTicksMarksVisible, isToolTipsEnabled, isXAxisTicksVisible, isXAxisTitleVisible, isYAxisTicksVisible, isYAxisTitleVisible

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getBaseFont

      public java.awt.Font getBaseFont()
      Specified by:
      getBaseFont in interface org.knowm.xchart.style.Theme
      Overrides:
      getBaseFont in class org.knowm.xchart.style.AbstractBaseTheme
    • getSeriesColors

      public java.awt.Color[] getSeriesColors()
      Specified by:
      getSeriesColors in interface org.knowm.xchart.style.colors.SeriesColors
      Overrides:
      getSeriesColors in class org.knowm.xchart.style.AbstractBaseTheme
    • isChartTitleBoxVisible

      public boolean isChartTitleBoxVisible()
      Specified by:
      isChartTitleBoxVisible in interface org.knowm.xchart.style.Theme
      Overrides:
      isChartTitleBoxVisible in class org.knowm.xchart.style.AbstractBaseTheme
    • getAxisTitleFont

      public java.awt.Font getAxisTitleFont()
      Specified by:
      getAxisTitleFont in interface org.knowm.xchart.style.Theme
      Overrides:
      getAxisTitleFont in class org.knowm.xchart.style.AbstractBaseTheme
    • isAxisTicksLineVisible

      public boolean isAxisTicksLineVisible()
      Specified by:
      isAxisTicksLineVisible in interface org.knowm.xchart.style.Theme
      Overrides:
      isAxisTicksLineVisible in class org.knowm.xchart.style.AbstractBaseTheme
    • isAxisTicksMarksVisible

      public boolean isAxisTicksMarksVisible()
      Specified by:
      isAxisTicksMarksVisible in interface org.knowm.xchart.style.Theme
      Overrides:
      isAxisTicksMarksVisible in class org.knowm.xchart.style.AbstractBaseTheme
    • getPlotBorderColor

      public java.awt.Color getPlotBorderColor()
      Specified by:
      getPlotBorderColor in interface org.knowm.xchart.style.Theme
      Overrides:
      getPlotBorderColor in class org.knowm.xchart.style.AbstractBaseTheme
    • isPlotBorderVisible

      public boolean isPlotBorderVisible()
      Specified by:
      isPlotBorderVisible in interface org.knowm.xchart.style.Theme
      Overrides:
      isPlotBorderVisible in class org.knowm.xchart.style.AbstractBaseTheme
    • getPlotGridLinesColor

      public java.awt.Color getPlotGridLinesColor()
      Specified by:
      getPlotGridLinesColor in interface org.knowm.xchart.style.Theme
      Overrides:
      getPlotGridLinesColor in class org.knowm.xchart.style.AbstractBaseTheme
    • getPlotGridLinesStroke

      public java.awt.Stroke getPlotGridLinesStroke()
      Specified by:
      getPlotGridLinesStroke in interface org.knowm.xchart.style.Theme
      Overrides:
      getPlotGridLinesStroke in class org.knowm.xchart.style.AbstractBaseTheme
    • getPlotContentSize

      public double getPlotContentSize()
      Specified by:
      getPlotContentSize in interface org.knowm.xchart.style.Theme
      Overrides:
      getPlotContentSize in class org.knowm.xchart.style.AbstractBaseTheme
    • getAnnotationDistance

      public double getAnnotationDistance()
      Specified by:
      getAnnotationDistance in interface org.knowm.xchart.style.Theme
      Overrides:
      getAnnotationDistance in class org.knowm.xchart.style.AbstractBaseTheme
    • getAnnotationType

      public org.knowm.xchart.style.PieStyler.AnnotationType getAnnotationType()
      Specified by:
      getAnnotationType in interface org.knowm.xchart.style.Theme
      Overrides:
      getAnnotationType in class org.knowm.xchart.style.AbstractBaseTheme
    • isSumVisible

      public boolean isSumVisible()
      Specified by:
      isSumVisible in interface org.knowm.xchart.style.Theme
      Overrides:
      isSumVisible in class org.knowm.xchart.style.AbstractBaseTheme
    • getFontName

      public static java.lang.String getFontName()
      Returns font name of available font.
      Returns:
      font name