Package org.knowm.xchart.style
Class OHLCStyler
- java.lang.Object
-
- org.knowm.xchart.style.Styler
-
- org.knowm.xchart.style.AxesChartStyler
-
- org.knowm.xchart.style.OHLCStyler
-
public class OHLCStyler extends AxesChartStyler
- Author:
- arthurmcgibbon
-
-
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 OHLCStyler()
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OHLCSeries.OHLCSeriesRenderStyle
getDefaultSeriesRenderStyle()
protected void
setAllStyles()
OHLCStyler
setDefaultSeriesRenderStyle(OHLCSeries.OHLCSeriesRenderStyle ohlcSeriesRenderStyle)
Sets the default series render style for the chart (candle, hilo, 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 OHLCSeries.OHLCSeriesRenderStyle getDefaultSeriesRenderStyle()
-
setDefaultSeriesRenderStyle
public OHLCStyler setDefaultSeriesRenderStyle(OHLCSeries.OHLCSeriesRenderStyle ohlcSeriesRenderStyle)
Sets the default series render style for the chart (candle, hilo, etc.) You can override the series render style individually on each Series object.- Parameters:
ohlcSeriesRenderStyle
-
-
setTheme
public void setTheme(Theme theme)
Set the theme the styler should use- Parameters:
theme
-
-
-