public class BubbleSeries extends Series
Constructor and Description |
---|
BubbleSeries(String name)
Create a new BubbleSeries
|
Modifier and Type | Method and Description |
---|---|
void |
set(double x,
double y,
double radius)
Add a simple, circular bubble to the graph.
|
void |
set(double x,
double y,
double xradius,
double yradius,
double xrange,
double yrange)
Add an elliptic bubble to the graph with "range" markers.
|
void |
setStyle(double x,
double y,
Style style)
Set the style for the bubble at this position.
|
addBox, addLine, addMarker, getName, outputToSeries, outputToSeriesFunction, setFloatingPointX, setFloatingPointY, setStyle, toString
public BubbleSeries(String name)
name
- the name of the seriespublic void set(double x, double y, double radius)
x
- the X co-ordinate of the center of the bubbley
- the Y co-ordinate of the center of the bubbleradius
- the radius of the bubblepublic void set(double x, double y, double xradius, double yradius, double xrange, double yrange)
x
- the X co-ordinate of the center of the bubbley
- the Y co-ordinate of the center of the bubblexradius
- the horizontal radius of the bubbleyradius
- the vertical radius of the bubblexrange
- half the length of the line going through the bubble horizontally. If 0 no horizontal line is drawnyrange
- half the length of the line going through the bubble vertically. If 0 no vertical line is drawnpublic void setStyle(double x, double y, Style style)
x
- the X co-ordinate of the center of the bubbley
- the Y co-ordinate of the center of the bubblestyle
- the style to use to draw the bubbleCopyright © 2001-2016 Big Faceless Organization