com.jinsight.jetchart
Class RadarLineSerie

java.lang.Object
  extended bycom.jinsight.jetchart.AbstractSerie
      extended bycom.jinsight.jetchart.RadarSerie
          extended bycom.jinsight.jetchart.RadarLineSerie
Direct Known Subclasses:
RadarAreaSerie

public class RadarLineSerie
extends RadarSerie

A radar line series displays a contiguous line as the border of an empty polygon where the vertexes are the data points' coordinates. The class RadarLineSerie extends RadarSerie to implement the properties of a radar line series.

See Also:
RadarSerie

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 a radar 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 a radar 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
RadarLineSerie()
          Creates a RadarLineSerie object.
RadarLineSerie(double[] values)
          Creates a RadarLineSerie object.
RadarLineSerie(double[] values, java.lang.String title)
          Creates a RadarLineSerie object.
 
Method Summary
protected  void finalize()
           
 void setLegendStyle(int legendStyle)
          Sets the style of a radar 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 setMarksHeight(int marksHeight)
          Sets the height of a data point mark.
 void setMarksStyle(int marksStyle)
          Sets the style of data points' marks.
 void setMarksWidth(int marksWidth)
          Sets the width of a data point mark.
 void setThickness(int thickness)
          Sets line thickness.
 
Methods inherited from class com.jinsight.jetchart.RadarSerie
getSerieMap, getTitle, getToolTipValues, setColor, setTitle, setValues, setValuesQuery
 
Methods inherited from class com.jinsight.jetchart.AbstractSerie
addMultipleValues, addValue, getId, getMultipleValues, getValues, setHighlightColor, setHighlightEnabled, setId, setLegendEnabled, setMultipleValues, setMultipleValues, setSVGURLs, setToolTipContent, setToolTipEnabled, setValueFormat, setValues
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SOLID_SQUARE_MARK

public static final int SOLID_SQUARE_MARK
Constant used to set marks style to a solid square.

See Also:
Constant Field Values

EMPTY_SQUARE_MARK

public static final int EMPTY_SQUARE_MARK
Constant used to set marks style to an empty square.

See Also:
Constant Field Values

SOLID_TRIANGLE_MARK

public static final int SOLID_TRIANGLE_MARK
Constant used to set marks style to a solid triangle.

See Also:
Constant Field Values

EMPTY_TRIANGLE_MARK

public static final int EMPTY_TRIANGLE_MARK
Constant used to set marks style to an empty triangle.

See Also:
Constant Field Values

SOLID_DIAMOND_MARK

public static final int SOLID_DIAMOND_MARK
Constant used to set marks style to a solid diamond.

See Also:
Constant Field Values

EMPTY_DIAMOND_MARK

public static final int EMPTY_DIAMOND_MARK
Constant used to set marks style to an empty diamond.

See Also:
Constant Field Values

SOLID_CIRCLE_MARK

public static final int SOLID_CIRCLE_MARK
Constant used to set marks style to a solid circle.

See Also:
Constant Field Values

EMPTY_CIRCLE_MARK

public static final int EMPTY_CIRCLE_MARK
Constant used to set marks style to an empty circle.

See Also:
Constant Field Values

X_MARK

public static final int X_MARK
Constant used to set marks style to an X letter.

See Also:
Constant Field Values

SOLID_SQUARE_LEGEND

public static final int SOLID_SQUARE_LEGEND
Constant used to set the legend symbol of a radar line series to a solid square.

See Also:
Constant Field Values

MARK_SHAPE_LEGEND

public static final int MARK_SHAPE_LEGEND
Constant used to set the legend symbol of a radar line series to the shape of its data points marks.

See Also:
Constant Field Values
Constructor Detail

RadarLineSerie

public RadarLineSerie()
Creates a RadarLineSerie object. Default constructor.


RadarLineSerie

public RadarLineSerie(double[] values)
Creates a RadarLineSerie object. This constructor takes an array of double precision numbers.

Parameters:
values - Array of double precision numbers.

RadarLineSerie

public RadarLineSerie(double[] values,
                      java.lang.String title)
Creates a RadarLineSerie object. This constructor takes an array of double precision numbers as the first argument and the series title as the second argument. The series title is displayed inside the legend box.

Parameters:
values - Array of double precision numbers.
title - A String object.
Method Detail

setThickness

public void setThickness(int thickness)
Sets line thickness. Default value is 1 pixel.

Parameters:
thickness - An integer number.

setMarksEnabled

public void setMarksEnabled(boolean isMarksEnabled)
Enables/disables marks on coordinates. If enabled, a small square is displayed on data points. Marks are enabled by default.

Parameters:
isMarksEnabled - A boolean value(true/false).

setMarksColor

public void setMarksColor(java.awt.Color marksColor)
Sets the color of the marks displayed on data points.

Parameters:
marksColor - A Color object.
See Also:
setMarksEnabled(boolean)

setMarksStyle

public void setMarksStyle(int marksStyle)
Sets the style of data points' marks. Marks' style is a solid square by default.

Parameters:
marksStyle - An integer value.
See Also:
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

setMarksWidth

public void setMarksWidth(int marksWidth)
Sets the width of a data point mark. Default value is 6 pixels.

Parameters:
marksWidth - An integer value, larger than zero.
See Also:
setMarksStyle(int), setMarksHeight(int)

setMarksHeight

public void setMarksHeight(int marksHeight)
Sets the height of a data point mark. Default value is 6 pixels.

Parameters:
marksHeight - An integer value, larger than zero.
See Also:
setMarksStyle(int), setMarksWidth(int)

setLegendStyle

public void setLegendStyle(int legendStyle)
Sets the style of a radar line series legend. The legend symbol is a solid square by default, but its shape can be changed to match the shape of respective series marks, in which case a horizontal line crossing the symbol is also displayed. The symbol is painted in the marks color and the crossing line is painted in the series color.

Parameters:
legendStyle - An integer value.
See Also:
SOLID_SQUARE_LEGEND, MARK_SHAPE_LEGEND, setMarksEnabled(boolean)

finalize

protected void finalize()
                 throws java.lang.Throwable
Overrides:
finalize in class RadarSerie
Throws:
java.lang.Throwable