Venice 0.7beta

org.mov.chart
Class GraphTools

java.lang.Object
  extended by org.mov.chart.GraphTools

public class GraphTools
extends java.lang.Object


Constructor Summary
GraphTools()
           
 
Method Summary
static double getPointFromScale(double point, double offset, double height, double scale)
           
static void renderBar(java.awt.Graphics g, Graphable source, int xoffset, int yoffset, double horizontalScale, double verticalScale, double bottomLineValue, java.util.List xRange)
           
static void renderChar(java.awt.Graphics g, PFGraphable source, int xoffset, int yoffset, double horizontalScale, double verticalScale, double bottomLineValue, java.util.List xRange)
           
static void renderHorizontalLine(java.awt.Graphics g, double yValue, int xoffset, int yoffset, double horizontalScale, double verticalScale, double bottomLineValue, java.util.List xRange)
           
static void renderLine(java.awt.Graphics g, Graphable source, int xoffset, int yoffset, double horizontalScale, double verticalScale, double bottomLineValue, java.util.List xRange)
           
static void renderMarker(java.awt.Graphics g, PFGraphable source, int xoffset, int yoffset, double horizontalScale, double verticalScale, double bottomLineValue, java.util.List xRange)
           
static int scaleAndFitPoint(double point, double offset, double scale)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphTools

public GraphTools()
Method Detail

renderHorizontalLine

public static void renderHorizontalLine(java.awt.Graphics g,
                                        double yValue,
                                        int xoffset,
                                        int yoffset,
                                        double horizontalScale,
                                        double verticalScale,
                                        double bottomLineValue,
                                        java.util.List xRange)

renderLine

public static void renderLine(java.awt.Graphics g,
                              Graphable source,
                              int xoffset,
                              int yoffset,
                              double horizontalScale,
                              double verticalScale,
                              double bottomLineValue,
                              java.util.List xRange)

renderBar

public static void renderBar(java.awt.Graphics g,
                             Graphable source,
                             int xoffset,
                             int yoffset,
                             double horizontalScale,
                             double verticalScale,
                             double bottomLineValue,
                             java.util.List xRange)

scaleAndFitPoint

public static int scaleAndFitPoint(double point,
                                   double offset,
                                   double scale)

getPointFromScale

public static double getPointFromScale(double point,
                                       double offset,
                                       double height,
                                       double scale)

renderChar

public static void renderChar(java.awt.Graphics g,
                              PFGraphable source,
                              int xoffset,
                              int yoffset,
                              double horizontalScale,
                              double verticalScale,
                              double bottomLineValue,
                              java.util.List xRange)

renderMarker

public static void renderMarker(java.awt.Graphics g,
                                PFGraphable source,
                                int xoffset,
                                int yoffset,
                                double horizontalScale,
                                double verticalScale,
                                double bottomLineValue,
                                java.util.List xRange)

Venice 0.7beta