com.pmease.quickbuild.web.chart
Class ChartUtils
java.lang.Object
com.pmease.quickbuild.web.chart.ChartUtils
public class ChartUtils
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
ChartUtils
public ChartUtils()
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.