ch.hortis.sonar.web.charts
Class HistoryChart2

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

public class HistoryChart2
extends BaseChart


Field Summary
 
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
HistoryChart2(int width, int height)
           
 
Method Summary
 void addLabel(java.util.Date date, java.lang.String label)
           
 void addMeasure(java.lang.Double value, java.util.Date date, java.lang.Integer id)
           
protected  java.awt.image.BufferedImage getChartImage()
           
 void initLegend(java.lang.Integer id, java.lang.String legend, java.lang.Boolean isPercent)
           
 
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
 

Constructor Detail

HistoryChart2

public HistoryChart2(int width,
                     int height)
Method Detail

initLegend

public void initLegend(java.lang.Integer id,
                       java.lang.String legend,
                       java.lang.Boolean isPercent)

addMeasure

public void addMeasure(java.lang.Double value,
                       java.util.Date date,
                       java.lang.Integer id)

addLabel

public void addLabel(java.util.Date date,
                     java.lang.String label)
              throws java.text.ParseException
Throws:
java.text.ParseException

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.