Style Intelligence v12.0

inetsoft.graph.guide.form
Class PercentileStrategy

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

public class PercentileStrategy
extends TargetStrategy

Calculates percentiles


Field Summary
 
Fields inherited from class inetsoft.graph.guide.form.TargetStrategy
sortedIndices
 
Constructor Summary
PercentileStrategy()
          Convenience Constructor.
PercentileStrategy(LinkedList percentiles)
          Build from an array of Strings.
 
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

PercentileStrategy

public PercentileStrategy()
Convenience Constructor.


PercentileStrategy

public PercentileStrategy(LinkedList percentiles)
Build from an array of Strings.

Method Detail

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

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