Logo Search packages:      
Sourcecode: libjfreechart-java version File versions  Download package

Range org::jfree::chart::renderer::xy::XYBarRenderer::findDomainBounds ( XYDataset  dataset  )  [inline]

Returns the lower and upper bounds (range) of the x-values in the specified dataset. Since this renderer uses the x-interval in the dataset, this is taken into account for the range.

Parameters:
dataset the dataset (null permitted).
Returns:
The range (null if the dataset is null or empty).

Reimplemented from org::jfree::chart::renderer::xy::AbstractXYItemRenderer.

Reimplemented in org::jfree::chart::renderer::xy::ClusteredXYBarRenderer.

Definition at line 922 of file XYBarRenderer.java.

                                                     {
        if (dataset != null) {
            return DatasetUtilities.findDomainBounds(dataset, true);
        }
        else {
            return null;
        }
    }


Generated by  Doxygen 1.6.0   Back to index