org.sonar.web.charts.jruby
Class ComplexityDistributionChart

java.lang.Object
  extended by org.sonar.web.charts.deprecated.BaseChart
      extended by org.sonar.web.charts.jruby.ComplexityDistributionChart

public class ComplexityDistributionChart
extends BaseChart


Field Summary
protected  org.jfree.data.category.DefaultCategoryDataset dataset
           
 
Fields inherited from class org.sonar.web.charts.deprecated.BaseChart
BASE_COLOR, BASE_COLOR_LIGHT, COLORS, FONT_SIZE, SERIE_BORDER_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, double value)
           
protected  java.awt.image.BufferedImage getChartImage()
           
 
Methods inherited from class org.sonar.web.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
 

Field Detail

dataset

protected org.jfree.data.category.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,
                       double value)

getChartImage

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


Copyright © 2008 SonarSource SA. All Rights Reserved.