Documentation of 'org.knowm.xchart.style.XYStyler' Java class
XYStyler
org.knowm.xchart.style

Class XYStyler

    • Constructor Detail

      • XYStyler

        public XYStyler()
        Constructor
    • Method Detail

      • setTheme

        public void setTheme(Theme theme)
        Set the theme the styler should use
        Parameters:
        theme -
      • 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 java.awt.Color getZoomSelectionColor()
      • setZoomSelectionColor

        public void setZoomSelectionColor(java.awt.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 java.awt.Color getCursorColor()
      • setCursorColor

        public Styler setCursorColor(java.awt.Color cursorColor)
      • getCursorLineWidth

        public float getCursorLineWidth()
      • setCursorLineWidth

        public Styler setCursorLineWidth(float cursorLineWidth)
      • getCursorFont

        public java.awt.Font getCursorFont()
      • setCursorFont

        public Styler setCursorFont(java.awt.Font cursorFont)
      • getCursorFontColor

        public java.awt.Color getCursorFontColor()
      • setCursorFontColor

        public Styler setCursorFontColor(java.awt.Color cursorFontColor)
      • getCursorBackgroundColor

        public java.awt.Color getCursorBackgroundColor()
      • setCursorBackgroundColor

        public Styler setCursorBackgroundColor(java.awt.Color cursorBackgroundColor)
      • getCustomCursorXDataFormattingFunction

        public java.util.function.Function<java.lang.Double,java.lang.String> getCustomCursorXDataFormattingFunction()
      • setCustomCursorXDataFormattingFunction

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

        public java.util.function.Function<java.lang.Double,java.lang.String> getCustomCursorYDataFormattingFunction()
      • setCustomCursorYDataFormattingFunction

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

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.