ch.hortis.sonar.web.charts
Class PieChart

java.lang.Object
  extended by ch.hortis.sonar.web.charts.BaseChart
      extended by ch.hortis.sonar.web.charts.BaseChartWeb
          extended by ch.hortis.sonar.web.charts.PieChart
All Implemented Interfaces:
Chart

public class PieChart
extends BaseChartWeb
implements Chart


Field Summary
 
Fields inherited from class ch.hortis.sonar.web.charts.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_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
 
Fields inherited from class ch.hortis.sonar.web.charts.BaseChart
BASE_COLOR, BASE_COLOR_LIGHT, FONT_SIZE, SERIE_BORDER_COLOR, SERIE1_COLOR, SERIE1BIS_COLOR, SERIE2_COLOR, SERIE3_COLOR, SERIE4_COLOR, SERIE5_COLOR
 
Constructor Summary
PieChart(java.util.Map<java.lang.String,java.lang.String> params)
           
 
Method Summary
protected  java.awt.image.BufferedImage getChartImage()
           
 
Methods inherited from class ch.hortis.sonar.web.charts.BaseChartWeb
applyCommonParams, configureDimensions, convertParamToDouble, convertParamToDouble, isParamValueValid
 
Methods inherited from class ch.hortis.sonar.web.charts.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 ch.hortis.sonar.web.charts.Chart
exportChartAsPNG
 

Constructor Detail

PieChart

public PieChart(java.util.Map<java.lang.String,java.lang.String> params)
Method Detail

getChartImage

protected java.awt.image.BufferedImage getChartImage()
                                              throws java.io.IOException
Specified by:
getChartImage in class BaseChart
Throws:
java.io.IOException


Copyright © 2007-2008 hortis. All Rights Reserved.