Class GChartsFactory
- java.lang.Object
-
- org.neotropic.kuwaiba.modules.optional.reports.plugins.gcharts.GChartsFactory
-
public class GChartsFactory extends Object
Factory to create charts- Author:
- Johny Andres Ortega Ruiz <johny.ortega@kuwaiba.org>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GChartsFactory.ChartType
Enum of the available type of charts
-
Constructor Summary
Constructors Constructor Description GChartsFactory(HTMLReport report)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HTMLDiv
createHTMLDivWrapperChart(GChartsFactory.ChartType chartType, String chartDivId, String chartTitle, DataTable data)
-
-
-
Constructor Detail
-
GChartsFactory
public GChartsFactory(HTMLReport report)
-
-
Method Detail
-
createHTMLDivWrapperChart
public HTMLDiv createHTMLDivWrapperChart(GChartsFactory.ChartType chartType, String chartDivId, String chartTitle, DataTable data)
- Parameters:
chartType
- Type of chartchartDivId
- An id to render the chartchartTitle
- The title of the chartdata
- The data to show in the chart- Returns:
- A HTML Div tag that wrapped the chart
-
-