|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.graph.coord.AbstractCoord
inetsoft.graph.coord.Coordinate
inetsoft.graph.coord.TriCoord
public class TriCoord
A triangular coordinate plot points at the intersection of grid lines.
Each element should contain three measures. The first two measures should be
added as dimension, and the last measure added as variable.
A shared scale is used to plot three axes. The scale should be the stacked
range of each row in the dataset. The sum of the three measures should be
constant.
| 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 | |
|---|---|
TriCoord()
Default constructor. |
|
TriCoord(Scale scale)
Create a triangular coordinate using a shared scale. |
|
| 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 specified output size. |
inetsoft.graph.guide.axis.Axis[] |
getAxes(boolean recursive)
Get all axes in this coordinate. |
int |
getDimCount()
Get the number of dimensions in this coordinate. |
double |
getIntervalSize(double interval)
Get the interval size in this coordinate space. |
Point2D |
getPosition(double[] tuple)
Map a tuple (from logic coordinate space) to the chart coordinate space. |
Scale |
getScale()
Get the scale of the coord. |
Scale[] |
getScales()
Get the scales used in the coordinate. |
void |
setScale(Scale scale)
Set the scale for the 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 |
|---|
public TriCoord()
public TriCoord(Scale scale)
| Method Detail |
|---|
public void setScale(Scale scale)
public Scale getScale()
public Point2D getPosition(double[] tuple)
getPosition in class Coordinatetuple - the tuple in logic space (scaled values).
public double getIntervalSize(double interval)
getIntervalSize in class Coordinateinterval - interval value.
public void createAxis(VGraph vgraph)
createAxis in class Coordinatevgraph - visual graph to create axis.
public void fit(double x,
double y,
double w,
double h)
fit in class Coordinatex - horizontal position.y - vertical position.w - width to scale to.h - height to scale to.public int getDimCount()
public Scale[] getScales()
public inetsoft.graph.guide.axis.Axis[] getAxes(boolean recursive)
getAxes in class AbstractCoordrecursive - true to include axes in nested coordinates.public Object clone()
clone in interface inetsoft.graph.internal.ICoordinateclone in class Coordinate
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||