|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.jinsight.jetchart.AbstractSerie | +--com.jinsight.jetchart.ScatterSerie | +--com.jinsight.jetchart.XYLineSerie
This class implements the properties and methods of XY line series. An XY line series is displayed as a sequence of points connected by lines. Each point is associated with a pair of xy values which are calculated with respect to a horizontal and a vertical scales, respectively.
ScatterSerie
Field Summary | |
static int |
EMPTY_CIRCLE_MARK
Constant used to set marks style to an empty circle. |
static int |
EMPTY_DIAMOND_MARK
Constant used to set marks style to an empty diamond. |
static int |
EMPTY_SQUARE_MARK
Constant used to set marks style to an empty square. |
static int |
EMPTY_TRIANGLE_MARK
Constant used to set marks style to an empty triangle. |
static int |
MARK_SHAPE_LEGEND
Constant used to set the legend symbol of an xy line series to the shape of its data points marks. |
static int |
SOLID_CIRCLE_MARK
Constant used to set marks style to a solid circle. |
static int |
SOLID_DIAMOND_MARK
Constant used to set marks style to a solid diamond. |
static int |
SOLID_SQUARE_LEGEND
Constant used to set the legend symbol of an xy line series to a solid square. |
static int |
SOLID_SQUARE_MARK
Constant used to set marks style to a solid square. |
static int |
SOLID_TRIANGLE_MARK
Constant used to set marks style to a solid triangle. |
static int |
X_MARK
Constant used to set marks style to an X letter. |
Fields inherited from class com.jinsight.jetchart.AbstractSerie |
CLIENT_SIDE, SERVER_SIDE_CERN, SERVER_SIDE_NCSA |
Constructor Summary | |
XYLineSerie()
Creates an XYLineSerie object. |
|
XYLineSerie(double[][] multipleValues)
Creates an XYLineSerie object. |
|
XYLineSerie(double[][] multipleValues,
java.lang.String title)
Creates an XYLineSerie object. |
Method Summary | |
void |
setLegendStyle(int legendStyle)
Sets the style of an xy line series legend. |
void |
setMarksColor(java.awt.Color marksColor)
Sets the color of the marks displayed on data points. |
void |
setMarksEnabled(boolean isMarksEnabled)
Enables/disables marks on coordinates. |
void |
setMarksStyle(int marksStyle)
Sets the style of data points' marks. |
void |
setThickness(int thickness)
Sets line thickness. |
Methods inherited from class com.jinsight.jetchart.ScatterSerie |
finalize, getColor, getRegressionLine, getSerieMap, removeRegressionLine, setColor, setMultipleValues, setTitle, setToolTipText, setValuesFormat |
Methods inherited from class com.jinsight.jetchart.AbstractSerie |
getId, getMultipleValues, getValues, setHighlightColor, setHighlightEnabled, setId, setLegendEnabled, setMultipleValues, setSVGURLs, setToolTipContent, setToolTipEnabled, setValueFormat, setValues, setValues, setValuesQuery |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int SOLID_SQUARE_MARK
public static final int EMPTY_SQUARE_MARK
public static final int SOLID_TRIANGLE_MARK
public static final int EMPTY_TRIANGLE_MARK
public static final int SOLID_DIAMOND_MARK
public static final int EMPTY_DIAMOND_MARK
public static final int SOLID_CIRCLE_MARK
public static final int EMPTY_CIRCLE_MARK
public static final int X_MARK
public static final int SOLID_SQUARE_LEGEND
public static final int MARK_SHAPE_LEGEND
Constructor Detail |
public XYLineSerie()
public XYLineSerie(double[][] multipleValues)
multipleValues
- Bidimensional array of double precision numbers.public XYLineSerie(double[][] multipleValues, java.lang.String title)
multipleValues
- Bidimensional array of double precision numbers.title
- A String object. The series title is displayed in the legend box.Method Detail |
public void setThickness(int thickness)
thickness
- An integer number.public void setMarksEnabled(boolean isMarksEnabled)
isMarksEnabled
- A boolean value(true/false).public void setMarksColor(java.awt.Color marksColor)
marksColor
- A Color object.setMarksEnabled(boolean)
public void setMarksStyle(int marksStyle)
marksStyle
- An integer value.setMarksEnabled(boolean)
,
SOLID_SQUARE_MARK
,
EMPTY_SQUARE_MARK
,
SOLID_TRIANGLE_MARK
,
EMPTY_TRIANGLE_MARK
,
SOLID_DIAMOND_MARK
,
EMPTY_DIAMOND_MARK
,
SOLID_CIRCLE_MARK
,
EMPTY_CIRCLE_MARK
,
X_MARK
public void setLegendStyle(int legendStyle)
legendStyle
- An integer value.SOLID_SQUARE_LEGEND
,
MARK_SHAPE_LEGEND
,
setMarksEnabled(boolean)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |