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

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

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

origin: jfree/jfreechart

/**
 * Returns the lower and upper bounds (range) of the x-values in the
 * specified dataset.
 *
 * @param dataset  the dataset ({@code null} permitted).
 * @param includeInterval  include the interval (if any) for the dataset?
 *
 * @return The range ({@code null} if the dataset is {@code null}
 *         or empty).
 *
 * @since 1.0.13
 */
protected Range findDomainBounds(XYDataset dataset,
    boolean includeInterval) {
  if (dataset == null) {
    return null;
  }
  if (getDataBoundsIncludesVisibleSeriesOnly()) {
    List visibleSeriesKeys = new ArrayList();
    int seriesCount = dataset.getSeriesCount();
    for (int s = 0; s < seriesCount; s++) {
      if (isSeriesVisible(s)) {
        visibleSeriesKeys.add(dataset.getSeriesKey(s));
      }
    }
    return DatasetUtils.findDomainBounds(dataset,
        visibleSeriesKeys, includeInterval);
  }
  return DatasetUtils.findDomainBounds(dataset, includeInterval);
}
origin: org.codehaus.jtstand/jtstand-chart

int seriesCount = dataset.getSeriesCount();
for (int s = 0; s < seriesCount; s++) {
  if (isSeriesVisible(s)) {
    visibleSeriesKeys.add(dataset.getSeriesKey(s));
origin: jfree/jfreechart

int seriesCount = dataset.getSeriesCount();
for (int s = 0; s < seriesCount; s++) {
  if (isSeriesVisible(s)) {
    visibleSeriesKeys.add(dataset.getSeriesKey(s));
origin: org.codehaus.jtstand/jtstand-chart

int seriesCount = dataset.getSeriesCount();
for (int s = 0; s < seriesCount; s++) {
  if (isSeriesVisible(s)) {
    visibleSeriesKeys.add(dataset.getSeriesKey(s));
org.jfree.chart.renderer.xyAbstractXYItemRendererisSeriesVisible

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
  • 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
  • findRangeBounds,
  • 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 17 PhpStorm 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