Class GChartsFactory


  • public class GChartsFactory
    extends Object
    Factory to create charts
    Author:
    Johny Andres Ortega Ruiz <johny.ortega@kuwaiba.org>
    • 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 chart
        chartDivId - An id to render the chart
        chartTitle - The title of the chart
        data - The data to show in the chart
        Returns:
        A HTML Div tag that wrapped the chart