HiRISE

HiRISE.HiReport.tags.chart
Class XYBarChartTag

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

public class XYBarChartTag
extends ChartTag

Creates a bar-chart from X-Y data with optional time axis


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
XYBarChartTag()
           
 
Method Summary
 JFreeChart getChart()
          Create and return the chart object.
 void setDataset(XYDataset dataset)
          Set the data
 void setDate(boolean date)
          If true, use date axis
 
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

XYBarChartTag

public XYBarChartTag()
Method Detail

setDataset

public void setDataset(XYDataset dataset)
Set the data

Parameters:
dataset - time-based data

setDate

public void setDate(boolean date)
If true, use date axis

Parameters:
date - true for date axis

getChart

public JFreeChart getChart()
Description copied from class: ChartTag
Create and return the chart object.

Specified by:
getChart in class ChartTag
Returns:
The chart
See Also:
ChartTag.getChart()

HiRISE

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