HiRISE

HiRISE.HiReport.tags.chart
Class TimeChartTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.SimpleTagSupport
      extended by HiRISE.HiReport.tags.chart.ChartTag
          extended by HiRISE.HiReport.tags.chart.TimeChartTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.SimpleTag

public class TimeChartTag
extends ChartTag

Plots a XY-dataset with the domain (X) axis as the time axis.

Version:
1.3
Author:
guym

Field Summary
static String ID
          CVS ID
 
Fields inherited from class HiRISE.HiReport.tags.chart.ChartTag
DEFAULT_HEIGHT, DEFAULT_WIDTH, dmax, dmin, domain, height, imagemap, info, legend, logger, map, orientation, range, rmax, rmin, title, var, width
 
Constructor Summary
TimeChartTag()
           
 
Method Summary
 JFreeChart getChart()
          Create the time series chart and return it
 void setDataset(XYDataset dataset)
          Set the dataset to chart
 void setShapes(boolean shapes)
          Set whether to draw shapes
 
Methods inherited from class HiRISE.HiReport.tags.chart.ChartTag
doTag, getHeight, getWidth, setDomain, setDomainMax, setDomainMin, setHeight, setLegend, setMap, setOrientation, setRange, setRangeMax, setRangeMin, setTitle, setVar, setWidth
 
Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final String ID
CVS ID

See Also:
Constant Field Values
Constructor Detail

TimeChartTag

public TimeChartTag()
Method Detail

setDataset

public void setDataset(XYDataset dataset)
Set the dataset to chart

Parameters:
dataset - time-based data

setShapes

public void setShapes(boolean shapes)
Set whether to draw shapes

Parameters:
shapes - If true, draw shapes

getChart

public JFreeChart getChart()
Create the time series chart and return it

Specified by:
getChart in class ChartTag
Returns:
The chart

HiRISE

Copyright (C) Arizona Board of Regents on behalf of the Planetary Image Research Laboratory, Lunar and Planetary Laboratory at the University of Arizona