net.sf.statcvs.renderer
Class TimeLineChart

java.lang.Object
  extended bynet.sf.statcvs.renderer.Chart
      extended bynet.sf.statcvs.renderer.TimeLineChart

public class TimeLineChart
extends Chart

Creates charts from TimeLines and saves them to PNG. TODO: Should call TimeLine#isEmpty and not generate the chart if true

Version:
$Id: TimeLineChart.java,v 1.1 2003/06/05 10:51:54 cyganiak Exp $
Author:
Richard Cyganiak

Constructor Summary
TimeLineChart(TimeLine timeLine, java.lang.String title, java.lang.String fileName, int width, int height)
          Creates a chart from a time line.
 
Methods inherited from class net.sf.statcvs.renderer.Chart
createChart, getChart, getFileName, saveChart, saveChart, setChart
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeLineChart

public TimeLineChart(TimeLine timeLine,
                     java.lang.String title,
                     java.lang.String fileName,
                     int width,
                     int height)
Creates a chart from a time line.

Parameters:
timeLine - the time line data for the chart
title - the title for the chart
fileName - the file name for the PNG image
width - the width of the image
height - the height of the image