congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
AbstractXYItemRenderer.initialise
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: geotools/geotools

@Override
public XYItemRendererState initialise(
    Graphics2D g2,
    Rectangle2D dataArea,
    XYPlot plot,
    XYDataset data,
    PlotRenderingInfo info) {
  return super.initialise(g2, dataArea, plot, data, info);
}
origin: org.geotools/gt-charts

@Override
public XYItemRendererState initialise(Graphics2D g2, Rectangle2D dataArea, XYPlot plot,
    XYDataset data, PlotRenderingInfo info) {
  
  return super.initialise(g2, dataArea, plot, data, info);
}

origin: jfree/jfreechart

/**
 * Initialises the renderer and returns a state object that should be
 * passed to subsequent calls to the drawItem() method.  This method will
 * be called before the first item is rendered, giving the renderer an
 * opportunity to initialise any state information it wants to maintain.
 * The renderer can do nothing if it chooses.
 *
 * @param g2  the graphics device.
 * @param dataArea  the area inside the axes.
 * @param plot  the plot.
 * @param data  the data.
 * @param info  an optional info collection object to return data back to
 *              the caller.
 *
 * @return A state object.
 */
@Override
public XYItemRendererState initialise(Graphics2D g2, Rectangle2D dataArea,
    XYPlot plot, XYDataset data, PlotRenderingInfo info) {
  XYItemRendererState state = super.initialise(g2, dataArea, plot, data,
      info);
  state.setProcessVisibleItemsOnly(false);
  return state;
}
origin: jfree/jfreechart

/**
 * Initialises the renderer.  Here we calculate the Java2D y-coordinate for
 * zero, since all the bars have their bases fixed at zero.
 *
 * @param g2  the graphics device.
 * @param dataArea  the area inside the axes.
 * @param plot  the plot.
 * @param data  the data.
 * @param info  an optional info collection object to return data back to
 *              the caller.
 *
 * @return The number of passes required by the renderer.
 */
@Override
public XYItemRendererState initialise(Graphics2D g2, Rectangle2D dataArea,
    XYPlot plot, XYDataset data, PlotRenderingInfo info) {
  XYItemRendererState state = super.initialise(g2, dataArea, plot, data,
      info);
  // disable visible items optimisation - it doesn't work for this
  // renderer...
  state.setProcessVisibleItemsOnly(false);
  return state;
}
origin: org.codehaus.jtstand/jtstand-chart

/**
 * Initialises the renderer.  Here we calculate the Java2D y-coordinate for
 * zero, since all the bars have their bases fixed at zero.
 *
 * @param g2  the graphics device.
 * @param dataArea  the area inside the axes.
 * @param plot  the plot.
 * @param data  the data.
 * @param info  an optional info collection object to return data back to
 *              the caller.
 *
 * @return The number of passes required by the renderer.
 */
public XYItemRendererState initialise(Graphics2D g2,
                   Rectangle2D dataArea,
                   XYPlot plot,
                   XYDataset data,
                   PlotRenderingInfo info) {
  XYItemRendererState state = super.initialise(g2, dataArea, plot, data,
      info);
  // disable visible items optimisation - it doesn't work for this
  // renderer...
  state.setProcessVisibleItemsOnly(false);
  return state;
}
origin: org.codehaus.jtstand/jtstand-chart

/**
 * Initialises the renderer and returns a state object that should be
 * passed to subsequent calls to the drawItem() method.  This method will
 * be called before the first item is rendered, giving the renderer an
 * opportunity to initialise any state information it wants to maintain.
 * The renderer can do nothing if it chooses.
 *
 * @param g2  the graphics device.
 * @param dataArea  the area inside the axes.
 * @param plot  the plot.
 * @param data  the data.
 * @param info  an optional info collection object to return data back to
 *              the caller.
 *
 * @return A state object.
 */
public XYItemRendererState initialise(Graphics2D g2,
                   Rectangle2D dataArea,
                   XYPlot plot,
                   XYDataset data,
                   PlotRenderingInfo info) {
  XYItemRendererState state = super.initialise(g2, dataArea, plot, data,
      info);
  state.setProcessVisibleItemsOnly(false);
  return state;
}
org.jfree.chart.renderer.xyAbstractXYItemRendererinitialise

Javadoc

Initialises the renderer and returns a state object that should be passed to all subsequent calls to the drawItem() method.

This method will be called before the first item is rendered, giving the renderer an opportunity to initialise any state information it wants to maintain. The renderer can do nothing if it chooses.

Popular methods of AbstractXYItemRenderer

  • getLegendItem
    Returns a default legend item for the specified series. Subclasses should override this method to ge
  • addAnnotation
    Adds an annotation to the specified layer and sends a RendererChangeEvent to all registered listener
  • 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

  • Reactive rest calls using spring rest template
  • findViewById (Activity)
  • getContentResolver (Context)
  • setRequestProperty (URLConnection)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • 21 Best IntelliJ Plugins
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