Documentation of 'sgtplot.LineCartesianRenderer' Java class
LineCartesianRenderer
sgtplot

Class LineCartesianRenderer

  • All Implemented Interfaces:
    java.beans.PropertyChangeListener, java.util.EventListener


    public class LineCartesianRenderer
    extends CartesianRenderer
    Produces a line plot with optional coloring from a second data set. If a second data set is specified it must have the same shape as the first.
    Since:
    1.0
    • Constructor Detail

      • LineCartesianRenderer

        public LineCartesianRenderer(CartesianGraph cg,
                                     SGTLine line)
        Construct a LineCartesianRenderer. The default LineAttribute will be used.
        Parameters:
        cg - the parent CartesianGraph
        data - an SGTLine object
        See Also:
        CartesianGraph, Graph
      • LineCartesianRenderer

        public LineCartesianRenderer(CartesianGraph cg,
                                     Collection col,
                                     LineAttribute attr)
        Construct a LineCartesianRenderer.
        Parameters:
        cg - the parent CartesianGraph
        col - a Collection of SGTLine objects
        line - the LineAttribute
        See Also:
        CartesianGraph, Graph
    • Method Detail

      • setLineAttribute

        public void setLineAttribute(LineAttribute l)
        Set the LineAttribute. The line appearance is controlled by this object.
        Parameters:
        l - LineAttribute
      • getLineAttribute

        public LineAttribute getLineAttribute()
        Get the LineAttribute.
        Returns:
        LineAttribute
      • hasCollection

        public boolean hasCollection()
        Test if a Collection of SGTLine was using to construct this renderer.
        Returns:
        true if Collection was used
      • getCollection

        public Collection getCollection()
        Get the Collection of SGTLine objects.
        Returns:
        Collection
      • getLine

        public SGTLine getLine()
        Get the SGTLine object.
        Returns:
        SGTLine
      • propertyChange

        public void propertyChange(java.beans.PropertyChangeEvent evt)

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.