Class PieDatasetChartComponent

    • Field Detail

      • paramName2

        protected String paramName2
      • dataAction

        protected String dataAction
    • Constructor Detail

      • PieDatasetChartComponent

        public PieDatasetChartComponent​(int chartType,
                                        String definitionPath,
                                        int width,
                                        int height,
                                        org.pentaho.platform.api.engine.IPentahoUrlFactory urlFactory,
                                        List messages)
      • PieDatasetChartComponent

        public PieDatasetChartComponent​(String definitionPath,
                                        org.pentaho.platform.api.engine.IPentahoUrlFactory urlFactory,
                                        ArrayList messages)
      • PieDatasetChartComponent

        public PieDatasetChartComponent​(org.pentaho.platform.api.engine.IPentahoUrlFactory urlFactory,
                                        List messages)
    • Method Detail

      • createChart

        public org.jfree.data.general.Dataset createChart​(org.dom4j.Document doc)
        Description copied from class: AbstractJFreeChartComponent
        Creates a Dataset object (actaully one of it's subclasses from the XML doc
        Specified by:
        createChart in class AbstractJFreeChartComponent
        Parameters:
        doc - XML document that describes the chart
        Returns:
        the Dataset Implementation
      • getXmlContent

        public org.dom4j.Document getXmlContent()
        Specified by:
        getXmlContent in interface org.pentaho.platform.api.ui.IXMLComponent
        Specified by:
        getXmlContent in class XmlComponent
      • validate

        public boolean validate()
        Specified by:
        validate in interface org.pentaho.platform.api.ui.IUIComponent
        Specified by:
        validate in class BaseUIComponent