Class ChartParams
- java.lang.Object
-
- com.xpn.xwiki.plugin.charts.params.ChartParams
-
- Direct Known Subclasses:
DefaultChartParams
,DefaultChartParams2
public class ChartParams extends Object
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ChartParams()
ChartParams(ChartParams parent)
ChartParams(Map map)
ChartParams(Map map, ChartParams parent)
ChartParams(Map map, ChartParams parent, boolean discardNumbers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addParam(ChartParam param)
void
check()
Object
get(String name)
Boolean
getBoolean(String name)
org.jfree.chart.axis.CategoryLabelPositions
getCategoryLabelPositions(String name)
Class
getClass(String name)
Color
getColor(String name)
Date
getDate(String name)
DateFormat
getDateFormat(String name)
org.jfree.chart.axis.DateTickMarkPosition
getDateTickMarkPosition(String name)
org.jfree.chart.axis.DateTickUnit
getDateTickUnit(String name)
Double
getDouble(String name)
Float
getFloat(String name)
Font
getFont(String name)
org.jfree.ui.HorizontalAlignment
getHorizontalAlignment(String name)
Integer
getInteger(String name)
List
getList(String name)
Map
getMap(String name)
NumberFormat
getNumberFormat(String name)
org.jfree.chart.axis.NumberTickUnit
getNumberTickUnit(String name)
org.jfree.chart.plot.PlotOrientation
getPlotOrientation(String name)
Point2D
getPoint2D(String name)
org.jfree.data.RangeType
getRangeType(String name)
org.jfree.ui.RectangleAnchor
getRectangleAnchor(String name)
org.jfree.ui.RectangleEdge
getRectangleEdge(String name)
org.jfree.ui.RectangleInsets
getRectangleInsets(String name)
Shape
getShape(String name)
String
getString(String name)
Stroke
getStroke(String name)
org.jfree.ui.VerticalAlignment
getVerticalAlignment(String name)
protected void
set(String name, Object obj)
void
set(String name, String value)
String
toString()
-
-
-
Field Detail
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
SOURCE
public static final String SOURCE
- See Also:
- Constant Field Values
-
SERIES
public static final String SERIES
- See Also:
- Constant Field Values
-
HEIGHT
public static final String HEIGHT
- See Also:
- Constant Field Values
-
WIDTH
public static final String WIDTH
- See Also:
- Constant Field Values
-
IMAGE_ATTRIBUTES
public static final String IMAGE_ATTRIBUTES
- See Also:
- Constant Field Values
-
LINK_ATTRIBUTES
public static final String LINK_ATTRIBUTES
- See Also:
- Constant Field Values
-
RENDERER
public static final String RENDERER
- See Also:
- Constant Field Values
-
RENDERER_COLOR
public static final String RENDERER_COLOR
- See Also:
- Constant Field Values
-
RENDERER_STROKE
public static final String RENDERER_STROKE
- See Also:
- Constant Field Values
-
RENDERER_SHAPE
public static final String RENDERER_SHAPE
- See Also:
- Constant Field Values
-
RENDERER_FILL_COLOR
public static final String RENDERER_FILL_COLOR
- See Also:
- Constant Field Values
-
RENDERER_OUTLINE_COLOR
public static final String RENDERER_OUTLINE_COLOR
- See Also:
- Constant Field Values
-
RENDERER_OUTLINE_STROKE
public static final String RENDERER_OUTLINE_STROKE
- See Also:
- Constant Field Values
-
RENDERER_ITEM_LABEL_VISIBLE
public static final String RENDERER_ITEM_LABEL_VISIBLE
- See Also:
- Constant Field Values
-
RENDERER_ITEM_LABEL_COLOR
public static final String RENDERER_ITEM_LABEL_COLOR
- See Also:
- Constant Field Values
-
RENDERER_ITEM_LABEL_FONT
public static final String RENDERER_ITEM_LABEL_FONT
- See Also:
- Constant Field Values
-
RENDERER_SERIES_VISIBLE
public static final String RENDERER_SERIES_VISIBLE
- See Also:
- Constant Field Values
-
RENDERER_SERIES_VISIBLE_IN_LEGEND
public static final String RENDERER_SERIES_VISIBLE_IN_LEGEND
- See Also:
- Constant Field Values
-
RENDERER_SERIES_COLORS
public static final String RENDERER_SERIES_COLORS
- See Also:
- Constant Field Values
-
RENDERER_SERIES_STROKES
public static final String RENDERER_SERIES_STROKES
- See Also:
- Constant Field Values
-
RENDERER_SERIES_SHAPES
public static final String RENDERER_SERIES_SHAPES
- See Also:
- Constant Field Values
-
RENDERER_SERIES_FILL_COLORS
public static final String RENDERER_SERIES_FILL_COLORS
- See Also:
- Constant Field Values
-
RENDERER_SERIES_OUTLINE_COLORS
public static final String RENDERER_SERIES_OUTLINE_COLORS
- See Also:
- Constant Field Values
-
RENDERER_SERIES_OUTLINE_STROKES
public static final String RENDERER_SERIES_OUTLINE_STROKES
- See Also:
- Constant Field Values
-
RENDERER_SERIES_ITEM_LABEL_VISIBLES
public static final String RENDERER_SERIES_ITEM_LABEL_VISIBLES
- See Also:
- Constant Field Values
-
RENDERER_SERIES_ITEM_LABEL_COLORS
public static final String RENDERER_SERIES_ITEM_LABEL_COLORS
- See Also:
- Constant Field Values
-
RENDERER_SERIES_ITEM_LABEL_FONTS
public static final String RENDERER_SERIES_ITEM_LABEL_FONTS
- See Also:
- Constant Field Values
-
BORDER_VISIBLE
public static final String BORDER_VISIBLE
- See Also:
- Constant Field Values
-
BORDER_COLOR
public static final String BORDER_COLOR
- See Also:
- Constant Field Values
-
BORDER_STROKE
public static final String BORDER_STROKE
- See Also:
- Constant Field Values
-
TITLE_PREFIX
public static final String TITLE_PREFIX
- See Also:
- Constant Field Values
-
SUBTITLE_PREFIX
public static final String SUBTITLE_PREFIX
- See Also:
- Constant Field Values
-
TITLE_SUFFIX
public static final String TITLE_SUFFIX
- See Also:
- Constant Field Values
-
TITLE_POSITION_SUFFIX
public static final String TITLE_POSITION_SUFFIX
- See Also:
- Constant Field Values
-
TITLE_HORIZONTAL_ALIGNMENT_SUFFIX
public static final String TITLE_HORIZONTAL_ALIGNMENT_SUFFIX
- See Also:
- Constant Field Values
-
TITLE_VERTICAL_ALIGNMENT_SUFFIX
public static final String TITLE_VERTICAL_ALIGNMENT_SUFFIX
- See Also:
- Constant Field Values
-
TITLE_COLOR_SUFFIX
public static final String TITLE_COLOR_SUFFIX
- See Also:
- Constant Field Values
-
TITLE_BACKGROUND_COLOR_SUFFIX
public static final String TITLE_BACKGROUND_COLOR_SUFFIX
- See Also:
- Constant Field Values
-
TITLE_FONT_SUFFIX
public static final String TITLE_FONT_SUFFIX
- See Also:
- Constant Field Values
-
TITLE_PADDING_SUFFIX
public static final String TITLE_PADDING_SUFFIX
- See Also:
- Constant Field Values
-
TITLE_URL_SUFFIX
public static final String TITLE_URL_SUFFIX
- See Also:
- Constant Field Values
-
ANTI_ALIAS
public static final String ANTI_ALIAS
- See Also:
- Constant Field Values
-
BACKGROUND_COLOR
public static final String BACKGROUND_COLOR
- See Also:
- Constant Field Values
-
PLOT_BACKGROUND_COLOR
public static final String PLOT_BACKGROUND_COLOR
- See Also:
- Constant Field Values
-
PLOT_BACKGROUND_ALPHA
public static final String PLOT_BACKGROUND_ALPHA
- See Also:
- Constant Field Values
-
PLOT_FOREGROUND_ALPHA
public static final String PLOT_FOREGROUND_ALPHA
- See Also:
- Constant Field Values
-
PLOT_INSERTS
public static final String PLOT_INSERTS
- See Also:
- Constant Field Values
-
PLOT_OUTLINE_COLOR
public static final String PLOT_OUTLINE_COLOR
- See Also:
- Constant Field Values
-
PLOT_OUTLINE_STROKE
public static final String PLOT_OUTLINE_STROKE
- See Also:
- Constant Field Values
-
XYPLOT_ORIENTATION
public static final String XYPLOT_ORIENTATION
- See Also:
- Constant Field Values
-
XYPLOT_QUADRANT_ORIGIN
public static final String XYPLOT_QUADRANT_ORIGIN
- See Also:
- Constant Field Values
-
XYPLOT_QUADRANT_COLORS
public static final String XYPLOT_QUADRANT_COLORS
- See Also:
- Constant Field Values
-
LEGEND_BACKGROUND_COLOR
public static final String LEGEND_BACKGROUND_COLOR
- See Also:
- Constant Field Values
-
LEGEND_ITEM_FONT
public static final String LEGEND_ITEM_FONT
- See Also:
- Constant Field Values
-
LEGEND_ITEM_LABEL_PADDING
public static final String LEGEND_ITEM_LABEL_PADDING
- See Also:
- Constant Field Values
-
LEGEND_ITEM_GRAPHIC_ANCHOR
public static final String LEGEND_ITEM_GRAPHIC_ANCHOR
- See Also:
- Constant Field Values
-
LEGEND_ITEM_GRAPHIC_EDGE
public static final String LEGEND_ITEM_GRAPHIC_EDGE
- See Also:
- Constant Field Values
-
LEGEND_ITEM_GRAPHIC_LOCATION
public static final String LEGEND_ITEM_GRAPHIC_LOCATION
- See Also:
- Constant Field Values
-
LEGEND_ITEM_GRAPHIC_PADDING
public static final String LEGEND_ITEM_GRAPHIC_PADDING
- See Also:
- Constant Field Values
-
AXIS_DOMAIN_PREFIX
public static final String AXIS_DOMAIN_PREFIX
- See Also:
- Constant Field Values
-
AXIS_RANGE_PREFIX
public static final String AXIS_RANGE_PREFIX
- See Also:
- Constant Field Values
-
AXIS_VISIBLE_SUFIX
public static final String AXIS_VISIBLE_SUFIX
- See Also:
- Constant Field Values
-
AXIS_LABEL_SUFFIX
public static final String AXIS_LABEL_SUFFIX
- See Also:
- Constant Field Values
-
AXIS_LABEL_FONT_SUFFIX
public static final String AXIS_LABEL_FONT_SUFFIX
- See Also:
- Constant Field Values
-
AXIS_LABEL_COLOR_SUFFIX
public static final String AXIS_LABEL_COLOR_SUFFIX
- See Also:
- Constant Field Values
-
AXIS_LABEL_INSERTS_SUFFIX
public static final String AXIS_LABEL_INSERTS_SUFFIX
- See Also:
- Constant Field Values
-
AXIS_LINE_VISIBLE_SUFFIX
public static final String AXIS_LINE_VISIBLE_SUFFIX
- See Also:
- Constant Field Values
-
AXIS_LINE_COLOR_SUFFIX
public static final String AXIS_LINE_COLOR_SUFFIX
- See Also:
- Constant Field Values
-
AXIS_LINE_STROKE_SUFFIX
public static final String AXIS_LINE_STROKE_SUFFIX
- See Also:
- Constant Field Values
-
AXIS_TICK_LABEL_VISIBLE_SUFFIX
public static final String AXIS_TICK_LABEL_VISIBLE_SUFFIX
- See Also:
- Constant Field Values
-
AXIS_TICK_LABEL_FONT_SUFFIX
public static final String AXIS_TICK_LABEL_FONT_SUFFIX
- See Also:
- Constant Field Values
-
AXIS_TICK_LABEL_COLOR_SUFFIX
public static final String AXIS_TICK_LABEL_COLOR_SUFFIX
- See Also:
- Constant Field Values
-
AXIS_TICK_LABEL_INSERTS_SUFFIX
public static final String AXIS_TICK_LABEL_INSERTS_SUFFIX
- See Also:
- Constant Field Values
-
AXIS_TICK_MARK_VISIBLE_SUFFIX
public static final String AXIS_TICK_MARK_VISIBLE_SUFFIX
- See Also:
- Constant Field Values
-
AXIS_TICK_MARK_INSIDE_LENGTH_SUFFIX
public static final String AXIS_TICK_MARK_INSIDE_LENGTH_SUFFIX
- See Also:
- Constant Field Values
-
AXIS_TICK_MARK_OUTSIDE_LENGTH_SUFFIX
public static final String AXIS_TICK_MARK_OUTSIDE_LENGTH_SUFFIX
- See Also:
- Constant Field Values
-
AXIS_TICK_MARK_COLOR_SUFFIX
public static final String AXIS_TICK_MARK_COLOR_SUFFIX
- See Also:
- Constant Field Values
-
AXIS_TICK_MARK_STROKE_SUFFIX
public static final String AXIS_TICK_MARK_STROKE_SUFFIX
- See Also:
- Constant Field Values
-
PLOTXY_AXIS_GRIDLINE_VISIBLE_SUFFIX
public static final String PLOTXY_AXIS_GRIDLINE_VISIBLE_SUFFIX
- See Also:
- Constant Field Values
-
PLOTXY_AXIS_GRIDLINE_COLOR_SUFFIX
public static final String PLOTXY_AXIS_GRIDLINE_COLOR_SUFFIX
- See Also:
- Constant Field Values
-
PLOTXY_AXIS_GRIDLINE_STROKE_SUFFIX
public static final String PLOTXY_AXIS_GRIDLINE_STROKE_SUFFIX
- See Also:
- Constant Field Values
-
VALUE_AXIS_AUTO_RANGE_SUFFIX
public static final String VALUE_AXIS_AUTO_RANGE_SUFFIX
- See Also:
- Constant Field Values
-
VALUE_AXIS_AUTO_RANGE_MIN_SIZE_SUFFIX
public static final String VALUE_AXIS_AUTO_RANGE_MIN_SIZE_SUFFIX
- See Also:
- Constant Field Values
-
VALUE_AXIS_AUTO_TICK_UNIT_SUFFIX
public static final String VALUE_AXIS_AUTO_TICK_UNIT_SUFFIX
- See Also:
- Constant Field Values
-
VALUE_AXIS_LOWER_BOUND_SUFFIX
public static final String VALUE_AXIS_LOWER_BOUND_SUFFIX
- See Also:
- Constant Field Values
-
VALUE_AXIS_UPPER_BOUND_SUFFIX
public static final String VALUE_AXIS_UPPER_BOUND_SUFFIX
- See Also:
- Constant Field Values
-
AXIS_LOWER_MARGIN_SUFFIX
public static final String AXIS_LOWER_MARGIN_SUFFIX
- See Also:
- Constant Field Values
-
AXIS_UPPER_MARGIN_SUFFIX
public static final String AXIS_UPPER_MARGIN_SUFFIX
- See Also:
- Constant Field Values
-
VALUE_AXIS_VERTICAL_TICK_LABELS_SUFFIX
public static final String VALUE_AXIS_VERTICAL_TICK_LABELS_SUFFIX
- See Also:
- Constant Field Values
-
NUMBER_AXIS_AUTO_RANGE_INCLUDES_ZERO_SUFFIX
public static final String NUMBER_AXIS_AUTO_RANGE_INCLUDES_ZERO_SUFFIX
- See Also:
- Constant Field Values
-
NUMBER_AXIS_AUTO_RANGE_STICKY_ZERO_SUFFIX
public static final String NUMBER_AXIS_AUTO_RANGE_STICKY_ZERO_SUFFIX
- See Also:
- Constant Field Values
-
NUMBER_AXIS_RANGE_TYPE_SUFFIX
public static final String NUMBER_AXIS_RANGE_TYPE_SUFFIX
- See Also:
- Constant Field Values
-
NUMBER_AXIS_NUMBER_TICK_UNIT_SUFFIX
public static final String NUMBER_AXIS_NUMBER_TICK_UNIT_SUFFIX
- See Also:
- Constant Field Values
-
NUMBER_AXIS_NUMBER_FORMAT_OVERRIDE_SUFFIX
public static final String NUMBER_AXIS_NUMBER_FORMAT_OVERRIDE_SUFFIX
- See Also:
- Constant Field Values
-
DATE_AXIS_DATE_FORMAT_OVERRIDE_SUFFIX
public static final String DATE_AXIS_DATE_FORMAT_OVERRIDE_SUFFIX
- See Also:
- Constant Field Values
-
DATE_AXIS_UPPER_DATE_SUFFIX
public static final String DATE_AXIS_UPPER_DATE_SUFFIX
- See Also:
- Constant Field Values
-
DATE_AXIS_LOWER_DATE_SUFFIX
public static final String DATE_AXIS_LOWER_DATE_SUFFIX
- See Also:
- Constant Field Values
-
DATE_AXIS_DATE_TICK_MARK_POSITION_SUFFIX
public static final String DATE_AXIS_DATE_TICK_MARK_POSITION_SUFFIX
- See Also:
- Constant Field Values
-
DATE_AXIS_DATE_TICK_UNIT_SUFFIX
public static final String DATE_AXIS_DATE_TICK_UNIT_SUFFIX
- See Also:
- Constant Field Values
-
CATEGORY_AXIS_CATEGORY_MARGIN_SUFFIX
public static final String CATEGORY_AXIS_CATEGORY_MARGIN_SUFFIX
- See Also:
- Constant Field Values
-
CATEGORY_AXIS_LABEL_POSITIONS_SUFFIX
public static final String CATEGORY_AXIS_LABEL_POSITIONS_SUFFIX
- See Also:
- Constant Field Values
-
CATEGORY_AXIS_LABEL_POSITION_OFFSET_SUFFIX
public static final String CATEGORY_AXIS_LABEL_POSITION_OFFSET_SUFFIX
- See Also:
- Constant Field Values
-
CATEGORY_AXIS_MAXIMUM_LABEL_LINES_SUFFIX
public static final String CATEGORY_AXIS_MAXIMUM_LABEL_LINES_SUFFIX
- See Also:
- Constant Field Values
-
CATEGORY_AXIS_MAXIMUM_LABEL_WIDTH_RATIO_SUFFIX
public static final String CATEGORY_AXIS_MAXIMUM_LABEL_WIDTH_RATIO_SUFFIX
- See Also:
- Constant Field Values
-
TIME_PERIOD_CLASS
public static final String TIME_PERIOD_CLASS
- See Also:
- Constant Field Values
-
DATE_FORMAT
public static final String DATE_FORMAT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ChartParams
public ChartParams()
-
ChartParams
public ChartParams(Map map) throws ParamException
- Throws:
ParamException
-
ChartParams
public ChartParams(Map map, ChartParams parent) throws ParamException
- Throws:
ParamException
-
ChartParams
public ChartParams(Map map, ChartParams parent, boolean discardNumbers) throws ParamException
- Throws:
ParamException
-
ChartParams
public ChartParams(ChartParams parent)
-
-
Method Detail
-
addParam
public void addParam(ChartParam param)
-
set
public void set(String name, String value) throws ParamException
- Throws:
ParamException
-
set
protected void set(String name, Object obj) throws ParamException
- Throws:
ParamException
-
check
public void check() throws ParamException
- Throws:
ParamException
-
getRectangleEdge
public org.jfree.ui.RectangleEdge getRectangleEdge(String name)
-
getHorizontalAlignment
public org.jfree.ui.HorizontalAlignment getHorizontalAlignment(String name)
-
getVerticalAlignment
public org.jfree.ui.VerticalAlignment getVerticalAlignment(String name)
-
getRectangleInsets
public org.jfree.ui.RectangleInsets getRectangleInsets(String name)
-
getRectangleAnchor
public org.jfree.ui.RectangleAnchor getRectangleAnchor(String name)
-
getPlotOrientation
public org.jfree.chart.plot.PlotOrientation getPlotOrientation(String name)
-
getRangeType
public org.jfree.data.RangeType getRangeType(String name)
-
getNumberTickUnit
public org.jfree.chart.axis.NumberTickUnit getNumberTickUnit(String name)
-
getNumberFormat
public NumberFormat getNumberFormat(String name)
-
getDateFormat
public DateFormat getDateFormat(String name)
-
getDateTickMarkPosition
public org.jfree.chart.axis.DateTickMarkPosition getDateTickMarkPosition(String name)
-
getDateTickUnit
public org.jfree.chart.axis.DateTickUnit getDateTickUnit(String name)
-
getCategoryLabelPositions
public org.jfree.chart.axis.CategoryLabelPositions getCategoryLabelPositions(String name)
-
-