ch.hortis.sonar.web.charts
Class ComplexityDistributionChart

java.lang.Object
  extended by ch.hortis.sonar.web.charts.BaseChart
      extended by ch.hortis.sonar.web.charts.ComplexityDistributionChart

public class ComplexityDistributionChart
extends BaseChart


Field Summary
protected  DefaultCategoryDataset dataset
           
 
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
ComplexityDistributionChart(int width, int height, java.util.List<java.lang.String> colorsInHexa)
           
ComplexityDistributionChart(int width, int height, java.util.List<java.lang.String> colorsInHexa, java.lang.String valueLabelSuffix)
           
 
Method Summary
 void addMeasure(int index, java.lang.String label, java.lang.Double value)
           
 void addMeasure(java.lang.String label, java.lang.Double value)
           
protected  java.awt.image.BufferedImage getChartImage()
           
 
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
 

Field Detail

dataset

protected DefaultCategoryDataset dataset
Constructor Detail

ComplexityDistributionChart

public ComplexityDistributionChart(int width,
                                   int height,
                                   java.util.List<java.lang.String> colorsInHexa)

ComplexityDistributionChart

public ComplexityDistributionChart(int width,
                                   int height,
                                   java.util.List<java.lang.String> colorsInHexa,
                                   java.lang.String valueLabelSuffix)
Method Detail

addMeasure

public void addMeasure(int index,
                       java.lang.String label,
                       java.lang.Double value)

addMeasure

public void addMeasure(java.lang.String label,
                       java.lang.Double value)

getChartImage

protected java.awt.image.BufferedImage getChartImage()
Specified by:
getChartImage in class BaseChart


Copyright © 2007-2008 hortis. All Rights Reserved.