inetsoft.graph.guide.form
Class PercentageStrategy
java.lang.Object
inetsoft.graph.guide.form.TargetStrategy
inetsoft.graph.guide.form.PercentageStrategy
public class PercentageStrategy
- extends TargetStrategy
Calculates percentiles
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PercentageStrategy
public PercentageStrategy()
- Convenience Constructor
PercentageStrategy
public PercentageStrategy(Collection percentages,
TargetParameter aggregate)
- Collection constructor
getRuntimeBoundaries
protected double[] getRuntimeBoundaries(double[] data)
- Generate the runtime boundary values in original order
- Specified by:
getRuntimeBoundaries in class TargetStrategy
- Parameters:
data -
- Returns:
- the calculated boundaries of the target bands
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