com.pmease.quickbuild.web.chart
Class ChartUtils

java.lang.Object
  extended by com.pmease.quickbuild.web.chart.ChartUtils

public class ChartUtils
extends java.lang.Object


Field Summary
static java.lang.String DATE
           
static java.awt.Color DEFAULT_BLUE
           
static java.awt.Color[] DEFAULT_COLORS
           
static int DEFAULT_HEIGHT
           
static int DEFAULT_WIDTH
           
static java.awt.Color DEFAULT_YELLOW
           
static java.lang.String FLOAT
           
static java.lang.String INTEGER
           
static java.lang.String PERCENT
           
static java.lang.String TEXT
           
static java.lang.String TIMESTAMP
           
 
Constructor Summary
ChartUtils()
           
 
Method Summary
static void addSubTitle(org.jfree.chart.JFreeChart chart, java.lang.String subTitle)
           
static java.util.Date getCurrentMonday()
           
static java.awt.Font getFont(int size, boolean bold)
           
static java.text.SimpleDateFormat getLongDateFormat()
           
static java.util.Date getMondayOfTheDay(java.util.Date theDay)
           
static java.text.NumberFormat getNumberFormat(java.lang.String dataType)
           
static java.awt.Shape getPrimaryShape()
           
static java.awt.Stroke getPrimaryStroke()
           
static java.awt.Shape getSecondaryShape()
           
static java.awt.Stroke getSecondaryStroke()
           
static java.text.SimpleDateFormat getShortDateFormat()
           
static void initDefaultPieChart(org.jfree.chart.plot.PiePlot plot)
           
static void setTitle(org.jfree.chart.JFreeChart chart, java.lang.String title)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_BLUE

public static final java.awt.Color DEFAULT_BLUE

DEFAULT_YELLOW

public static final java.awt.Color DEFAULT_YELLOW

DEFAULT_WIDTH

public static final int DEFAULT_WIDTH
See Also:
Constant Field Values

DEFAULT_HEIGHT

public static final int DEFAULT_HEIGHT
See Also:
Constant Field Values

INTEGER

public static final java.lang.String INTEGER
See Also:
Constant Field Values

FLOAT

public static final java.lang.String FLOAT
See Also:
Constant Field Values

PERCENT

public static final java.lang.String PERCENT
See Also:
Constant Field Values

DATE

public static final java.lang.String DATE
See Also:
Constant Field Values

TEXT

public static final java.lang.String TEXT
See Also:
Constant Field Values

TIMESTAMP

public static final java.lang.String TIMESTAMP
See Also:
Constant Field Values

DEFAULT_COLORS

public static final java.awt.Color[] DEFAULT_COLORS
Constructor Detail

ChartUtils

public ChartUtils()
Method Detail

getFont

public static java.awt.Font getFont(int size,
                                    boolean bold)

getLongDateFormat

public static java.text.SimpleDateFormat getLongDateFormat()

getShortDateFormat

public static java.text.SimpleDateFormat getShortDateFormat()

getNumberFormat

public static java.text.NumberFormat getNumberFormat(java.lang.String dataType)

setTitle

public static void setTitle(org.jfree.chart.JFreeChart chart,
                            java.lang.String title)

addSubTitle

public static void addSubTitle(org.jfree.chart.JFreeChart chart,
                               java.lang.String subTitle)

getPrimaryShape

public static java.awt.Shape getPrimaryShape()

getSecondaryShape

public static java.awt.Shape getSecondaryShape()

getPrimaryStroke

public static java.awt.Stroke getPrimaryStroke()

getSecondaryStroke

public static java.awt.Stroke getSecondaryStroke()

getMondayOfTheDay

public static java.util.Date getMondayOfTheDay(java.util.Date theDay)

getCurrentMonday

public static java.util.Date getCurrentMonday()

initDefaultPieChart

public static void initDefaultPieChart(org.jfree.chart.plot.PiePlot plot)


Copyright © 2005-2010 PMEase Inc. All Rights Reserved.