public class ScatterSeries extends Series
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.Constructor and Description |
---|
ScatterSeries(String name,
String type,
double size)
Create a new ScatterSeries
|
Modifier and Type | Method and Description |
---|---|
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.
|
addBox, addLine, addMarker, getName, outputToSeries, outputToSeriesFunction, setFloatingPointX, setFloatingPointY, setStyle, toString
public ScatterSeries(String name, String type, double size)
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 ispublic void setRotate(double rotate)
rotate
- how far to rotate the markers, in degrees clockwisepublic void set(double x, double y)
x
- the X co-ordinate to place the markery
- the Y co-ordinate to place the markerCopyright © 2001-2016 Big Faceless Organization