Style Intelligence v12.0

inetsoft.graph.guide.form
Class PercentageStrategy

java.lang.Object
  extended by inetsoft.graph.guide.form.TargetStrategy
      extended by inetsoft.graph.guide.form.PercentageStrategy

public class PercentageStrategy
extends TargetStrategy

Calculates percentiles


Field Summary
 
Fields inherited from class inetsoft.graph.guide.form.TargetStrategy
sortedIndices
 
Constructor Summary
PercentageStrategy()
          Convenience Constructor
PercentageStrategy(Collection percentages, TargetParameter aggregate)
          Collection constructor
 
Method Summary
protected  String[] generateDefaultLabels(double[] bandBoundaries, boolean dateTarget)
          Generate labels for boundary lines using the line boundaries
protected  double[] getRuntimeBoundaries(double[] data)
          Generate the runtime boundary values in original order
protected  void reorderValues(Integer[] indices)
           
 
Methods inherited from class inetsoft.graph.guide.form.TargetStrategy
calculateBoundaries, generateLabels
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PercentageStrategy

public PercentageStrategy()
Convenience Constructor


PercentageStrategy

public PercentageStrategy(Collection percentages,
                          TargetParameter aggregate)
Collection constructor

Method Detail

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

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