Tabnine Logo
AbstractXYItemRenderer.addAnnotation
Code IndexAdd Tabnine to your IDE (free)

How to use
addAnnotation
method
in
org.jfree.chart.renderer.xy.AbstractXYItemRenderer

Best Java code snippets using org.jfree.chart.renderer.xy.AbstractXYItemRenderer.addAnnotation (Showing top 2 results out of 315)

origin: jfree/jfreechart

/**
 * Adds an annotation and sends a {@link RendererChangeEvent} to all
 * registered listeners.  The annotation is added to the foreground
 * layer.
 *
 * @param annotation  the annotation ({@code null} not permitted).
 */
@Override
public void addAnnotation(XYAnnotation annotation) {
  // defer argument checking
  addAnnotation(annotation, Layer.FOREGROUND);
}
origin: org.codehaus.jtstand/jtstand-chart

/**
 * Adds an annotation and sends a {@link RendererChangeEvent} to all
 * registered listeners.  The annotation is added to the foreground
 * layer.
 *
 * @param annotation  the annotation (<code>null</code> not permitted).
 */
public void addAnnotation(XYAnnotation annotation) {
  // defer argument checking
  addAnnotation(annotation, Layer.FOREGROUND);
}
org.jfree.chart.renderer.xyAbstractXYItemRendereraddAnnotation

Javadoc

Adds an annotation and sends a RendererChangeEvent to all registered listeners. The annotation is added to the foreground layer.

Popular methods of AbstractXYItemRenderer

  • getLegendItem
    Returns a default legend item for the specified series. Subclasses should override this method to ge
  • initialise
    Initialises the renderer and returns a state object that should be passed to all subsequent calls to
  • calculateDomainMarkerTextAnchorPoint
    Calculates the (x, y) coordinates for drawing a marker label.
  • calculateLabelAnchorPoint
  • calculateRangeMarkerTextAnchorPoint
    Calculates the (x, y) coordinates for drawing a marker label.
  • clone
    Returns a clone of the renderer.
  • drawDomainLine
    Draws a line perpendicular to the domain axis.
  • equals
    Tests this renderer for equality with another object.
  • findDomainBounds
    Returns the lower and upper bounds (range) of the x-values in the specified dataset.
  • findRangeBounds
    Returns the range of values the renderer requires to display all the items from the specified datase
  • fireChangeEvent
  • getAnnotations
    Returns a collection of the annotations that are assigned to the renderer.
  • fireChangeEvent,
  • getAnnotations,
  • getDataBoundsIncludesVisibleSeriesOnly,
  • getDefaultEntityRadius,
  • getItemCreateEntity,
  • getItemLabelFont,
  • getItemLabelGenerator,
  • getItemLabelPaint,
  • getLegendItemToolTipGenerator

Popular in Java

  • Reading from database using SQL prepared statement
  • getResourceAsStream (ClassLoader)
  • getExternalFilesDir (Context)
  • getApplicationContext (Context)
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • Permission (java.security)
    Legacy security code; do not use.
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now