org.sonar.server.charts.deprecated
Class CustomBarChart

java.lang.Object
  extended by org.sonar.server.charts.deprecated.BaseChart
      extended by org.sonar.server.charts.deprecated.BaseChartWeb
          extended by org.sonar.server.charts.deprecated.BarChart
              extended by org.sonar.server.charts.deprecated.CustomBarChart
All Implemented Interfaces:
DeprecatedChart

public class CustomBarChart
extends BarChart


Field Summary
 
Fields inherited from class org.sonar.server.charts.deprecated.BarChart
categoryAxis, dataset, numberAxis
 
Fields inherited from class org.sonar.server.charts.deprecated.BaseChartWeb
BAR_CHART_HORIZONTAL, BAR_CHART_VERTICAL, BAR_CHART_VERTICAL_CUSTOM, CHART_PARAM_CATEGORIES, CHART_PARAM_CATEGORIES_AXISMARGIN_LOWER, CHART_PARAM_CATEGORIES_AXISMARGIN_UPPER, CHART_PARAM_CATEGORIES_AXISMARGIN_VISIBLE, CHART_PARAM_COLORS, CHART_PARAM_DIMENSIONS, CHART_PARAM_INSETS, CHART_PARAM_OUTLINE_RANGEGRIDLINES_VISIBLE, CHART_PARAM_OUTLINE_VISIBLE, CHART_PARAM_RANGEAXIS_VISIBLE, CHART_PARAM_RANGEMAX, CHART_PARAM_SERIES, CHART_PARAM_SERIES_AXISMARGIN_LOWER, CHART_PARAM_SERIES_AXISMARGIN_TICKUNIT, CHART_PARAM_SERIES_AXISMARGIN_UPPER, CHART_PARAM_TITLE, CHART_PARAM_TYPE, CHART_PARAM_VALUES, DEFAULT_CATEGORIES_AXISMARGIN, DEFAULT_FONT, DEFAULT_HEIGHT, DEFAULT_MESSAGE_NODATA, DEFAULT_NAME_CATEGORY, DEFAULT_NAME_SERIE, DEFAULT_SERIES_AXISMARGIN, DEFAULT_WIDTH, jfreechart, params, PIE_CHART, SPARKLINES_CHART, STACKED_BAR_CHART
 
Fields inherited from class org.sonar.server.charts.deprecated.BaseChart
BASE_COLOR, BASE_COLOR_LIGHT, COLORS, FONT_SIZE, SERIE_BORDER_COLOR
 
Constructor Summary
CustomBarChart(Map<String,String> params)
           
 
Method Summary
protected  void applyParams()
           
protected  void configure()
           
protected  void configureCategoryDataset()
           
protected  void configureCategoryPlot()
           
protected  void configureRenderer()
           
protected  BufferedImage getChartImage()
           
 
Methods inherited from class org.sonar.server.charts.deprecated.BarChart
applyCommomParamsBar, configureCategoryAxis, configureRangeAxis
 
Methods inherited from class org.sonar.server.charts.deprecated.BaseChartWeb
applyCommonParams, configureColors, configureDefaultColors, configureDimensions, convertParamToDouble, convertParamToDouble, isParamValueValid
 
Methods inherited from class org.sonar.server.charts.deprecated.BaseChart
configureChart, configureChart, configureChartTitle, exportChartAsPNG, exportChartAsPNG, getBufferedImage, getDashedStroke, getDashedStroke, getFont, getHeight, getWidth, setHeight, setWidth
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.sonar.server.charts.deprecated.DeprecatedChart
exportChartAsPNG
 

Constructor Detail

CustomBarChart

public CustomBarChart(Map<String,String> params)
Method Detail

getChartImage

protected BufferedImage getChartImage()
                               throws IOException
Overrides:
getChartImage in class BarChart
Throws:
IOException

configure

protected void configure()
Overrides:
configure in class BarChart

configureCategoryDataset

protected void configureCategoryDataset()
Overrides:
configureCategoryDataset in class BarChart

configureRenderer

protected void configureRenderer()
Overrides:
configureRenderer in class BarChart

configureCategoryPlot

protected void configureCategoryPlot()
Overrides:
configureCategoryPlot in class BarChart

applyParams

protected void applyParams()


Copyright © 2009-2011 SonarSource. All Rights Reserved.