Class XYStyler


public class XYStyler extends AxesChartStyler
  • Constructor Details

    • XYStyler

      public XYStyler()
      Constructor
  • Method Details

    • setAllStyles

      protected void setAllStyles()
    • setTheme

      public void setTheme(Theme theme)
      Set the theme the styler should use
      Parameters:
      theme -
    • 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 -
    • isZoomEnabled

      public boolean isZoomEnabled()
    • setZoomEnabled

      public Styler setZoomEnabled(boolean isZoomEnabled)
    • getZoomSelectionColor

      public Color getZoomSelectionColor()
    • setZoomSelectionColor

      public void setZoomSelectionColor(Color zoomSelectionColor)
    • isZoomResetByDoubleClick

      public boolean isZoomResetByDoubleClick()
    • setZoomResetByDoubleClick

      public void setZoomResetByDoubleClick(boolean zoomResetByDoubleClick)
    • isZoomResetByButton

      public boolean isZoomResetByButton()
    • setZoomResetByButton

      public void setZoomResetByButton(boolean zoomResetByButton)
    • isCursorEnabled

      public boolean isCursorEnabled()
    • setCursorEnabled

      public Styler setCursorEnabled(boolean isCursorEnabled)
    • getCursorColor

      public Color getCursorColor()
    • setCursorColor

      public Styler setCursorColor(Color cursorColor)
    • getCursorLineWidth

      public float getCursorLineWidth()
    • setCursorLineWidth

      public Styler setCursorLineWidth(float cursorLineWidth)
    • getCursorFont

      public Font getCursorFont()
    • setCursorFont

      public Styler setCursorFont(Font cursorFont)
    • getCursorFontColor

      public Color getCursorFontColor()
    • setCursorFontColor

      public Styler setCursorFontColor(Color cursorFontColor)
    • getCursorBackgroundColor

      public Color getCursorBackgroundColor()
    • setCursorBackgroundColor

      public Styler setCursorBackgroundColor(Color cursorBackgroundColor)
    • getCustomCursorXDataFormattingFunction

      public Function<Double,String> getCustomCursorXDataFormattingFunction()
    • setCustomCursorXDataFormattingFunction

      public void setCustomCursorXDataFormattingFunction(Function<Double,String> customCursorXDataFormattingFunction)
      Set the custom function for formatting the cursor tooltip based on the series X-Axis data
      Parameters:
      customCursorXDataFormattingFunction -
    • getCustomCursorYDataFormattingFunction

      public Function<Double,String> getCustomCursorYDataFormattingFunction()
    • setCustomCursorYDataFormattingFunction

      public void setCustomCursorYDataFormattingFunction(Function<Double,String> customCursorYDataFormattingFunction)
      Set the custom function for formatting the cursor tooltip based on the series Y-Axis data
      Parameters:
      customCursorYDataFormattingFunction -