Class ConvertChartContext
java.lang.Object
net.sf.jasperreports.charts.convert.ConvertChartContext
- All Implemented Interfaces:
ChartContext
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConvertChartContext(ReportConverter reportConverter, JRChart chart) -
Method Summary
Modifier and TypeMethodDescriptionevaluateExpression(JRExpression expression) evaluateTextExpression(JRExpression expression) getChart()org.jfree.data.general.DatasetintReturns the resolution of the report the chart belongs to.
-
Constructor Details
-
ConvertChartContext
-
-
Method Details
-
getReportDpi
public int getReportDpi()Description copied from interface:ChartContextReturns 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.- Specified by:
getReportDpiin interfaceChartContext
-
getJasperReportsContext
- Specified by:
getJasperReportsContextin interfaceChartContext
-
evaluateTextExpression
- Specified by:
evaluateTextExpressionin interfaceChartContext- Throws:
JRException
-
evaluateExpression
- Specified by:
evaluateExpressionin interfaceChartContext- Throws:
JRException
-
getChart
- Specified by:
getChartin interfaceChartContext
-
getDataset
public org.jfree.data.general.Dataset getDataset()- Specified by:
getDatasetin interfaceChartContext
-
getLabelGenerator
- Specified by:
getLabelGeneratorin interfaceChartContext
-
getLocale
- Specified by:
getLocalein interfaceChartContext
-
getTimeZone
- Specified by:
getTimeZonein interfaceChartContext
-