Tabnine Logo
CombinedRangeXYPlot.getSubplots
Code IndexAdd Tabnine to your IDE (free)

How to use
getSubplots
method
in
org.jfree.chart.plot.CombinedRangeXYPlot

Best Java code snippets using org.jfree.chart.plot.CombinedRangeXYPlot.getSubplots (Showing top 6 results out of 315)

origin: jfree/jfreechart

/**
 * Multiplies the range on the domain axis/axes by the specified factor.
 *
 * @param factor  the zoom factor.
 * @param info  the plot rendering info ({@code null} not permitted).
 * @param source  the source point ({@code null} not permitted).
 * @param useAnchor  zoom about the anchor point?
 */
@Override
public void zoomDomainAxes(double factor, PlotRenderingInfo info,
              Point2D source, boolean useAnchor) {
  // delegate 'info' and 'source' argument checks...
  XYPlot subplot = findSubplot(info, source);
  if (subplot != null) {
    subplot.zoomDomainAxes(factor, info, source, useAnchor);
  }
  else {
    // if the source point doesn't fall within a subplot, we do the
    // zoom on all subplots...
    Iterator iterator = getSubplots().iterator();
    while (iterator.hasNext()) {
      subplot = (XYPlot) iterator.next();
      subplot.zoomDomainAxes(factor, info, source, useAnchor);
    }
  }
}
origin: jfree/jfreechart

/**
 * Zooms in on the domain axes.
 *
 * @param lowerPercent  the lower bound.
 * @param upperPercent  the upper bound.
 * @param info  the plot rendering info ({@code null} not permitted).
 * @param source  the source point ({@code null} not permitted).
 */
@Override
public void zoomDomainAxes(double lowerPercent, double upperPercent,
              PlotRenderingInfo info, Point2D source) {
  // delegate 'info' and 'source' argument checks...
  XYPlot subplot = findSubplot(info, source);
  if (subplot != null) {
    subplot.zoomDomainAxes(lowerPercent, upperPercent, info, source);
  }
  else {
    // if the source point doesn't fall within a subplot, we do the
    // zoom on all subplots...
    Iterator iterator = getSubplots().iterator();
    while (iterator.hasNext()) {
      subplot = (XYPlot) iterator.next();
      subplot.zoomDomainAxes(lowerPercent, upperPercent, info,
          source);
    }
  }
}
origin: org.codehaus.jtstand/jtstand-chart

/**
 * Multiplies the range on the domain axis/axes by the specified factor.
 *
 * @param factor  the zoom factor.
 * @param info  the plot rendering info (<code>null</code> not permitted).
 * @param source  the source point (<code>null</code> not permitted).
 * @param useAnchor  zoom about the anchor point?
 */
public void zoomDomainAxes(double factor, PlotRenderingInfo info,
              Point2D source, boolean useAnchor) {
  // delegate 'info' and 'source' argument checks...
  XYPlot subplot = findSubplot(info, source);
  if (subplot != null) {
    subplot.zoomDomainAxes(factor, info, source, useAnchor);
  }
  else {
    // if the source point doesn't fall within a subplot, we do the
    // zoom on all subplots...
    Iterator iterator = getSubplots().iterator();
    while (iterator.hasNext()) {
      subplot = (XYPlot) iterator.next();
      subplot.zoomDomainAxes(factor, info, source, useAnchor);
    }
  }
}
origin: org.codehaus.jtstand/jtstand-chart

/**
 * Zooms in on the domain axes.
 *
 * @param lowerPercent  the lower bound.
 * @param upperPercent  the upper bound.
 * @param info  the plot rendering info (<code>null</code> not permitted).
 * @param source  the source point (<code>null</code> not permitted).
 */
public void zoomDomainAxes(double lowerPercent, double upperPercent,
              PlotRenderingInfo info, Point2D source) {
  // delegate 'info' and 'source' argument checks...
  XYPlot subplot = findSubplot(info, source);
  if (subplot != null) {
    subplot.zoomDomainAxes(lowerPercent, upperPercent, info, source);
  }
  else {
    // if the source point doesn't fall within a subplot, we do the
    // zoom on all subplots...
    Iterator iterator = getSubplots().iterator();
    while (iterator.hasNext()) {
      subplot = (XYPlot) iterator.next();
      subplot.zoomDomainAxes(lowerPercent, upperPercent, info,
          source);
    }
  }
}
origin: jfree/jfreechart

Iterator iterator = cp.getSubplots().iterator();
while (iterator.hasNext()) {
  XYPlot subplot = (XYPlot) iterator.next();
origin: org.codehaus.jtstand/jtstand-chart

Iterator iterator = cp.getSubplots().iterator();
while (iterator.hasNext()) {
  XYPlot subplot = (XYPlot) iterator.next();
org.jfree.chart.plotCombinedRangeXYPlotgetSubplots

Javadoc

Returns the list of subplots. The returned list may be empty, but is never null.

Popular methods of CombinedRangeXYPlot

  • add
    Adds a subplot with a particular weight (greater than or equal to one). The weight determines how mu
  • calculateAxisSpace
    Calculates the space required for the axes.
  • configureRangeAxes
  • findSubplot
    Returns the subplot (if any) that contains the (x, y) point (specified in Java2D space).
  • fireChangeEvent
  • getFixedLegendItems
  • getFixedRangeAxisSpace
  • getInsets
  • getOrientation
  • getRangeAxis
  • getRangeAxisEdge
  • getRangeAxisLocation
  • getRangeAxisEdge,
  • getRangeAxisLocation,
  • notifyListeners,
  • setFixedDomainAxisSpaceForSubplots,
  • zoomDomainAxes,
  • <init>,
  • setNotify,
  • setOrientation

Popular in Java

  • Finding current android device location
  • onRequestPermissionsResult (Fragment)
  • runOnUiThread (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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