|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.chart.ChartFactory
public class ChartFactory
API for generating charts
Method Summary | |
---|---|
static ChartDocumentContext |
generateChart(ChartDocument chart,
ChartTableModel tableModel)
|
static ChartDocumentContext |
generateChart(URL chartURL)
Creates a chart based on the chart definition TODO: document / complete |
static ChartDocumentContext |
generateChart(URL chartURL,
ChartTableModel tableModel)
Creats a chart based on the chart definition and the table model TODO: document / complete |
static ChartDocument |
getChartDocument(URL chartURL)
|
static ChartDocument |
getChartDocument(URL chartURL,
boolean cascadeStyles)
|
static IChartPlugin |
getPlugin(String pluginId)
|
static void |
loadDefaultChartPlugins(List<IChartPlugin> plugins)
This method is called from a platform system listener on startup, to initialize the available plugins from the chartbeans configuration file. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static IChartPlugin getPlugin(String pluginId)
public static void loadDefaultChartPlugins(List<IChartPlugin> plugins)
public static ChartDocumentContext generateChart(URL chartURL) throws org.pentaho.reporting.libraries.resourceloader.ResourceException
chartURL
- the URL of the chart definition
org.pentaho.reporting.libraries.resourceloader.ResourceException
- indicates an error loading the chart resources
InvalidChartDefinition
- indicates an error with chart definitionpublic static ChartDocument getChartDocument(URL chartURL) throws org.pentaho.reporting.libraries.resourceloader.ResourceException
org.pentaho.reporting.libraries.resourceloader.ResourceException
public static ChartDocument getChartDocument(URL chartURL, boolean cascadeStyles) throws org.pentaho.reporting.libraries.resourceloader.ResourceException
org.pentaho.reporting.libraries.resourceloader.ResourceException
public static ChartDocumentContext generateChart(URL chartURL, ChartTableModel tableModel) throws org.pentaho.reporting.libraries.resourceloader.ResourceException
chartURL
- the URL of the chart definitiontableModel
- the chart table model for this chart
org.pentaho.reporting.libraries.resourceloader.ResourceException
- indicates an error loading the chart resources
InvalidChartDefinition
- indicates an error with chart definitionpublic static ChartDocumentContext generateChart(ChartDocument chart, ChartTableModel tableModel) throws org.pentaho.reporting.libraries.resourceloader.ResourceException
org.pentaho.reporting.libraries.resourceloader.ResourceException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |