com.jinsight.jetchart
Class PolarLineSerie

java.lang.Object
  extended bycom.jinsight.jetchart.AbstractSerie
      extended bycom.jinsight.jetchart.PolarSerie
          extended bycom.jinsight.jetchart.PolarLineSerie

public class PolarLineSerie
extends PolarSerie

This class implements the properties and methods of a polar line series. The data points of a polar line series are connected by lines. Polar line series can display marks with different shapes on the data points.

See Also:
PolarSerie

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 polar 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 polar 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
PolarLineSerie()
          Creates a PolarLineSerie object.
PolarLineSerie(double[][] multipleValues)
          Creates a PolarLineSerie object.
PolarLineSerie(double[][] multipleValues, java.lang.String title)
          Creates a PolarLineSerie object.
 
Method Summary
 void setLegendStyle(int legendStyle)
          Sets the style of a polar 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.PolarSerie
getSerieMap, getTitle, setColor, setDataPointLegendColor, setDataPointLegendFont, setDataPointLegends, setMultipleValues, setTitle, setToolTipText, setValuesFormat, setValuesQuery
 
Methods inherited from class com.jinsight.jetchart.AbstractSerie
addMultipleValues, addValue, finalize, getId, getMultipleValues, getValues, setHighlightColor, setHighlightEnabled, setId, setLegendEnabled, setMultipleValues, setSVGURLs, setToolTipContent, setToolTipEnabled, setValueFormat, setValues, 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 polar 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 polar line series to the shape of its data points marks.

See Also:
Constant Field Values
Constructor Detail

PolarLineSerie

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


PolarLineSerie

public PolarLineSerie(double[][] multipleValues)
Creates a PolarLineSerie object. This constructor takes a bidimensional array of double precision numbers. Each subarray has the radius(r) and angle(theta) values that define the position of a data point on a polar coordinate system.

Parameters:
multipleValues - Bidimensional array of double precision numbers.

PolarLineSerie

public PolarLineSerie(double[][] multipleValues,
                      java.lang.String title)
Creates a PolarLineSerie object. This constructor takes a bidimensional array of double precision numbers as the first argument and the series title as the second argument. Each subarray of the bidimensional array has the radius(r) and angle(theta) values that define the position of a data point on a polar coordinate system.

Parameters:
multipleValues - Bidimensional array of double precision numbers.
title - A String object. The series title is displayed inside the legend box.
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 polar 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)