Class Graph

  • All Implemented Interfaces:
    ImageObserver, MenuContainer, Serializable, EventListener, Accessible, org.jfree.chart.ChartMouseListener

    public class Graph
    extends CPanel
    implements org.jfree.chart.ChartMouseListener
    Graph
    Version:
    $Id: BarGraph.java,v 1.2 2006/07/30 00:51:28 jjanke Exp $
    Author:
    Jorg Janke, Teo Sarca, www.arhipac.ro
  • BF [ 2507325 ] BarGraph zoom not working, hengsin
  • Add support for other type of graph
  • See Also:
    Serialized Form
    • Constructor Detail

      • Graph

        public Graph()
        Constructor
      • Graph

        public Graph​(MGoal goal)
        Constructor
        Parameters:
        goal - goal
      • Graph

        public Graph​(MGoal goal,
                     boolean userSelection)
        Constructor
        Parameters:
        goal - goal
    • Method Detail

      • getPoint0_0

        public Point getPoint0_0()
        Get Point 0_0
        Returns:
        point
      • getX_AxisLabel

        public String getX_AxisLabel()
        Returns:
        Returns the x_AxisLabel.
      • setX_AxisLabel

        public void setX_AxisLabel​(String axisLabel)
        Parameters:
        axisLabel - The x_AxisLabel to set.
      • getY_AxisLabel

        public String getY_AxisLabel()
        Returns:
        Returns the y_AxisLabel.
      • setY_AxisLabel

        public void setY_AxisLabel​(String axisLabel)
        Parameters:
        axisLabel - The y_AxisLabel to set.
      • getY_TargetLabel

        public String getY_TargetLabel()
        Returns:
        Returns the y_TargetLabel.
      • setY_TargetLabel

        public void setY_TargetLabel​(String targetLabel,
                                     double target)
        Parameters:
        targetLabel - The y_TargetLabel to set.
      • chartMouseClicked

        public void chartMouseClicked​(org.jfree.chart.ChartMouseEvent event)
        Specified by:
        chartMouseClicked in interface org.jfree.chart.ChartMouseListener
      • chartMouseMoved

        public void chartMouseMoved​(org.jfree.chart.ChartMouseEvent event)
        Specified by:
        chartMouseMoved in interface org.jfree.chart.ChartMouseListener
      • getGraphColumnList

        public GraphColumn[] getGraphColumnList()