Many renderers provide a way to find the range or domain boundaries for a given dataset (useful for axis' autorange for example). The XYShapeRenderer also does so, but misses a method for obtaining the boundaries of the z-values from the XYZDataset. This patch adds such a method in XYShapeRenderer (including a JUnit test), and some methods in DatasetUtilities analogous to the method for obtaining domain and range boundaries.
This is especially useful in preparation for dynamic PaintScales.
Add methods for obtaining z-boundaries from XYZDataset
Thanks Martin! I committed your patch for the next release.