com.jinsight.jetchart
Class PolarPointSerie

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

public class PolarPointSerie
extends PolarSerie

This class implements the properties and methods of a polar point series. Data points are displayed as small points that can assume different shapes, as squares, circles, triangles, crosses and dots.

See Also:
PolarSerie

Field Summary
static int CIRCLE
          Constant used to define the point shape to a circle.
static int CROSS
          Constant used to define the point shape to a cross.
static int DOT
          Constant used to define the point shape to a dot.
static int SQUARE
          Constant used to define the point shape to a square.
static int TRIANGLE
          Constant used to define the point shape to a triangle.
 
Fields inherited from class com.jinsight.jetchart.AbstractSerie
CLIENT_SIDE, SERVER_SIDE_CERN, SERVER_SIDE_NCSA
 
Constructor Summary
PolarPointSerie()
          Creates a PolarPointSerie object.
PolarPointSerie(double[][] multipleValues)
          Creates a PolarPointSerie object.
PolarPointSerie(double[][] multipleValues, java.lang.String title)
          Creates a PolarPointSerie object.
 
Method Summary
 void setHeight(int height)
          Sets the height of a point shape.
 void setShape(int shape)
          Sets data point shape.
 void setWidth(int width)
          Sets the width of a point shape.
 
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

SQUARE

public static final int SQUARE
Constant used to define the point shape to a square.

See Also:
Constant Field Values

CIRCLE

public static final int CIRCLE
Constant used to define the point shape to a circle.

See Also:
Constant Field Values

TRIANGLE

public static final int TRIANGLE
Constant used to define the point shape to a triangle.

See Also:
Constant Field Values

CROSS

public static final int CROSS
Constant used to define the point shape to a cross.

See Also:
Constant Field Values

DOT

public static final int DOT
Constant used to define the point shape to a dot.

See Also:
Constant Field Values
Constructor Detail

PolarPointSerie

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


PolarPointSerie

public PolarPointSerie(double[][] multipleValues)
Creates a PolarPointSerie 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.

PolarPointSerie

public PolarPointSerie(double[][] multipleValues,
                       java.lang.String title)
Creates a PolarPointSerie 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

setShape

public void setShape(int shape)
Sets data point shape. Five shapes are available: circle, square, triangle, cross and dot.

Parameters:
shape - one of the constants used to set the point shape.
See Also:
SQUARE, CIRCLE, TRIANGLE, CROSS, DOT

setWidth

public void setWidth(int width)
Sets the width of a point shape. Has no effect on DOT shapes. Default value is 6 pixels.

Parameters:
width - An integer value, larger than zero.
See Also:
setShape(int), setHeight(int)

setHeight

public void setHeight(int height)
Sets the height of a point shape. Has no effect on DOT shapes. Default value is 6 pixels.

Parameters:
height - An integer value, larger than zero.
See Also:
setShape(int), setWidth(int)