inetsoft.graph.guide.form
Class PercentileStrategy
java.lang.Object
inetsoft.graph.guide.form.TargetStrategy
inetsoft.graph.guide.form.PercentileStrategy
public class PercentileStrategy
- extends TargetStrategy
Calculates percentiles
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PercentileStrategy
public PercentileStrategy()
- Convenience Constructor.
PercentileStrategy
public PercentileStrategy(LinkedList percentiles)
- Build from an array of Strings.
getRuntimeBoundaries
protected double[] getRuntimeBoundaries(double[] data)
- Generate the runtime boundary values in original order.
- Specified by:
getRuntimeBoundaries in class TargetStrategy
- Returns:
reorderValues
protected void reorderValues(Integer[] indices)
- Specified by:
reorderValues in class TargetStrategy
generateDefaultLabels
protected String[] generateDefaultLabels(double[] bandBoundaries,
boolean dateTarget)
- Generate labels for boundary lines using the line boundaries.
- Specified by:
generateDefaultLabels in class TargetStrategy