Package net.sf.jasperreports.charts
Interface ChartContext
- All Known Implementing Classes:
ConvertChartContext
public interface ChartContext
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
Method Summary
Modifier and TypeMethodDescriptionevaluateExpression(JRExpression expression) evaluateTextExpression(JRExpression expression) getChart()org.jfree.data.general.Datasetdefault intReturns the resolution of the report the chart belongs to.
-
Method Details
-
getJasperReportsContext
JasperReportsContext getJasperReportsContext() -
getChart
JRChart getChart() -
getReportDpi
default int getReportDpi()Returns the resolution of the report the chart belongs to. Charts lay themselves out in points, so anything derived from the pixel dimensions of the chart element has to be converted before it can be used as a chart coordinate. -
getDataset
org.jfree.data.general.Dataset getDataset() -
getLabelGenerator
Object getLabelGenerator() -
getLocale
Locale getLocale() -
getTimeZone
TimeZone getTimeZone() -
evaluateTextExpression
- Throws:
JRException
-
evaluateExpression
- Throws:
JRException
-