Class XYSeriesCollectionChartComponent

  • All Implemented Interfaces:
    Serializable, org.pentaho.platform.api.engine.ILogger, org.pentaho.platform.api.ui.IUIComponent, org.pentaho.platform.api.ui.IXMLComponent

    public class XYSeriesCollectionChartComponent
    extends AbstractJFreeChartComponent
    See Also:
    Serialized Form
    • Field Detail

      • seriesName

        protected String seriesName
    • Constructor Detail

      • XYSeriesCollectionChartComponent

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

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

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

      • setSeriesName

        public void setSeriesName​(String seriesName)
      • 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