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(String title, ReportingTableModel tm, Query q)
           
 String getChartName()
           
 

Method Detail

getChartName

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

getChart

org.jfree.chart.JFreeChart getChart(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.10078 Copyright © 2001-2011 Groiss Informatics GmbH. All Rights Reserved.