Package com.groiss.reporting.export
Interface ChartType
public interface ChartType
To generate Charts reporting uses the JfreeChart libary. A reporting charttype hast to implement this interface
-
Method Summary
Modifier and TypeMethodDescriptionorg.jfree.chart.JFreeChart
getChart
(String title, ReportingTableModel tm, Query q) org.jfree.data.general.Dataset
getDataSet
(ReportingTableModel tm, Query q) toJson
(ReportingTableModel tm, Query q)
-
Method Details
-
getChartName
String getChartName()- Returns:
- the name of this charttype ..
-
getChart
- Parameters:
title
- Title of the charttm
- the report result table modelq
- the query object containing the chart meta data- Returns:
- a JFreeChart Object
-
getDataSet
-
getExportOptionsJSON
JSONArray getExportOptionsJSON() -
toJson
-
getDojoChartType
-