Style Intelligence v12.0

inetsoft.graph.coord
Class ParallelCoord

java.lang.Object
  extended by inetsoft.graph.coord.AbstractCoord
      extended by inetsoft.graph.coord.Coordinate
          extended by inetsoft.graph.coord.ParallelCoord
All Implemented Interfaces:
inetsoft.graph.internal.ICoordinate, inetsoft.graph.internal.ILayout, Serializable, Cloneable

public class ParallelCoord
extends Coordinate

A parallel coord consists of a set of parallel vertical axes that plot data points on the axes.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface inetsoft.graph.internal.ICoordinate
ALL_MOST, BOTTOM_AXIS, BOTTOM_MOST, LEFT_AXIS, LEFT_MOST, RIGHT_AXIS, RIGHT_MOST, TOP_AXIS, TOP_MOST
 
Constructor Summary
ParallelCoord()
          Default constructor.
ParallelCoord(Scale[] scales)
          Create a parallel coord.
 
Method Summary
 Object clone()
          Make a copy of this object.
 void createAxis(VGraph vgraph)
          Create axis and other guides for the graph.
 void fit(double x, double y, double w, double h)
          Set the screen transformation to fit the graph to the coord bounds.
 inetsoft.graph.guide.axis.Axis[] getAxes(boolean recursive)
          Get all axes in this coordinate.
 Scale getAxisLabelScale()
          Get the scale for the axes labels.
 int getDimCount()
          Get the number of dimensions in this coordinate.
 double getIntervalSize(double interval)
          Get the interval size in this coordinate.
 Point2D getPosition(double[] tuple)
          Map a tuple (from logic coordinate space) to the chart coordinate space.
 Scale[] getScales()
          Get the scales for this coord.
 void setScales(Scale[] scales)
          Set the scales for this coord.
 
Methods inherited from class inetsoft.graph.coord.Coordinate
equalsContent, getCoordTransform, getDataSet, getMaxHeight, getMaxWidth, getParentCoordinate, getPlotSpec, getScaledCoordTransform, getScaledCoordTransform, getValue, getVGraph, init, layoutText, reflect, rotate, setCoordTransform, setDataSet, setParentCoordinate, setPlotSpec, setVGraph, transform, transformShape, transpose
 
Methods inherited from class inetsoft.graph.coord.AbstractCoord
getCoordBounds, setCoordBounds
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface inetsoft.graph.internal.ILayout
getMinHeight, getMinWidth, getPreferredHeight, getPreferredWidth
 
Methods inherited from interface inetsoft.graph.internal.ICoordinate
getAxesAt, getAxisMinSize, getAxisPreferredSize, getAxisSize, getUnitMinHeight, getUnitMinWidth, getUnitPreferredHeight, getUnitPreferredWidth, isAxisLabelVisible, isAxisTickVisible, setAxisLabelVisible, setAxisSize, setAxisTickVisible
 

Constructor Detail

ParallelCoord

public ParallelCoord()
Default constructor.


ParallelCoord

public ParallelCoord(Scale[] scales)
Create a parallel coord.

Method Detail

getScales

public Scale[] getScales()
Get the scales for this coord.


setScales

public void setScales(Scale[] scales)
Set the scales for this coord.


getPosition

public Point2D getPosition(double[] tuple)
Map a tuple (from logic coordinate space) to the chart coordinate space.

Specified by:
getPosition in class Coordinate
Parameters:
tuple - the tuple in logic space (scaled values).
Returns:
the position of specified tuple.

getIntervalSize

public double getIntervalSize(double interval)
Get the interval size in this coordinate.

Specified by:
getIntervalSize in class Coordinate
Parameters:
interval - interval value.
Returns:
interval size in this coordinate space.

createAxis

public void createAxis(VGraph vgraph)
Create axis and other guides for the graph.

Specified by:
createAxis in class Coordinate
Parameters:
vgraph - visual graph to create axis.

getDimCount

public int getDimCount()
Get the number of dimensions in this coordinate.


fit

public void fit(double x,
                double y,
                double w,
                double h)
Set the screen transformation to fit the graph to the coord bounds.

Specified by:
fit in class Coordinate

getAxisLabelScale

public Scale getAxisLabelScale()
Get the scale for the axes labels.


getAxes

public inetsoft.graph.guide.axis.Axis[] getAxes(boolean recursive)
Get all axes in this coordinate.

Specified by:
getAxes in class AbstractCoord
Parameters:
recursive - true to include axes in nested coordinates.

clone

public Object clone()
Make a copy of this object.

Specified by:
clone in interface inetsoft.graph.internal.ICoordinate
Overrides:
clone in class Coordinate

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.