org.pentaho.chart.plugin.api
Interface IOutput
- All Known Implementing Classes:
- JFreeChartOutput, OpenFlashChartOutput, XmlChartOutput
public interface IOutput
- Author:
- wseyler
persistChart
OutputStream persistChart(OutputStream outputStream,
IOutput.OutputTypes fileType,
int width,
int height)
throws PersistenceException
- Sends the current chart to the outputStream and formats it to the file of fileType.
- Parameters:
outputStream
- fileType
-
- Returns:
-
- Throws:
PersistenceException
persistMap
Writer persistMap(Writer outputStream,
String mapName)
throws PersistenceException
- Persists the current Map to the outputStream using the mapname for the generated map.
For this call to be useful it should follow a call to PersistChart.
- Parameters:
outputStream
- mapName
-
- Returns:
-
- Throws:
PersistenceException
getDrawable
Object getDrawable()