org.infoglue.deliver.util.charts
Class TimeSeriesDiagram
java.lang.Object
org.infoglue.deliver.util.charts.TimeSeriesDiagram
- All Implemented Interfaces:
- XMLDataDiagram
public class TimeSeriesDiagram
- extends java.lang.Object
- implements XMLDataDiagram
An example of a time series chart. For the most part, default settings are used, except that
the renderer is modified to show filled shapes (as well as lines) at each data point.
- Author:
- David Gilbert
|
Method Summary |
org.jfree.chart.JFreeChart |
getChart()
|
void |
renderChart()
|
void |
setChart(org.jfree.chart.JFreeChart chart)
|
void |
setDiagramData(java.lang.String xmlData)
This method takes xml as input for the diagram. |
void |
writeDebug(org.dom4j.Document document)
This method writes a document to System.out. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TimeSeriesDiagram
public TimeSeriesDiagram()
getChart
public org.jfree.chart.JFreeChart getChart()
- Specified by:
getChart in interface XMLDataDiagram
setChart
public void setChart(org.jfree.chart.JFreeChart chart)
renderChart
public void renderChart()
throws java.lang.Exception
- Specified by:
renderChart in interface XMLDataDiagram
- Throws:
java.lang.Exception
setDiagramData
public void setDiagramData(java.lang.String xmlData)
- This method takes xml as input for the diagram.
- Specified by:
setDiagramData in interface XMLDataDiagram
writeDebug
public void writeDebug(org.dom4j.Document document)
throws java.lang.Exception
- This method writes a document to System.out.
- Throws:
java.lang.Exception
Copyright © 2005 InfoGlue.org All Rights Reserved.