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
 void addHtmlOptions(Query q, XHTMLPage p)
          adds the needed HTML Option fields to the export options page
 org.jfree.chart.JFreeChart getChart(java.lang.String title, ReportingTableModel tm, Query q)
           
 java.lang.String getChartName()
           
 

Method Detail

getChartName

java.lang.String getChartName()
Returns:
the name of this charttype ..

getChart

org.jfree.chart.JFreeChart getChart(java.lang.String title,
                                    ReportingTableModel tm,
                                    Query q)
Parameters:
title - Title of the chart
tm - the report result table model
q - the query object containing the chart meta data
Returns:
a JFreeChart Object

addHtmlOptions

void addHtmlOptions(Query q,
                    XHTMLPage p)
adds the needed HTML Option fields to the export options page

Parameters:
q - the query object
p - the xhtmlpage to extend


@enterprise 8.0.22989 Copyright © 2001-2017 Groiss Informatics GmbH. All Rights Reserved.