Documentation of 'sgtplot.VectorCartesianRenderer' Java class
VectorCartesianRenderer
sgtplot

Class VectorCartesianRenderer

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


    public class VectorCartesianRenderer
    extends CartesianRenderer
    Produces a vector plot. If a second data set is specified it must have the same shape as the first.
    Since:
    2.1
    • Constructor Detail

      • VectorCartesianRenderer

        public VectorCartesianRenderer(CartesianGraph cg,
                                       SGTVector vector)
        Construct a VectorCartesianRenderer. The default VectorAttribute will be used.
        Parameters:
        cg - the parent CartesianGraph
        data - an SGTVector object
        See Also:
        CartesianGraph, Graph
      • VectorCartesianRenderer

        public VectorCartesianRenderer(CartesianGraph cg,
                                       Collection col,
                                       VectorAttribute attr)
        Construct a VectorCartesianRenderer.
        Parameters:
        cg - the parent CartesianGraph
        col - a Collection of SGTVector objects
        attr - the VectorAttribute
        See Also:
        CartesianGraph, Graph
    • Method Detail

      • setVectorAttribute

        public void setVectorAttribute(VectorAttribute l)
        Set the VectorAttribute. The line appearance is controlled by this object.
        Parameters:
        l - VectorAttribute
      • getVectorAttribute

        public VectorAttribute getVectorAttribute()
        Get the VectorAttribute.
        Returns:
        VectorAttribute
      • hasCollection

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

        public Collection getCollection()
        Get the Collection of SGTVector objects.
        Returns:
        Collection
      • getVector

        public SGTVector getVector()
        Get the SGTVector object.
        Returns:
        SGTVector
      • 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.