org.sonar.server.charts.jruby
Class TrendsChart
java.lang.Object
org.sonar.server.charts.deprecated.BaseChart
org.sonar.server.charts.jruby.TrendsChart
public class TrendsChart
- extends BaseChart
Constructor Summary |
TrendsChart(int width,
int height,
String localeKey,
boolean displayLegend)
|
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 |
TrendsChart
public TrendsChart(int width,
int height,
String localeKey,
boolean displayLegend)
initSerie
public void initSerie(Long serieId,
String legend,
boolean isPercent)
addMeasure
public void addMeasure(Double value,
Date date,
Long serieId)
addLabel
public void addLabel(Date date,
String label)
throws ParseException
- Throws:
ParseException
addLabel
public void addLabel(Date date,
String label,
boolean lower)
throws ParseException
- Throws:
ParseException
getChartImage
protected BufferedImage getChartImage()
throws IOException
- Specified by:
getChartImage
in class BaseChart
- Throws:
IOException
Copyright © 2009-2012 SonarSource. All Rights Reserved.