public abstract class BaseChartWeb extends BaseChart
BASE_COLOR, BASE_COLOR_LIGHT, COLORS, FONT_SIZE, SERIE_BORDER_COLOR
Constructor and Description |
---|
BaseChartWeb(Map<String,String> params) |
Modifier and Type | Method and Description |
---|---|
protected void |
applyCommonParams() |
protected void |
configureColors(String colors,
org.jfree.chart.renderer.AbstractRenderer renderer) |
protected void |
configureDefaultColors(org.jfree.chart.renderer.AbstractRenderer renderer) |
protected void |
configureDimensions(String dimensions) |
protected double |
convertParamToDouble(String paramValue) |
protected double |
convertParamToDouble(String paramValue,
double paramDefault) |
protected boolean |
isParamValueValid(String paramValue) |
configureChart, configureChart, configureChartTitle, exportChartAsPNG, exportChartAsPNG, getBufferedImage, getChartImage, getDashedStroke, getDashedStroke, getFont, getHeight, getWidth, setHeight, setWidth
public static final String BAR_CHART_HORIZONTAL
public static final String BAR_CHART_VERTICAL
public static final String BAR_CHART_VERTICAL_CUSTOM
public static final String STACKED_BAR_CHART
public static final String PIE_CHART
public static final String SPARKLINES_CHART
public static final String CHART_PARAM_TYPE
public static final String CHART_PARAM_VALUES
public static final String CHART_PARAM_COLORS
public static final String CHART_PARAM_RANGEMAX
public static final String CHART_PARAM_TITLE
public static final String CHART_PARAM_DIMENSIONS
public static final String CHART_PARAM_RANGEAXIS_VISIBLE
public static final String CHART_PARAM_CATEGORIES
public static final String CHART_PARAM_CATEGORIES_AXISMARGIN_VISIBLE
public static final String CHART_PARAM_CATEGORIES_AXISMARGIN_UPPER
public static final String CHART_PARAM_CATEGORIES_AXISMARGIN_LOWER
public static final String CHART_PARAM_SERIES
public static final String CHART_PARAM_SERIES_AXISMARGIN_UPPER
public static final String CHART_PARAM_SERIES_AXISMARGIN_LOWER
public static final String CHART_PARAM_SERIES_AXISMARGIN_TICKUNIT
public static final String CHART_PARAM_INSETS
public static final String CHART_PARAM_OUTLINE_VISIBLE
public static final String CHART_PARAM_OUTLINE_RANGEGRIDLINES_VISIBLE
public static final String DEFAULT_NAME_CATEGORY
public static final String DEFAULT_NAME_SERIE
public static final String DEFAULT_MESSAGE_NODATA
public static final double DEFAULT_CATEGORIES_AXISMARGIN
public static final double DEFAULT_SERIES_AXISMARGIN
public static final int DEFAULT_WIDTH
public static final int DEFAULT_HEIGHT
public static final Font DEFAULT_FONT
protected org.jfree.chart.JFreeChart jfreechart
public BaseChartWeb(Map<String,String> params)
protected boolean isParamValueValid(String paramValue)
protected double convertParamToDouble(String paramValue)
protected void configureColors(String colors, org.jfree.chart.renderer.AbstractRenderer renderer)
protected void configureDefaultColors(org.jfree.chart.renderer.AbstractRenderer renderer)
protected double convertParamToDouble(String paramValue, double paramDefault)
protected void configureDimensions(String dimensions)
protected void applyCommonParams()
Copyright © 2009-2012 SonarSource. All Rights Reserved.