|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jinsight.jetchart.AbstractSerie
com.jinsight.jetchart.GraphSerie
com.jinsight.jetchart.VectorSerie
This class implements the properties and methods of a vector series. A
vector series is a sequence of arrows(vectors) pointing to specific directions.
The direction of each vector is defined by assigning an angle value in
degrees to each data point. The angle ranges from 0 to 360 degrees, and the
start position of a vector line is calculated with respect to a base line.
The position of a base line corresponds to a value calculated against the scale
of the GraphSet one or more vector series belong to, and it has to be
explicitily set.
Charts displaying vector series are always vertical and 2D. Additionally,
vector series do not support legends on data points.
| Field Summary | |
static int |
EMPTY
Constant used to set an arrow style to EMPTY. |
static int |
SOLID
Constant used to set an arrow style to SOLID. |
| Fields inherited from class com.jinsight.jetchart.GraphSerie |
ABOVE_TOP_YAXIS, AREA, BAR, BAR_HLC, BAR_OHLC, BESIDE_TOP_YAXIS, CANDLESTICK, DASHED, EMPTY_CIRCLE_MARK, EMPTY_DIAMOND_MARK, EMPTY_SQUARE_MARK, EMPTY_TRIANGLE_MARK, IMAGE, LEGEND, LINE, LINE_HLC, LINE_OHLC, MARK_SHAPE_LEGEND, POINT, ROUNDED_CANDLESTICK, SOLID_CIRCLE_MARK, SOLID_DIAMOND_MARK, SOLID_SQUARE_LEGEND, SOLID_SQUARE_MARK, SOLID_TRIANGLE_MARK, STACKED_BAR, VECTOR, X_MARK |
| Fields inherited from class com.jinsight.jetchart.AbstractSerie |
CLIENT_SIDE, SERVER_SIDE_CERN, SERVER_SIDE_NCSA |
| Constructor Summary | |
VectorSerie()
Creates a VectorSerie object. |
|
VectorSerie(double[] values)
Creates a VectorSerie object. |
|
VectorSerie(double[] values,
java.lang.String title)
Creates a VectorSerie object. |
|
| Method Summary | |
protected void |
finalize()
|
void |
setArrowBorderColor(java.awt.Color arrowBorderColor)
Sets the color of a vector's arrow border. |
void |
setArrowBorderEnabled(boolean isArrowBorderEnabled)
Enables/disables a border surrounding a vector's arrow. |
void |
setArrowLength(int arrowLength)
Sets the length of a vector's arrow. |
void |
setArrowStyle(int arrowStyle)
Sets the arrow style. |
void |
setArrowWidth(int arrowWidth)
Sets the width of a vector's arrow. |
void |
setBaseLineColor(java.awt.Color baseLineColor)
Sets the color of a vector series base line. |
void |
setBaseLineEnabled(boolean isBaseLineEnabled)
Enables/disables the base line of a vector series. |
void |
setBaseLineValue(double baseLineValue)
Sets the value of the vector series base line. |
void |
setCardinalPointsEnabled(boolean isCardinalPointsEnabled)
Enables/disables data reading as the cardinal points of a wind rose. |
void |
setLength(int length)
Sets the length of a vector's line. |
| Methods inherited from class com.jinsight.jetchart.GraphSerie |
getColor, getMultipleValues, getRegressionLine, getSerieMap, getSerieMap, getSerieMap, getTitle, getType, getValues, removeRegressionLine, setColor, setCoordinatesStatus, setFont, setMarkLegendBackground, setMarkLegendEnabled, setMarkLegendForeground, setMarkLegendOpacityEnabled, setMarksColor, setMarksEnabled, setMarksHeight, setMarksStyle, setMarksWidth, setMultipleValues, setStartPoint, setTitle, setTitleFont, setTitlePosition, setToolTipContent, setValues, setValuesQuery |
| Methods inherited from class com.jinsight.jetchart.AbstractSerie |
addMultipleValues, addValue, getId, setHighlightColor, setHighlightEnabled, setId, setLegendEnabled, setMultipleValues, setSVGURLs, setToolTipEnabled, setValueFormat, setValues |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int SOLID
public static final int EMPTY
| Constructor Detail |
public VectorSerie()
public VectorSerie(double[] values)
values - Array of double precision numbers.setCardinalPointsEnabled(boolean)
public VectorSerie(double[] values,
java.lang.String title)
values - Array of double precision numbers.title - A String object.setCardinalPointsEnabled(boolean)| Method Detail |
public void setBaseLineValue(double baseLineValue)
baseLineValue - A double precision number.public void setBaseLineColor(java.awt.Color baseLineColor)
baseLineColor - A Color object.setBaseLineValue(double)public void setArrowBorderColor(java.awt.Color arrowBorderColor)
arrowBorderColor - A Color object.public void setArrowBorderEnabled(boolean isArrowBorderEnabled)
isArrowBorderEnabled - A boolean value(true/false).setArrowBorderColor(java.awt.Color)public void setBaseLineEnabled(boolean isBaseLineEnabled)
isBaseLineEnabled - A boolean value(true/false).setBaseLineValue(double)public void setLength(int length)
length - An integer value, greater than 1.public void setArrowWidth(int arrowWidth)
arrowWidth - An integer value, greater than 1.public void setArrowLength(int arrowLength)
arrowLength - An integer value, greater than 1.public void setArrowStyle(int arrowStyle)
arrowStyle - An integer number.SOLID,
EMPTYpublic void setCardinalPointsEnabled(boolean isCardinalPointsEnabled)
isCardinalPointsEnabled - A boolean value(true/false).VectorSerie(double[]),
VectorSerie(double[],String)
protected void finalize()
throws java.lang.Throwable
finalize in class GraphSeriejava.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||