Style Intelligence v12.0

inetsoft.graph.scale
Class LinearRange

java.lang.Object
  extended by inetsoft.graph.scale.AbstractScaleRange
      extended by inetsoft.graph.scale.LinearRange
All Implemented Interfaces:
ScaleRange, Serializable, Cloneable

public class LinearRange
extends AbstractScaleRange

Calculate the range by taking the minimum and maximum of all data.

See Also:
Serialized Form

Constructor Summary
LinearRange()
           
 
Method Summary
 double[] calculate(DataSet data, String[] cols)
          Calculate the range of values of the specified columns.
 
Methods inherited from class inetsoft.graph.scale.AbstractScaleRange
getValue, isAbsoluteValue, setAbsoluteValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinearRange

public LinearRange()
Method Detail

calculate

public double[] calculate(DataSet data,
                          String[] cols)
Description copied from interface: ScaleRange
Calculate the range of values of the specified columns.

Parameters:
data - the dataset.
cols - the numeric columns to find range values.
Returns:
an array of two values, minimum and maximum of the range.

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.