Package org.knowm.xchart.style
Class XYStyler
- java.lang.Object
-
- org.knowm.xchart.style.Styler
-
- org.knowm.xchart.style.AxesChartStyler
-
- org.knowm.xchart.style.XYStyler
-
public class XYStyler extends AxesChartStyler
- Author:
- timmolter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.knowm.xchart.style.Styler
Styler.ChartTheme, Styler.LegendLayout, Styler.LegendPosition, Styler.TextAlignment, Styler.ToolTipType, Styler.YAxisPosition
-
-
Constructor Summary
Constructors Constructor Description XYStyler()
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XYSeries.XYSeriesRenderStyle
getDefaultSeriesRenderStyle()
protected void
setAllStyles()
XYStyler
setDefaultSeriesRenderStyle(XYSeries.XYSeriesRenderStyle xySeriesRenderStyle)
Sets the default series render style for the chart (line, scatter, area, etc.) You can override the series render style individually on each Series object.void
setTheme(Theme theme)
Set the theme the styler should use-
Methods inherited from class org.knowm.xchart.style.AxesChartStyler
getAxisTickLabelsColor, getAxisTickLabelsFont, getAxisTickMarkLength, getAxisTickMarksColor, getAxisTickMarksStroke, getAxisTickPadding, getAxisTitleFont, getAxisTitlePadding, getDatePattern, getErrorBarsColor, getLocale, getMarkerSize, getPlotGridLinesColor, getPlotGridLinesStroke, getPlotMargin, getTimezone, getXAxisDecimalPattern, getXAxisLabelAlignment, getXAxisLabelAlignmentVertical, getXAxisLabelRotation, getXAxisMax, getXAxisMin, getXAxisTickMarkSpacingHint, getYAxisDecimalPattern, getYAxisLabelAlignment, getYAxisMax, getYAxisMax, getYAxisMin, getYAxisMin, getYAxisTickMarkSpacingHint, isAxisTicksLineVisible, isAxisTicksMarksVisible, isErrorBarsColorSeriesColor, isPlotGridHorizontalLinesVisible, isPlotGridLinesVisible, isPlotGridVerticalLinesVisible, isPlotTicksMarksVisible, isXAxisLogarithmic, isXAxisLogarithmicDecadeOnly, isXAxisTicksVisible, isXAxisTitleVisible, isYAxisLogarithmic, isYAxisLogarithmicDecadeOnly, isYAxisTicksVisible, isYAxisTitleVisible, setAxisTickLabelsColor, setAxisTickLabelsFont, setAxisTickMarkLength, setAxisTickMarksColor, setAxisTickMarksStroke, setAxisTickPadding, setAxisTicksLineVisible, setAxisTicksMarksVisible, setAxisTicksVisible, setAxisTitleFont, setAxisTitlePadding, setAxisTitlesVisible, setDatePattern, setErrorBarsColor, setErrorBarsColorSeriesColor, setLocale, setMarkerSize, setPlotGridHorizontalLinesVisible, setPlotGridLinesColor, setPlotGridLinesStroke, setPlotGridLinesVisible, setPlotGridVerticalLinesVisible, setPlotMargin, setPlotTicksMarksVisible, setTimezone, setXAxisDecimalPattern, setXAxisLabelAlignment, setXAxisLabelAlignmentVertical, setXAxisLabelRotation, setXAxisLogarithmic, setXAxisLogarithmicDecadeOnly, setXAxisMax, setXAxisMin, setXAxisTickMarkSpacingHint, setXAxisTicksVisible, setXAxisTitleVisible, setYAxisDecimalPattern, setYAxisLabelAlignment, setYAxisLogarithmic, setYAxisLogarithmicDecadeOnly, setYAxisMax, setYAxisMax, setYAxisMin, setYAxisMin, setYAxisTickMarkSpacingHint, setYAxisTicksVisible, setYAxisTitleVisible
-
Methods inherited from class org.knowm.xchart.style.Styler
getAnnotationsFont, getAntiAlias, getBaseFont, getChartBackgroundColor, getChartFontColor, getChartPadding, getChartTitleBoxBackgroundColor, getChartTitleBoxBorderColor, getChartTitleFont, getChartTitlePadding, getDecimalPattern, getLegendBackgroundColor, getLegendBorderColor, getLegendFont, getLegendLayout, getLegendPadding, getLegendPosition, getLegendSeriesLineLength, getPlotBackgroundColor, getPlotBorderColor, getPlotContentSize, getSeriesColors, getSeriesLines, getSeriesMarkers, getTheme, getToolTipBackgroundColor, getToolTipBorderColor, getToolTipFont, getToolTipHighlightColor, getToolTipType, getYAxisGroupPosistion, hasAnnotations, isChartTitleBoxVisible, isChartTitleVisible, isLegendVisible, isPlotBorderVisible, isToolTipsAlwaysVisible, isToolTipsEnabled, setAnnotationsFont, setAntiAlias, setBaseFont, setChartBackgroundColor, setChartFontColor, setChartPadding, setChartTitleBoxBackgroundColor, setChartTitleBoxBorderColor, setChartTitleBoxVisible, setChartTitleFont, setChartTitlePadding, setChartTitleVisible, setDecimalPattern, setHasAnnotations, setLegendBackgroundColor, setLegendBorderColor, setLegendFont, setLegendLayout, setLegendPadding, setLegendPosition, setLegendSeriesLineLength, setLegendVisible, setPlotBackgroundColor, setPlotBorderColor, setPlotBorderVisible, setPlotContentSize, setSeriesColors, setSeriesLines, setSeriesMarkers, setToolTipBackgroundColor, setToolTipBorderColor, setToolTipFont, setToolTipHighlightColor, setToolTipsAlwaysVisible, setToolTipsEnabled, setToolTipType, setYAxisGroupPosition
-
-
-
-
Method Detail
-
setAllStyles
protected void setAllStyles()
-
getDefaultSeriesRenderStyle
public XYSeries.XYSeriesRenderStyle getDefaultSeriesRenderStyle()
-
setDefaultSeriesRenderStyle
public XYStyler setDefaultSeriesRenderStyle(XYSeries.XYSeriesRenderStyle xySeriesRenderStyle)
Sets the default series render style for the chart (line, scatter, area, etc.) You can override the series render style individually on each Series object.- Parameters:
xySeriesRenderStyle
-
-
setTheme
public void setTheme(Theme theme)
Set the theme the styler should use- Parameters:
theme
-
-
-