Example usage for org.jfree.data.general DatasetUtilities iterateDomainBounds

List of usage examples for org.jfree.data.general DatasetUtilities iterateDomainBounds

Introduction

In this page you can find the example usage for org.jfree.data.general DatasetUtilities iterateDomainBounds.

Prototype

public static Range iterateDomainBounds(XYDataset dataset, boolean includeInterval) 

Source Link

Document

Iterates over the items in an XYDataset to find the range of x-values.

Usage

From source file:org.jfree.data.xy.CategoryTableXYDataset.java

/**
 * Returns the range of the values in this dataset's domain.
 *
 * @param includeInterval  a flag that determines whether or not the
 *                         x-interval is taken into account.
 *
 * @return The range./*w w w .  j  ava  2  s  . c om*/
 */
@Override
public Range getDomainBounds(boolean includeInterval) {
    if (includeInterval) {
        return this.intervalDelegate.getDomainBounds(includeInterval);
    } else {
        return DatasetUtilities.iterateDomainBounds(this, includeInterval);
    }
}