org.infoglue.deliver.util.charts
Class ChartHelper

java.lang.Object
  |
  +--org.infoglue.deliver.util.charts.ChartHelper

public class ChartHelper
extends java.lang.Object

Author:
Mattias Bogeblad This is the helper class for charts. It gives the user a possibility to invoke different charts and supply data.

Constructor Summary
ChartHelper(TemplateController templateController)
          The default constructor.
 
Method Summary
 java.lang.String renderGraph(java.lang.String chartName, java.lang.String dataAsXML, int width, int height)
          This method invokes a named chart with the data supplied in xml-format.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChartHelper

public ChartHelper(TemplateController templateController)
The default constructor.

Method Detail

renderGraph

public java.lang.String renderGraph(java.lang.String chartName,
                                    java.lang.String dataAsXML,
                                    int width,
                                    int height)
This method invokes a named chart with the data supplied in xml-format.