Class XYStyler

    • Field Detail

      • isZoomEnabled

        private boolean isZoomEnabled
      • zoomSelectionColor

        private java.awt.Color zoomSelectionColor
      • zoomResetByDoubleClick

        private boolean zoomResetByDoubleClick
      • zoomResetByButton

        private boolean zoomResetByButton
      • isCursorEnabled

        private boolean isCursorEnabled
      • cursorColor

        private java.awt.Color cursorColor
      • cursorLineWidth

        private float cursorLineWidth
      • cursorFont

        private java.awt.Font cursorFont
      • cursorFontColor

        private java.awt.Color cursorFontColor
      • cursorBackgroundColor

        private java.awt.Color cursorBackgroundColor
      • customCursorXDataFormattingFunction

        private java.util.function.Function<java.lang.Double,​java.lang.String> customCursorXDataFormattingFunction
      • customCursorYDataFormattingFunction

        private java.util.function.Function<java.lang.Double,​java.lang.String> customCursorYDataFormattingFunction
    • 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 XYStyler setZoomEnabled​(boolean isZoomEnabled)
      • getZoomSelectionColor

        public java.awt.Color getZoomSelectionColor()
      • setZoomSelectionColor

        public XYStyler setZoomSelectionColor​(java.awt.Color zoomSelectionColor)
      • isZoomResetByDoubleClick

        public boolean isZoomResetByDoubleClick()
      • setZoomResetByDoubleClick

        public XYStyler setZoomResetByDoubleClick​(boolean zoomResetByDoubleClick)
      • isZoomResetByButton

        public boolean isZoomResetByButton()
      • setZoomResetByButton

        public XYStyler setZoomResetByButton​(boolean zoomResetByButton)
      • isCursorEnabled

        public boolean isCursorEnabled()
      • setCursorEnabled

        public XYStyler setCursorEnabled​(boolean isCursorEnabled)
      • getCursorColor

        public java.awt.Color getCursorColor()
      • setCursorColor

        public XYStyler setCursorColor​(java.awt.Color cursorColor)
      • getCursorLineWidth

        public float getCursorLineWidth()
      • setCursorLineWidth

        public XYStyler setCursorLineWidth​(float cursorLineWidth)
      • getCursorFont

        public java.awt.Font getCursorFont()
      • setCursorFont

        public XYStyler setCursorFont​(java.awt.Font cursorFont)
      • getCursorFontColor

        public java.awt.Color getCursorFontColor()
      • setCursorFontColor

        public XYStyler setCursorFontColor​(java.awt.Color cursorFontColor)
      • getCursorBackgroundColor

        public java.awt.Color getCursorBackgroundColor()
      • setCursorBackgroundColor

        public XYStyler setCursorBackgroundColor​(java.awt.Color cursorBackgroundColor)
      • getCustomCursorXDataFormattingFunction

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

        public XYStyler 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 XYStyler 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 -