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
-
Constructor Summary
Constructors Constructor Description BaseTheme() -
Method Summary
Modifier and Type Method Description doublegetAnnotationDistance()org.knowm.xchart.style.PieStyler.AnnotationTypegetAnnotationType()java.awt.FontgetAxisTitleFont()java.awt.FontgetBaseFont()static java.lang.StringgetFontName()Returns font name of available font.java.awt.ColorgetPlotBorderColor()doublegetPlotContentSize()java.awt.ColorgetPlotGridLinesColor()java.awt.StrokegetPlotGridLinesStroke()java.awt.Color[]getSeriesColors()booleanisAxisTicksLineVisible()booleanisAxisTicksMarksVisible()booleanisChartTitleBoxVisible()booleanisPlotBorderVisible()booleanisSumVisible()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
-
Constructor Details
-
BaseTheme
public BaseTheme()
-
-
Method Details
-
getBaseFont
public java.awt.Font getBaseFont()- Specified by:
getBaseFontin interfaceorg.knowm.xchart.style.Theme- Overrides:
getBaseFontin classorg.knowm.xchart.style.AbstractBaseTheme
-
getSeriesColors
public java.awt.Color[] getSeriesColors()- Specified by:
getSeriesColorsin interfaceorg.knowm.xchart.style.colors.SeriesColors- Overrides:
getSeriesColorsin classorg.knowm.xchart.style.AbstractBaseTheme
-
isChartTitleBoxVisible
public boolean isChartTitleBoxVisible()- Specified by:
isChartTitleBoxVisiblein interfaceorg.knowm.xchart.style.Theme- Overrides:
isChartTitleBoxVisiblein classorg.knowm.xchart.style.AbstractBaseTheme
-
getAxisTitleFont
public java.awt.Font getAxisTitleFont()- Specified by:
getAxisTitleFontin interfaceorg.knowm.xchart.style.Theme- Overrides:
getAxisTitleFontin classorg.knowm.xchart.style.AbstractBaseTheme
-
isAxisTicksLineVisible
public boolean isAxisTicksLineVisible()- Specified by:
isAxisTicksLineVisiblein interfaceorg.knowm.xchart.style.Theme- Overrides:
isAxisTicksLineVisiblein classorg.knowm.xchart.style.AbstractBaseTheme
-
isAxisTicksMarksVisible
public boolean isAxisTicksMarksVisible()- Specified by:
isAxisTicksMarksVisiblein interfaceorg.knowm.xchart.style.Theme- Overrides:
isAxisTicksMarksVisiblein classorg.knowm.xchart.style.AbstractBaseTheme
-
getPlotBorderColor
public java.awt.Color getPlotBorderColor()- Specified by:
getPlotBorderColorin interfaceorg.knowm.xchart.style.Theme- Overrides:
getPlotBorderColorin classorg.knowm.xchart.style.AbstractBaseTheme
-
isPlotBorderVisible
public boolean isPlotBorderVisible()- Specified by:
isPlotBorderVisiblein interfaceorg.knowm.xchart.style.Theme- Overrides:
isPlotBorderVisiblein classorg.knowm.xchart.style.AbstractBaseTheme
-
getPlotGridLinesColor
public java.awt.Color getPlotGridLinesColor()- Specified by:
getPlotGridLinesColorin interfaceorg.knowm.xchart.style.Theme- Overrides:
getPlotGridLinesColorin classorg.knowm.xchart.style.AbstractBaseTheme
-
getPlotGridLinesStroke
public java.awt.Stroke getPlotGridLinesStroke()- Specified by:
getPlotGridLinesStrokein interfaceorg.knowm.xchart.style.Theme- Overrides:
getPlotGridLinesStrokein classorg.knowm.xchart.style.AbstractBaseTheme
-
getPlotContentSize
public double getPlotContentSize()- Specified by:
getPlotContentSizein interfaceorg.knowm.xchart.style.Theme- Overrides:
getPlotContentSizein classorg.knowm.xchart.style.AbstractBaseTheme
-
getAnnotationDistance
public double getAnnotationDistance()- Specified by:
getAnnotationDistancein interfaceorg.knowm.xchart.style.Theme- Overrides:
getAnnotationDistancein classorg.knowm.xchart.style.AbstractBaseTheme
-
getAnnotationType
public org.knowm.xchart.style.PieStyler.AnnotationType getAnnotationType()- Specified by:
getAnnotationTypein interfaceorg.knowm.xchart.style.Theme- Overrides:
getAnnotationTypein classorg.knowm.xchart.style.AbstractBaseTheme
-
isSumVisible
public boolean isSumVisible()- Specified by:
isSumVisiblein interfaceorg.knowm.xchart.style.Theme- Overrides:
isSumVisiblein classorg.knowm.xchart.style.AbstractBaseTheme
-
getFontName
public static java.lang.String getFontName()Returns font name of available font.- Returns:
- font name
-