|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.chart.plugin.jfreechart.chart.JFreeChartGenerator
public abstract class JFreeChartGenerator
Top Level class that is extended by different chart type creators.
JFreeChartGenerator | ----------------------------------------------------------------------------- | | | JFreeBarChartGenerator .... ... | ------------------------------------------------------- | | | | JFreeStackedGen JFreeLayeredGen JFreeCylinderGen JFreeDefault | --------------------------- | | JFreeStackedPercent JFreeStacked100PercentAuthor: Ravi Hasija Date: May 14, 2008 Time: 4:24:46 PM To change this template use File | Settings | File Templates.
Constructor Summary | |
---|---|
JFreeChartGenerator()
|
Method Summary | |
---|---|
org.jfree.chart.JFreeChart |
createChart(ChartDocumentContext chartDocContext,
ChartTableModel data)
|
void |
createRangeAxis(ChartDocumentContext chartDocContext,
ChartTableModel data,
org.jfree.chart.JFreeChart chart)
Create range axis for the current chart and update the chart object with it. |
Integer[] |
getColumPositions(ChartDocumentContext chartDocContext,
ChartElement axisElement,
AxisSeriesLinkInfo axisSeriesLinkInfo)
Returns custom dataset based on certain column positions. |
Paint |
getPaintFromSeries(ChartElement seriesElement)
This method checks to see if there is a gradient type other than "none" set on seriesElement. |
org.jfree.chart.plot.PlotOrientation |
getPlotOrientation(ChartDocument chartDocument)
Returns the plot orientation (horizontal or vertical) for the current chart. |
static boolean |
getShowLegend(ChartDocument chartDocument)
|
static boolean |
getShowToolTips(ChartDocument chartDocument)
Returns a boolean value that indicates if the chart should generate tooltips |
static String |
getTitle(ChartDocument chartDocument)
Gets the title of the chart defined in the chartDocument |
static String |
getValueAxisLabel(ChartDocument chartDocument)
Returns the ValueAxisLabel of the chart. |
static String |
getValueCategoryLabel(ChartDocument chartDocument)
Returns the ValueCategoryLabel of the chart. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JFreeChartGenerator()
Method Detail |
---|
public static String getTitle(ChartDocument chartDocument)
chartDocument
- - ChartDocument that defines what the series should look like
public static boolean getShowToolTips(ChartDocument chartDocument)
chartDocument
- - ChartDocument that defines what the series should look like
public static String getValueCategoryLabel(ChartDocument chartDocument)
chartDocument
- - ChartDocument that defines what the series should look like
public static String getValueAxisLabel(ChartDocument chartDocument)
chartDocument
- - ChartDocument that defines what the series should look like
public static boolean getShowLegend(ChartDocument chartDocument)
chartDocument
- - ChartDocument that defines what the series should look like
public org.jfree.chart.plot.PlotOrientation getPlotOrientation(ChartDocument chartDocument)
chartDocument
- that contains a orientation on the Plot element
public Integer[] getColumPositions(ChartDocumentContext chartDocContext, ChartElement axisElement, AxisSeriesLinkInfo axisSeriesLinkInfo)
chartDocContext
- Chart document context object for the current chart document.axisElement
- Current axis element.axisSeriesLinkInfo
- Holds information that links the axis id to series element(s).
public void createRangeAxis(ChartDocumentContext chartDocContext, ChartTableModel data, org.jfree.chart.JFreeChart chart)
chartDocContext
- Chart documument context for the current chart.data
- Data for the current chart.chart
- The chart object to be updated with range axis info.public Paint getPaintFromSeries(ChartElement seriesElement)
seriesElement
- - Current series element
public org.jfree.chart.JFreeChart createChart(ChartDocumentContext chartDocContext, ChartTableModel data)
createChart
in interface IJFreeChartGenerator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |