HiRISE

HiRISE.HiReport.tags.chart
Class MapChartTag

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

public class MapChartTag
extends ChartTag

Chart that uses MapMaker.


Field Summary
protected  XYSeriesCollection data
          Our data
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
MapChartTag()
           
 
Method Summary
 JFreeChart getChart()
          Create and return the chart object.
 void setBackground(String background)
          Set the background image
 void setDataset(XYSeriesCollection data)
          Set the data to plot
 
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

data

protected XYSeriesCollection data
Our data

Constructor Detail

MapChartTag

public MapChartTag()
Method Detail

setBackground

public void setBackground(String background)
                   throws IOException
Set the background image

Parameters:
background - path to background image
Throws:
IOException - image could not be read

setDataset

public void setDataset(XYSeriesCollection data)
Set the data to plot

Parameters:
data - plot data collection

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