Class DialChartComponent

    • Constructor Detail

      • DialChartComponent

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

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

        public DialChartComponent​(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
      • setValue

        public void setValue​(double value)
        Sets the value to be displayed by the dial.
        Parameters:
        value - The dial value