Class AbstractXYChart

  • All Implemented Interfaces:
    java.awt.event.ActionListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, java.util.EventListener, org.jfree.chart.event.ChartChangeListener
    Direct Known Subclasses:
    JTimeSeriesChart, NumericalXYChart

    public abstract class AbstractXYChart
    extends AbstractChart
    A base class for beans that use the XYPlot class.
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class javax.swing.JComponent

        javax.swing.JComponent.AccessibleJComponent
      • Nested classes/interfaces inherited from class java.awt.Container

        java.awt.Container.AccessibleAWTContainer
      • Nested classes/interfaces inherited from class java.awt.Component

        java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
    • Field Summary

      • Fields inherited from class javax.swing.JComponent

        listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
      • Fields inherited from class java.awt.Component

        accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
      • Fields inherited from interface java.awt.image.ImageObserver

        ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractXYChart()
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addXYItemClickListener​(XYItemClickListener listener)
      Registers a listener to receive notification of category item clicks.
      void fireXYItemClickEvent​(XYItemClickEvent event)
      Fires a category item click event.
      org.jfree.chart.plot.PlotOrientation getOrientation()
      Returns the orientation for the plot.
      java.lang.String getToolTipFormat()
      Returns the format string for the item tool tips.
      java.awt.Paint getXAxisGridlinePaint()
      Returns the grid line paint for the gridlines perpendicular to the x-axis.
      java.lang.String getXAxisLabel()
      Returns the x-axis label.
      java.awt.Font getXAxisLabelFont()
      Returns the font for the x-axis label.
      java.awt.Paint getXAxisLabelPaint()
      Returns the paint for the x-axis label.
      org.jfree.chart.axis.AxisLocation getXAxisLocation()
      Returns the permitted axis locations for the x-axis.
      double getXAxisLowerMargin()
      Returns the lower margin for the x-axis.
      java.awt.Font getXAxisTickLabelFont()
      Returns the font for the x-axis tick labels.
      java.awt.Paint getXAxisTickLabelPaint()
      Returns the paint for the x-axis tick labels.
      double getXAxisUpperMargin()
      Returns the upper margin for the x-axis.
      boolean getYAxisAutoRangeIncludesZero()
      Returns the flag that controls whether or not the auto range calculation is forced to include zero.
      java.awt.Paint getYAxisGridlinePaint()
      Returns the y-axis gridline paint.
      java.lang.String getYAxisLabel()
      Returns the y-axis label.
      java.awt.Font getYAxisLabelFont()
      Returns the font for the y-axis label.
      java.awt.Paint getYAxisLabelPaint()
      Returns the paint for the y-axis label.
      org.jfree.chart.axis.AxisLocation getYAxisLocation()
      Returns the permitted axis locations for the y-axis.
      double getYAxisLowerMargin()
      Returns the lower margin for the y-axis.
      AxisScale getYAxisScale()
      Returns the scale type for the y-axis.
      java.awt.Font getYAxisTickLabelFont()
      Returns the font for the y-axis tick labels.
      java.awt.Paint getYAxisTickLabelPaint()
      Returns the paint for the y-axis tick labels.
      double getYAxisUpperMargin()
      Returns the upper margin for the y-axis.
      boolean isXAxisGridlinesVisible()
      Returns true if the x-axis gridlines are visible, and false otherwise.
      boolean isXAxisInverted()
      Returns true if the x-axis is inverted, and false otherwise.
      boolean isXAxisNegativeArrowVisible()
      Returns a flag that controls whether or not an arrow-head is displayed at the negative end of the x-axis.
      boolean isXAxisPositiveArrowVisible()
      Returns a flag that controls whether or not an arrow-head is displayed at the positive end of the x-axis.
      boolean isYAxisGridlinesVisible()
      Returns true if the y-axis gridlines are visible, and false otherwise.
      boolean isYAxisInverted()
      Returns true if the y-axis is inverted, and false otherwise.
      boolean isYAxisNegativeArrowVisible()
      Returns a flag that controls whether or not an arrow-head is displayed at the negative end of the y-axis.
      boolean isYAxisPositiveArrowVisible()
      Returns a flag that controls whether or not an arrow-head is displayed at the positive end of the y-axis.
      void mouseClicked​(java.awt.event.MouseEvent event)
      If the user clicks on the chart, see if that translates into an event that we report...
      void removeXYItemClickListener​(XYItemClickListener listener)
      Unregisters a listener so that it no longer receives notification of category item clicks.
      void setOrientation​(org.jfree.chart.plot.PlotOrientation orientation)
      Sets the orientation for the plot and fires a PropertyChangeEvent for the orientation property.
      void setToolTipFormat​(java.lang.String format)
      Sets the format string for the section tool tips and fires a PropertyChangeEvent for the toolTipFormat property.
      void setXAxisGridlinePaint​(java.awt.Paint paint)
      Sets the paint for the x-axis gridlines and fires a PropertyChangeEvent for the xAxisGridlinePaint property.
      void setXAxisGridlinesVisible​(boolean visible)
      Sets a flag that controls whether or not the x-axis gridlines are drawn and fires a PropertyChangeEvent for the xAxisGridlinesVisible property.
      void setXAxisInverted​(boolean inverted)
      Sets a flag that controls whether or not the x-axis is inverted and fires a PropertyChangeEvent for the xAxisInverted property.
      void setXAxisLabel​(java.lang.String label)
      Sets the x-axis label and fires a PropertyChangeEvent for the xAxisLabel property.
      void setXAxisLabelFont​(java.awt.Font font)
      Sets the font for the x-axis label and fires a PropertyChangeEvent for the xAxisLabelFont property.
      void setXAxisLabelPaint​(java.awt.Paint paint)
      Sets the paint for the x-axis label and fires a PropertyChangeEvent for the xAxisLabelPaint property.
      void setXAxisLocation​(org.jfree.chart.axis.AxisLocation location)
      Sets the axis location for the x-axis and fires a PropertyChangeEvent for the xAxisLocation argument.
      void setXAxisLowerMargin​(double margin)
      Sets the lower margin for the x-axis and fires a PropertyChangeEvent for the xAxisLowerMargin property.
      void setXAxisNegativeArrowVisible​(boolean visible)
      Sets the flag that controls whether or not an arrow-head is displayed at the negative end of the x-axis and fires a PropertyChangeEvent for the xAxisNegativeArrowVisible property.
      void setXAxisPositiveArrowVisible​(boolean visible)
      Sets the flag that controls whether or not an arrow-head is displayed at the positive end of the y-axis and fires a PropertyChangeEvent for the yAxisPositiveArrowVisible property.
      void setXAxisTickLabelFont​(java.awt.Font font)
      Sets the font for the x-axis tick labels and fires a PropertyChangeEvent for the xAxisTickLabelFont property.
      void setXAxisTickLabelPaint​(java.awt.Paint paint)
      Sets the paint for the x-axis tick labels and fires a PropertyChangeEvent for the xAxisTickLabelPaint property.
      void setXAxisUpperMargin​(double margin)
      Sets the upper margin for the x-axis and fires a PropertyChangeEvent for the xAxisUpperMargin property.
      void setYAxisAutoRangeIncludesZero​(boolean include)
      Sets the flag that controls whether or not the auto range calculation is forced to include zero, and fires a PropertyChangeEvent for the yAxisAutoRangeIncludesZero property.
      void setYAxisGridlinePaint​(java.awt.Paint paint)
      Sets the y-axis gridline paint and fires a PropertyChangeEvent for the yAxisGridlinePaint property.
      void setYAxisGridlinesVisible​(boolean visible)
      Sets a flag that controls whether or not the y-axis gridlines are drawn and fires a PropertyChangeEvent for the yAxisGridlinesVisible property.
      void setYAxisInverted​(boolean inverted)
      Sets a flag that controls whether or not the y-axis is inverted and fires a PropertyChangeEvent for the yAxisInverted property.
      void setYAxisLabel​(java.lang.String label)
      Sets the y-axis label and fires a PropertyChangeEvent for the yAxisLabel property.
      void setYAxisLabelFont​(java.awt.Font font)
      Sets the font for the y-axis label and fires a PropertyChangeEvent for the yAxisLabelFont property.
      void setYAxisLabelPaint​(java.awt.Paint paint)
      Sets the paint for the y-axis label and fires a PropertyChangeEvent for the yAxisLabelPaint property.
      void setYAxisLocation​(org.jfree.chart.axis.AxisLocation location)
      Sets the axis location for the y-axis and fires a PropertyChangeEvent for the yAxisLocation property.
      void setYAxisLowerMargin​(double margin)
      Sets the lower margin for the y-axis and fires a PropertyChangeEvent for the yAxisLowerMargin property.
      void setYAxisNegativeArrowVisible​(boolean visible)
      Sets the flag that controls whether or not an arrow-head is displayed at the negative end of the y-axis and fires a PropertyChangeEvent for the yAxisNegativeArrowVisible property.
      void setYAxisPositiveArrowVisible​(boolean visible)
      Sets the flag that controls whether or not an arrow-head is displayed at the positive end of the y-axis and fires a PropertyChangeEvent for the yAxisPositiveArrowVisible property.
      void setYAxisScale​(AxisScale scale)
      Sets the scale type for the y-axis and fires a PropertyChangeEvent for the yAxisScale property.
      void setYAxisTickLabelFont​(java.awt.Font font)
      Sets the font for the y-axis tick labels and fires a PropertyChangeEvent for the yAxisTickLabelFont property.
      void setYAxisTickLabelPaint​(java.awt.Paint paint)
      Sets the paint for the y-axis tick labels and fires a PropertyChangeEvent for the yAxisTickLabelPaint property.
      void setYAxisUpperMargin​(double margin)
      Sets the upper margin for the y-axis and fires a PropertyChangeEvent for the yAxisUpperMargin property.
      • Methods inherited from class javax.swing.JComponent

        addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getTopLevelAncestor, getTransferHandler, getUI, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintImmediately, paintImmediately, paramString, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update, updateUI
      • Methods inherited from class java.awt.Container

        add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
      • Methods inherited from class java.awt.Component

        action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMixingCutoutShape, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • setOrientation

        public void setOrientation​(org.jfree.chart.plot.PlotOrientation orientation)
        Sets the orientation for the plot and fires a PropertyChangeEvent for the orientation property.
        Parameters:
        orientation - the orientation (null not permitted).
        See Also:
        setOrientation(PlotOrientation)
      • setXAxisLabel

        public void setXAxisLabel​(java.lang.String label)
        Sets the x-axis label and fires a PropertyChangeEvent for the xAxisLabel property.
        Parameters:
        label - the new label.
        See Also:
        getXAxisLabel()
      • setXAxisLabelFont

        public void setXAxisLabelFont​(java.awt.Font font)
        Sets the font for the x-axis label and fires a PropertyChangeEvent for the xAxisLabelFont property.
        Parameters:
        font - the font (null not permitted).
        See Also:
        getXAxisLabelFont()
      • setXAxisLabelPaint

        public void setXAxisLabelPaint​(java.awt.Paint paint)
        Sets the paint for the x-axis label and fires a PropertyChangeEvent for the xAxisLabelPaint property.
        Parameters:
        paint - the paint (null not permitted).
        See Also:
        getXAxisLabelPaint()
      • setXAxisInverted

        public void setXAxisInverted​(boolean inverted)
        Sets a flag that controls whether or not the x-axis is inverted and fires a PropertyChangeEvent for the xAxisInverted property.
        Parameters:
        inverted - the new flag value.
        See Also:
        isXAxisInverted()
      • setXAxisLowerMargin

        public void setXAxisLowerMargin​(double margin)
        Sets the lower margin for the x-axis and fires a PropertyChangeEvent for the xAxisLowerMargin property.
        Parameters:
        margin - the margin.
        See Also:
        getXAxisLowerMargin()
      • setXAxisUpperMargin

        public void setXAxisUpperMargin​(double margin)
        Sets the upper margin for the x-axis and fires a PropertyChangeEvent for the xAxisUpperMargin property.
        Parameters:
        margin - the margin.
        See Also:
        getXAxisUpperMargin()
      • setXAxisGridlinesVisible

        public void setXAxisGridlinesVisible​(boolean visible)
        Sets a flag that controls whether or not the x-axis gridlines are drawn and fires a PropertyChangeEvent for the xAxisGridlinesVisible property.
        Parameters:
        visible - the new flag value.
        See Also:
        isXAxisGridlinesVisible()
      • setXAxisTickLabelFont

        public void setXAxisTickLabelFont​(java.awt.Font font)
        Sets the font for the x-axis tick labels and fires a PropertyChangeEvent for the xAxisTickLabelFont property.
        Parameters:
        font - the font (null not permitted).
        See Also:
        getXAxisTickLabelFont()
      • setXAxisTickLabelPaint

        public void setXAxisTickLabelPaint​(java.awt.Paint paint)
        Sets the paint for the x-axis tick labels and fires a PropertyChangeEvent for the xAxisTickLabelPaint property.
        Parameters:
        paint - the paint (null not permitted).
        See Also:
        getXAxisTickLabelPaint()
      • setYAxisLabel

        public void setYAxisLabel​(java.lang.String label)
        Sets the y-axis label and fires a PropertyChangeEvent for the yAxisLabel property.
        Parameters:
        label - the label.
        See Also:
        getYAxisLabel()
      • setYAxisLabelFont

        public void setYAxisLabelFont​(java.awt.Font font)
        Sets the font for the y-axis label and fires a PropertyChangeEvent for the yAxisLabelFont property.
        Parameters:
        font - the font (null not permitted).
        See Also:
        getYAxisLabelFont()
      • setYAxisLabelPaint

        public void setYAxisLabelPaint​(java.awt.Paint paint)
        Sets the paint for the y-axis label and fires a PropertyChangeEvent for the yAxisLabelPaint property.
        Parameters:
        paint - the paint (null not permitted).
        See Also:
        getYAxisLabelPaint()
      • setYAxisScale

        public void setYAxisScale​(AxisScale scale)
        Sets the scale type for the y-axis and fires a PropertyChangeEvent for the yAxisScale property.
        Parameters:
        scale - the scale type.
        See Also:
        getYAxisScale()
      • setYAxisInverted

        public void setYAxisInverted​(boolean inverted)
        Sets a flag that controls whether or not the y-axis is inverted and fires a PropertyChangeEvent for the yAxisInverted property.
        Parameters:
        inverted - the new flag value.
        See Also:
        isYAxisInverted()
      • setYAxisAutoRangeIncludesZero

        public void setYAxisAutoRangeIncludesZero​(boolean include)
        Sets the flag that controls whether or not the auto range calculation is forced to include zero, and fires a PropertyChangeEvent for the yAxisAutoRangeIncludesZero property.
        Parameters:
        include - the new flag value.
        See Also:
        getYAxisAutoRangeIncludesZero()
      • setYAxisLowerMargin

        public void setYAxisLowerMargin​(double margin)
        Sets the lower margin for the y-axis and fires a PropertyChangeEvent for the yAxisLowerMargin property.
        Parameters:
        margin - the margin.
        See Also:
        getYAxisLowerMargin()
      • setYAxisUpperMargin

        public void setYAxisUpperMargin​(double margin)
        Sets the upper margin for the y-axis and fires a PropertyChangeEvent for the yAxisUpperMargin property.
        Parameters:
        margin - the margin.
        See Also:
        getYAxisUpperMargin()
      • setYAxisGridlinesVisible

        public void setYAxisGridlinesVisible​(boolean visible)
        Sets a flag that controls whether or not the y-axis gridlines are drawn and fires a PropertyChangeEvent for the yAxisGridlinesVisible property.
        Parameters:
        visible - the new flag value.
        See Also:
        isYAxisGridlinesVisible()
      • setXAxisGridlinePaint

        public void setXAxisGridlinePaint​(java.awt.Paint paint)
        Sets the paint for the x-axis gridlines and fires a PropertyChangeEvent for the xAxisGridlinePaint property.
        Parameters:
        paint - the paint.
        See Also:
        getXAxisGridlinePaint()
      • setYAxisGridlinePaint

        public void setYAxisGridlinePaint​(java.awt.Paint paint)
        Sets the y-axis gridline paint and fires a PropertyChangeEvent for the yAxisGridlinePaint property.
        Parameters:
        paint - the paint.
        See Also:
        getYAxisGridlinePaint()
      • setYAxisTickLabelFont

        public void setYAxisTickLabelFont​(java.awt.Font font)
        Sets the font for the y-axis tick labels and fires a PropertyChangeEvent for the yAxisTickLabelFont property.
        Parameters:
        font - the font (null not permitted).
        See Also:
        getYAxisTickLabelFont()
      • setYAxisTickLabelPaint

        public void setYAxisTickLabelPaint​(java.awt.Paint paint)
        Sets the paint for the y-axis tick labels and fires a PropertyChangeEvent for the yAxisTickLabelPaint property.
        Parameters:
        paint - the paint (null not permitted).
        See Also:
        getYAxisTickLabelPaint()
      • setXAxisLocation

        public void setXAxisLocation​(org.jfree.chart.axis.AxisLocation location)
        Sets the axis location for the x-axis and fires a PropertyChangeEvent for the xAxisLocation argument.
        Parameters:
        location - the location (null not permitted).
        See Also:
        getXAxisLocation()
      • setYAxisLocation

        public void setYAxisLocation​(org.jfree.chart.axis.AxisLocation location)
        Sets the axis location for the y-axis and fires a PropertyChangeEvent for the yAxisLocation property.
        Parameters:
        location - the location (null not permitted).
        See Also:
        getYAxisLocation()
      • setToolTipFormat

        public void setToolTipFormat​(java.lang.String format)
        Sets the format string for the section tool tips and fires a PropertyChangeEvent for the toolTipFormat property.
        Parameters:
        format - the format string.
        See Also:
        getToolTipFormat()
      • setXAxisPositiveArrowVisible

        public void setXAxisPositiveArrowVisible​(boolean visible)
        Sets the flag that controls whether or not an arrow-head is displayed at the positive end of the y-axis and fires a PropertyChangeEvent for the yAxisPositiveArrowVisible property.
        Parameters:
        visible - the new flag value.
        See Also:
        isYAxisPositiveArrowVisible()
      • setXAxisNegativeArrowVisible

        public void setXAxisNegativeArrowVisible​(boolean visible)
        Sets the flag that controls whether or not an arrow-head is displayed at the negative end of the x-axis and fires a PropertyChangeEvent for the xAxisNegativeArrowVisible property.
        Parameters:
        visible - the new flag value.
        See Also:
        isXAxisNegativeArrowVisible()
      • setYAxisPositiveArrowVisible

        public void setYAxisPositiveArrowVisible​(boolean visible)
        Sets the flag that controls whether or not an arrow-head is displayed at the positive end of the y-axis and fires a PropertyChangeEvent for the yAxisPositiveArrowVisible property.
        Parameters:
        visible - the new flag value.
        See Also:
        isYAxisPositiveArrowVisible()
      • setYAxisNegativeArrowVisible

        public void setYAxisNegativeArrowVisible​(boolean visible)
        Sets the flag that controls whether or not an arrow-head is displayed at the negative end of the y-axis and fires a PropertyChangeEvent for the yAxisNegativeArrowVisible property.
        Parameters:
        visible - the new flag value.
        See Also:
        isYAxisNegativeArrowVisible()
      • addXYItemClickListener

        public void addXYItemClickListener​(XYItemClickListener listener)
        Registers a listener to receive notification of category item clicks.
        Parameters:
        listener - the listener (null not permitted).
      • removeXYItemClickListener

        public void removeXYItemClickListener​(XYItemClickListener listener)
        Unregisters a listener so that it no longer receives notification of category item clicks.
        Parameters:
        listener - the listener (null not permitted).
      • mouseClicked

        public void mouseClicked​(java.awt.event.MouseEvent event)
        If the user clicks on the chart, see if that translates into an event that we report...
        Specified by:
        mouseClicked in interface java.awt.event.MouseListener
        Overrides:
        mouseClicked in class AbstractChart
        Parameters:
        event - the event.