org.pentaho.plugin.jfreereport.reportcharts
Class ChartConstants

java.lang.Object
  extended by org.pentaho.plugin.jfreereport.reportcharts.ChartConstants

Deprecated. Do not use this class, do not extend this class. This thing will be removed!

public final class ChartConstants
extends Object

This class is a monolithic mess that was a left over of the chart-component. Therefore it must not be used anymore. A utility method that collects properties and methods which are used in only one class is a sign of bad design.


Field Summary
static String AREA_CHART_STR
          Deprecated.  
static int AREA_CHART_TYPE
          Deprecated.  
static String BAR_CHART_STR
          Deprecated.  
static int BAR_CHART_TYPE
          Deprecated.  
static String BAR_LINE_CHART_STR
          Deprecated.  
static int BAR_LINE_CHART_TYPE
          Deprecated.  
static String BUBBLE_CHART_STR
          Deprecated.  
static int BUBBLE_CHART_TYPE
          Deprecated.  
static String CATAGORY_DATASET_STR
          Deprecated.  
static String DAY_PERIOD_TYPE_STR
          Deprecated.  
static String DIAL_CHART_STR
          Deprecated.  
static int DIAL_CHART_TYPE
          Deprecated.  
static String DIFFERENCE_CHART_STR
          Deprecated.  
static int DIFFERENCE_CHART_TYPE
          Deprecated.  
static String DOT_CHART_STR
          Deprecated.  
static int DOT_CHART_TYPE
          Deprecated.  
static String FIXEDMILLISECOND_PERIOD_TYPE_STR
          Deprecated.  
static String HORIZONTAL_ORIENTATION
          Deprecated.  
static String HOUR_PERIOD_TYPE_STR
          Deprecated.  
static String LINE_CHART_STR
          Deprecated.  
static int LINE_CHART_TYPE
          Deprecated.  
static String LINE_STYLE_DASH_STR
          Deprecated.  
static String LINE_STYLE_DASHDOT_STR
          Deprecated.  
static String LINE_STYLE_DASHDOTDOT_STR
          Deprecated.  
static String LINE_STYLE_DOT_STR
          Deprecated.  
static String LINE_STYLE_SOLID_STR
          Deprecated.  
static String MILLISECOND_PERIOD_TYPE_STR
          Deprecated.  
static String MINUTE_PERIOD_TYPE_STR
          Deprecated.  
static String MONTH_PERIOD_TYPE_STR
          Deprecated.  
static String PIE_CHART_STR
          Deprecated.  
static int PIE_CHART_TYPE
          Deprecated.  
static String PIE_GRID_CHART_STR
          Deprecated.  
static int PIE_GRID_CHART_TYPE
          Deprecated.  
static String QUARTER_PERIOD_TYPE_STR
          Deprecated.  
static String SECOND_PERIOD_TYPE_STR
          Deprecated.  
static String STEP_AREA_CHART_STR
          Deprecated.  
static int STEP_AREA_CHART_TYPE
          Deprecated.  
static String STEP_CHART_STR
          Deprecated.  
static int STEP_CHART_TYPE
          Deprecated.  
static int THERMOMETER_CHART_TYPE
          Deprecated.  
static String TIME_SERIES_COLLECTION_STR
          Deprecated.  
static int UNDEFINED_CHART_TYPE
          Deprecated.  
static String VERTICAL_ORIENTATION
          Deprecated.  
static String WEEK_PERIOD_TYPE_STR
          Deprecated.  
static String XY_SERIES_COLLECTION_STR
          Deprecated.  
static String XYZ_SERIES_COLLECTION_STR
          Deprecated.  
static String YEAR_PERIOD_TYPE_STR
          Deprecated.  
 
Method Summary
static String getChartTypeName(int type)
          Deprecated.  
static Class getTimePeriodClass(String timePeriodStr)
          Deprecated.  
static Stroke translateLineStyle(float lineWidth, String lineStyle)
          Deprecated.  
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DIAL_CHART_STR

public static final String DIAL_CHART_STR
Deprecated. 
See Also:
Constant Field Values

PIE_CHART_STR

public static final String PIE_CHART_STR
Deprecated. 
See Also:
Constant Field Values

PIE_GRID_CHART_STR

public static final String PIE_GRID_CHART_STR
Deprecated. 
See Also:
Constant Field Values

BAR_CHART_STR

public static final String BAR_CHART_STR
Deprecated. 
See Also:
Constant Field Values

LINE_CHART_STR

public static final String LINE_CHART_STR
Deprecated. 
See Also:
Constant Field Values

AREA_CHART_STR

public static final String AREA_CHART_STR
Deprecated. 
See Also:
Constant Field Values

STEP_CHART_STR

public static final String STEP_CHART_STR
Deprecated. 
See Also:
Constant Field Values

STEP_AREA_CHART_STR

public static final String STEP_AREA_CHART_STR
Deprecated. 
See Also:
Constant Field Values

DIFFERENCE_CHART_STR

public static final String DIFFERENCE_CHART_STR
Deprecated. 
See Also:
Constant Field Values

DOT_CHART_STR

public static final String DOT_CHART_STR
Deprecated. 
See Also:
Constant Field Values

BAR_LINE_CHART_STR

public static final String BAR_LINE_CHART_STR
Deprecated. 
See Also:
Constant Field Values

BUBBLE_CHART_STR

public static final String BUBBLE_CHART_STR
Deprecated. 
See Also:
Constant Field Values

UNDEFINED_CHART_TYPE

public static final int UNDEFINED_CHART_TYPE
Deprecated. 
See Also:
Constant Field Values

DIAL_CHART_TYPE

public static final int DIAL_CHART_TYPE
Deprecated. 
See Also:
Constant Field Values

THERMOMETER_CHART_TYPE

public static final int THERMOMETER_CHART_TYPE
Deprecated. 
See Also:
Constant Field Values

PIE_CHART_TYPE

public static final int PIE_CHART_TYPE
Deprecated. 
See Also:
Constant Field Values

PIE_GRID_CHART_TYPE

public static final int PIE_GRID_CHART_TYPE
Deprecated. 
See Also:
Constant Field Values

BAR_CHART_TYPE

public static final int BAR_CHART_TYPE
Deprecated. 
See Also:
Constant Field Values

LINE_CHART_TYPE

public static final int LINE_CHART_TYPE
Deprecated. 
See Also:
Constant Field Values

AREA_CHART_TYPE

public static final int AREA_CHART_TYPE
Deprecated. 
See Also:
Constant Field Values

STEP_CHART_TYPE

public static final int STEP_CHART_TYPE
Deprecated. 
See Also:
Constant Field Values

STEP_AREA_CHART_TYPE

public static final int STEP_AREA_CHART_TYPE
Deprecated. 
See Also:
Constant Field Values

DIFFERENCE_CHART_TYPE

public static final int DIFFERENCE_CHART_TYPE
Deprecated. 
See Also:
Constant Field Values

DOT_CHART_TYPE

public static final int DOT_CHART_TYPE
Deprecated. 
See Also:
Constant Field Values

BAR_LINE_CHART_TYPE

public static final int BAR_LINE_CHART_TYPE
Deprecated. 
See Also:
Constant Field Values

BUBBLE_CHART_TYPE

public static final int BUBBLE_CHART_TYPE
Deprecated. 
See Also:
Constant Field Values

XY_SERIES_COLLECTION_STR

public static final String XY_SERIES_COLLECTION_STR
Deprecated. 
See Also:
Constant Field Values

XYZ_SERIES_COLLECTION_STR

public static final String XYZ_SERIES_COLLECTION_STR
Deprecated. 
See Also:
Constant Field Values

TIME_SERIES_COLLECTION_STR

public static final String TIME_SERIES_COLLECTION_STR
Deprecated. 
See Also:
Constant Field Values

CATAGORY_DATASET_STR

public static final String CATAGORY_DATASET_STR
Deprecated. 
See Also:
Constant Field Values

DAY_PERIOD_TYPE_STR

public static final String DAY_PERIOD_TYPE_STR
Deprecated. 
See Also:
Constant Field Values

FIXEDMILLISECOND_PERIOD_TYPE_STR

public static final String FIXEDMILLISECOND_PERIOD_TYPE_STR
Deprecated. 
See Also:
Constant Field Values

HOUR_PERIOD_TYPE_STR

public static final String HOUR_PERIOD_TYPE_STR
Deprecated. 
See Also:
Constant Field Values

MILLISECOND_PERIOD_TYPE_STR

public static final String MILLISECOND_PERIOD_TYPE_STR
Deprecated. 
See Also:
Constant Field Values

MINUTE_PERIOD_TYPE_STR

public static final String MINUTE_PERIOD_TYPE_STR
Deprecated. 
See Also:
Constant Field Values

MONTH_PERIOD_TYPE_STR

public static final String MONTH_PERIOD_TYPE_STR
Deprecated. 
See Also:
Constant Field Values

QUARTER_PERIOD_TYPE_STR

public static final String QUARTER_PERIOD_TYPE_STR
Deprecated. 
See Also:
Constant Field Values

SECOND_PERIOD_TYPE_STR

public static final String SECOND_PERIOD_TYPE_STR
Deprecated. 
See Also:
Constant Field Values

WEEK_PERIOD_TYPE_STR

public static final String WEEK_PERIOD_TYPE_STR
Deprecated. 
See Also:
Constant Field Values

YEAR_PERIOD_TYPE_STR

public static final String YEAR_PERIOD_TYPE_STR
Deprecated. 
See Also:
Constant Field Values

VERTICAL_ORIENTATION

public static final String VERTICAL_ORIENTATION
Deprecated. 
See Also:
Constant Field Values

HORIZONTAL_ORIENTATION

public static final String HORIZONTAL_ORIENTATION
Deprecated. 
See Also:
Constant Field Values

LINE_STYLE_SOLID_STR

public static final String LINE_STYLE_SOLID_STR
Deprecated. 
See Also:
Constant Field Values

LINE_STYLE_DASH_STR

public static final String LINE_STYLE_DASH_STR
Deprecated. 
See Also:
Constant Field Values

LINE_STYLE_DOT_STR

public static final String LINE_STYLE_DOT_STR
Deprecated. 
See Also:
Constant Field Values

LINE_STYLE_DASHDOT_STR

public static final String LINE_STYLE_DASHDOT_STR
Deprecated. 
See Also:
Constant Field Values

LINE_STYLE_DASHDOTDOT_STR

public static final String LINE_STYLE_DASHDOTDOT_STR
Deprecated. 
See Also:
Constant Field Values
Method Detail

getChartTypeName

public static String getChartTypeName(int type)
Deprecated. 
Parameters:
type - int type for chart
Returns:
String representing the chart

getTimePeriodClass

public static Class getTimePeriodClass(String timePeriodStr)
Deprecated. 

translateLineStyle

public static Stroke translateLineStyle(float lineWidth,
                                        String lineStyle)
Deprecated. 
Returns:
java.awt.Stroke for JFreeChart renderer to draw lines