/**
* Sets the orientation for the plot (and all its subplots).
*
* @param orientation the orientation.
*/
/**
* Sets the orientation for the plot (and all the subplots).
*
* @param orientation the orientation.
*/
/**
* Sets the orientation for the plot (also changes the orientation for all
* the subplots to match).
*
* @param orientation the orientation (<code>null</code> not allowed).
*/
public void setOrientation(PlotOrientation orientation) {
super.setOrientation(orientation);
Iterator iterator = this.subplots.iterator();
while (iterator.hasNext()) {
[[#variable1aa9a200]] plot = ( [[#variable1aa9a200]]) iterator.next();
plot.setOrientation(orientation);
}
}
/**
* Returns a range representing the extent of the data values in this plot
* (obtained from the subplots) that will be rendered against the specified
* axis. NOTE: This method is intended for internal JFreeChart use, and
* is public only so that code in the axis classes can call it. Since
* only the range axis is shared between subplots, the JFreeChart code
* will only call this method for the range values (although this is not
* checked/enforced).
*
* @param axis the axis.
*
* @return The range.
*/
/**
* Returns a range representing the extent of the data values in this plot
* (obtained from the subplots) that will be rendered against the specified
* axis. NOTE: This method is intended for internal JFreeChart use, and
* is public only so that code in the axis classes can call it. Since
* only the range axis is shared between subplots, the JFreeChart code
* will only call this method for the range values (although this is not
* checked/enforced).
*
* @param axis the axis.
*
* @return The range.
*/
/**
* Returns a range representing the extent of the data values in this plot
* (obtained from the subplots) that will be rendered against the specified
* axis. NOTE: This method is intended for internal JFreeChart use, and
* is public only so that code in the axis classes can call it. Since
* only the domain axis is shared between subplots, the JFreeChart code
* will only call this method for the domain values (although this is not
* checked/enforced).
*
* @param axis the axis.
*
* @return The range (possibly <code>null</code>).
*/
public Range getDataRange(ValueAxis axis) {
Range result = null;
if (this.subplots != null) {
Iterator iterator = this.subplots.iterator();
while (iterator.hasNext()) {
[[#variable1aa9a200]] subplot = ( [[#variable1aa9a200]]) iterator.next();
result = Range.combine(result, subplot.getDataRange(axis));
}
}
return result;
}
|