code: protected double getRange(ValueDimension dim) {
  		return zeroBased ? diagram.getValues(dim).max().doubleValue() : diagram.getValues(dim).range();
  	}
docs: Returns the range of the maintained values for the given dimension.
  @param dim Reference dimension for range extraction
  @return Range of the maintained values for the given dimension