|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.eastwood.ChartEngine
public class ChartEngine
The chart engine contains the code that reads the chart parameters and
returns a corresponding JFreeChart
instance.
Constructor Summary | |
---|---|
ChartEngine()
|
Method Summary | |
---|---|
static org.jfree.chart.JFreeChart |
buildChart(java.util.Map params)
Creates and returns a new JFreeChart instance that
reflects the specified parameters (which should be equivalent to
a parameter map returned by HttpServletRequest.getParameterMap() for
a valid URI for the Google Chart API. |
static org.jfree.chart.JFreeChart |
buildChart(java.util.Map params,
java.awt.Font font)
Creates and returns a new JFreeChart instance that
reflects the specified parameters (which should be equivalent to
a parameter map returned by HttpServletRequest.getParameterMap() for
a valid URI for the Google Chart API. |
static java.awt.Dimension |
parseDimensions(java.lang.String text)
Parses a string containing the chart dimensions. |
static void |
processEWTR(java.util.Map params,
org.jfree.chart.JFreeChart chart)
The 'ewtr' tag is an Eastwood extension that draws a trend line over a chart, using data that has been added to a secondary dataset using the 'ewd2' tag. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChartEngine()
Method Detail |
---|
public static org.jfree.chart.JFreeChart buildChart(java.util.Map params)
JFreeChart
instance that
reflects the specified parameters (which should be equivalent to
a parameter map returned by HttpServletRequest.getParameterMap() for
a valid URI for the Google Chart API.
params
- the parameters (null
not permitted).
public static org.jfree.chart.JFreeChart buildChart(java.util.Map params, java.awt.Font font)
JFreeChart
instance that
reflects the specified parameters (which should be equivalent to
a parameter map returned by HttpServletRequest.getParameterMap() for
a valid URI for the Google Chart API.
params
- the parameters (null
not permitted).font
- the font to use to draw titles, labels and legends.
public static void processEWTR(java.util.Map params, org.jfree.chart.JFreeChart chart)
params
- the chart parameters;chart
- the chart under construction (will be updated by this
method if necessary).public static java.awt.Dimension parseDimensions(java.lang.String text)
text
- the text (null
not permitted).
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |