ScatterChart

public class ScatterChart
extends Chart
Hierarchy:
ObjectChart ⯈ ScatterChart

Line chart on XY plane where data points are independent (X, Y) pairs.

Summary

Nested Classes
static class ScatterChart.Population
Instance Fields
String axisLineStyle
Inherited from Chart.
ValueAxis axisx
ValueAxis axisy
String chartAreaStyle
Inherited from Chart.
int chartHeight
Inherited from Chart.
int chartWidth
Inherited from Chart.
boolean clipChart
Inherited from Chart.
String frameStyle
Inherited from Chart.
String gridLineStyle
Inherited from Chart.
String id
Inherited from Chart.
Legend legend
Inherited from Chart.
int marginBottom
Inherited from Chart.
int marginLeft
Inherited from Chart.
int marginRight
Inherited from Chart.
int marginTop
Inherited from Chart.
ArrayList<ScatterChart.Population> populations
String title
Inherited from Chart.
Anchor titleAnchorX
Inherited from Chart.
Anchor titleAnchorY
Inherited from Chart.
String titleStyle
Inherited from Chart.
Constructors
ScatterChart ()
Default constructor.
Instance Methods
<T extends ChartPopulation>void addPop (T pop)
<T extends ChartPopulation>void addPopLegend (T pop)
<T extends ChartPopulation>void addPopLegend (String name, T pop)
protected double calcLeft (Anchor a, double width, boolean inside)
Inherited from Chart.
protected double calcTop (Anchor a, double height, boolean inside)
Inherited from Chart.
protected double calcx (Anchor a)
Inherited from Chart.
protected double calcx (Anchor a, double mid)
Inherited from Chart.
protected double calcx (double v)
protected double calcy (Anchor a)
Inherited from Chart.
protected double calcy (Anchor a, double mid)
Inherited from Chart.
protected double calcy (double v)
int getHeight ()
Inherited from Chart.
int getWidth ()
Inherited from Chart.
protected void printAxes (PrintStream out)
void printChart (PrintStream out)
Inherited from Chart.
protected void printData (PrintStream out)
protected void printDefs (PrintStream out)
Inherited from Chart.
protected void printGrid (PrintStream out)
void printPage (PrintStream out)
Inherited from Chart.
protected void printStyles (PrintStream out)
Inherited from Chart.
Chart setMargins (int left, int right, int top, int bottom)
Inherited from Chart.
Chart setSize (int w, int h)
Inherited from Chart.
Chart setTitle (String title)
Inherited from Chart.
Chart setTitle (String title, Anchor anchorX, Anchor anchorY)
Inherited from Chart.
Show all inherited methods (11 more)
protected native Object clone ()
Inherited from Object.
boolean equals (Object)
Inherited from Object.
protected void finalize ()
Inherited from Object.
final native Class<?> getClass ()
Inherited from Object.
native int hashCode ()
Inherited from Object.
final native void notify ()
Inherited from Object.
final native void notifyAll ()
Inherited from Object.
String toString ()
Inherited from Object.
final void wait ()
Inherited from Object.
final native void wait (long)
Inherited from Object.
final void wait (long, int)
Inherited from Object.

axisx

public ValueAxis axisx;

axisy

public ValueAxis axisy;

addPop

public <T extends ChartPopulation>void addPop (
	T pop
);

addPopLegend

public <T extends ChartPopulation>void addPopLegend (
	T pop
);

addPopLegend

public <T extends ChartPopulation>void addPopLegend (
	String name,
	T pop
);

calcx

protected double calcx (
	double v
);

calcy

protected double calcy (
	double v
);

printGrid

@Override
protected void printGrid (
	PrintStream out
);

Overrides Chart.printGrid(PrintStream).

printData

@Override
protected void printData (
	PrintStream out
);

Overrides Chart.printData(PrintStream).

printAxes

@Override
protected void printAxes (
	PrintStream out
);

Overrides Chart.printAxes(PrintStream).