org.faceless.graph2
Class ScatterSeries
java.lang.Object
org.faceless.graph2.Series
org.faceless.graph2.ScatterSeries
public class ScatterSeries
- extends Series
The ScatterSeries allows you to draw a series which is entirely made up
of Marker
objects and nothing else. Calling the set(double, double)
method in this class is identical to adding a Marker with the
Series.addMarker()
method.
Method Summary |
void |
set(double x,
double y)
Add a new marker at (x,y) |
void |
setRotate(double rotate)
Set the optional rotation for the markers in the series, in degrees clockwise. |
ScatterSeries
public ScatterSeries(String name,
String type,
double size)
- Create a new ScatterSeries
- Parameters:
name
- the name of the seriestype
- The type of Marker to add when setting a point. This value will
be passed in to the Marker
constructor as the
type
parameter.size
- the size of the marker, in pixels, points or whatever the native unit of
your Output is
setRotate
public void setRotate(double rotate)
- Set the optional rotation for the markers in the series, in degrees clockwise.
The default value is zero
- Parameters:
rotate
- how far to rotate the markers, in degrees clockwise
set
public void set(double x,
double y)
- Add a new marker at (x,y)
- Parameters:
x
- the X co-ordinate to place the markery
- the Y co-ordinate to place the marker
Copyright © 2001-2011 Big Faceless Organization