|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.romaframework.module.chart.jfreechart.helper.ChartHelper
public class ChartHelper
provides methods to render collections as charts
| Constructor Summary | |
|---|---|
ChartHelper()
|
|
| Method Summary | |
|---|---|
static ChartRenderer |
generateChartRenderer(java.util.Collection<?> coll)
creates a ChartRenderer object from a Collection |
static ChartRenderer |
generateChartRenderer(java.util.Map<?,?> map)
creates a ChartRenderer object from a Map |
static void |
render(java.util.Collection<?> coll,
java.io.OutputStream stream)
renders a collection as a chart |
static void |
render(java.util.Collection<?> coll,
RenderOptions options,
java.io.OutputStream stream)
renders a collection as a chart |
static void |
render(java.util.Map<?,?> map,
java.io.OutputStream stream)
renders a Map as a chart |
static void |
render(java.util.Map<?,?> map,
RenderOptions options,
java.io.OutputStream stream)
renders a Map as a chart |
static void |
setLabelOrientation(org.jfree.chart.JFreeChart chart,
RenderOptions options)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChartHelper()
| Method Detail |
|---|
public static void render(java.util.Collection<?> coll,
java.io.OutputStream stream)
throws InvalidDataFormatException,
java.io.IOException
coll - the collection (must be a Collection<Number>, or a Collection<Collection<Number>> )stream - the stream where the chart has to be written
InvalidDataFormatException
java.io.IOException
public static void render(java.util.Collection<?> coll,
RenderOptions options,
java.io.OutputStream stream)
throws InvalidDataFormatException,
java.io.IOException
coll - the collection (must be a Collection<Number>, or a Collection<Collection<Number>> )options - the options about how to render the chartstream - the stream where the chart has to be written
InvalidDataFormatException
java.io.IOException
public static void render(java.util.Map<?,?> map,
java.io.OutputStream stream)
throws InvalidDataFormatException,
java.io.IOException
map - the map to be rendered as a chart (must be a Map<Comparable, Number>, or a Map<Comparable, Map<Comparable,
Number>> )stream - the stream where the chart has to be written
InvalidDataFormatException
java.io.IOException
public static void render(java.util.Map<?,?> map,
RenderOptions options,
java.io.OutputStream stream)
throws InvalidDataFormatException,
java.io.IOException
map - the map to be rendered as a chart (must be a Map<Comparable, Number>, or a Map<Comparable, Map<Comparable,
Number>> )options - the options about how to render the chartstream - the stream where the chart has to be written
InvalidDataFormatException
java.io.IOException
public static ChartRenderer generateChartRenderer(java.util.Collection<?> coll)
throws InvalidDataFormatException
coll - the collection that must be transformed in a ChartRenderer (must be a Collection<Number>, or a
Collection<Collection<Number>> )
InvalidDataFormatException
public static ChartRenderer generateChartRenderer(java.util.Map<?,?> map)
throws InvalidDataFormatException
map - the Map that must be transformed in a ChartRenderer (must be a Map<Comparable, Number>, or a Map<Comparable,
Map<Comparable, Number>> )
InvalidDataFormatException
public static void setLabelOrientation(org.jfree.chart.JFreeChart chart,
RenderOptions options)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||