java.lang.Object | ||
↳ | org.jfree.chart.plot.Plot | |
↳ | org.jfree.chart.plot.FastScatterPlot |
A fast scatter plot.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DEFAULT_GRIDLINE_PAINT | The default grid line paint. | ||||||||||
DEFAULT_GRIDLINE_STROKE | The default grid line stroke. | ||||||||||
localizationResources | The resourceBundle for the localization. |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new instance of
FastScatterPlot with default
axes. | |||||||||||
Creates a new fast scatter plot.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns a clone of the plot.
| |||||||||||
Draws the fast scatter plot on a Java 2D graphics device (such as the
screen or a printer).
| |||||||||||
Tests an arbitrary object for equality with this plot.
| |||||||||||
Returns the data array used by the plot.
| |||||||||||
Returns the range of data values to be plotted along the axis, or
null if the specified axis isn't the domain axis or the
range axis for the plot. | |||||||||||
Returns the domain axis for the plot.
| |||||||||||
Returns the paint for the grid lines (if any) plotted against the domain
axis.
| |||||||||||
Returns the stroke for the grid-lines (if any) plotted against the
domain axis.
| |||||||||||
Returns the orientation of the plot.
| |||||||||||
Returns the paint used to plot data points.
| |||||||||||
Returns a short string describing the plot type.
| |||||||||||
Returns the range axis for the plot.
| |||||||||||
Returns the paint for the grid lines (if any) plotted against the range
axis.
| |||||||||||
Returns the stroke for the grid lines (if any) plotted against the range
axis.
| |||||||||||
Returns
true if the domain gridlines are visible, and
false | |||||||||||
Returns
true if panning is enabled for the domain axes,
and false otherwise. | |||||||||||
Returns
true . | |||||||||||
Returns
true if the range axis grid is visible, and
false | |||||||||||
Returns
true if panning is enabled for the range axes,
and false otherwise. | |||||||||||
Returns
true . | |||||||||||
Pans the domain axes by the specified percentage.
| |||||||||||
Pans the range axes by the specified percentage.
| |||||||||||
Draws a representation of the data within the dataArea region.
| |||||||||||
Sets the data array used by the plot and sends a
PlotChangeEvent
to all registered listeners. | |||||||||||
Sets the domain axis and sends a
PlotChangeEvent to all
registered listeners. | |||||||||||
Sets the paint for the grid lines plotted against the domain axis and
sends a
PlotChangeEvent to all registered listeners. | |||||||||||
Sets the stroke for the grid lines plotted against the domain axis and
sends a
PlotChangeEvent to all registered listeners. | |||||||||||
Sets the flag that controls whether or not the domain grid-lines are
visible.
| |||||||||||
Sets the flag that enables or disables panning of the plot along the
domain axes.
| |||||||||||
Sets the color for the data points and sends a
PlotChangeEvent
to all registered listeners. | |||||||||||
Sets the range axis and sends a
PlotChangeEvent to all
registered listeners. | |||||||||||
Sets the paint for the grid lines plotted against the range axis and
sends a
PlotChangeEvent to all registered listeners. | |||||||||||
Sets the stroke for the grid lines plotted against the range axis and
sends a
PlotChangeEvent to all registered listeners. | |||||||||||
Sets the flag that controls whether or not the range axis grid lines are
visible.
| |||||||||||
Sets the flag that enables or disables panning of the plot along
the range axes.
| |||||||||||
Multiplies the range on the domain axis by the specified factor.
| |||||||||||
Multiplies the range on the domain axis by the specified factor.
| |||||||||||
Zooms in on the domain axes.
| |||||||||||
Multiplies the range on the range axis/axes by the specified factor.
| |||||||||||
Multiplies the range on the range axis by the specified factor.
| |||||||||||
Zooms in on the range axes.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Draws the gridlines for the plot, if they are visible.
| |||||||||||
Draws the gridlines for the plot, if they are visible.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Creates a new instance of FastScatterPlot
with default
axes.
Creates a new fast scatter plot.
The data is an array of x, y values: data[0][i] = x, data[1][i] = y.
data | the data (null permitted). |
---|---|
domainAxis | the domain (x) axis (null not permitted). |
rangeAxis | the range (y) axis (null not permitted).
|
Returns a clone of the plot.
CloneNotSupportedException | if some component of the plot does not support cloning. |
---|
Draws the fast scatter plot on a Java 2D graphics device (such as the screen or a printer).
g2 | the graphics device. |
---|---|
area | the area within which the plot (including axis labels) should be drawn. |
anchor | the anchor point (null permitted). |
parentState | the state from the parent plot (ignored). |
info | collects chart drawing information (null
permitted).
|
Tests an arbitrary object for equality with this plot. Note that
FastScatterPlot
carries its data around with it (rather
than referencing a dataset), and the data is included in the
equality test.
obj | the object (null permitted). |
---|
Returns the data array used by the plot.
null
).Returns the range of data values to be plotted along the axis, or
null
if the specified axis isn't the domain axis or the
range axis for the plot.
axis | the axis (null permitted). |
---|
null
).
Returns the domain axis for the plot.
null
).Returns the paint for the grid lines (if any) plotted against the domain axis.
null
).Returns the stroke for the grid-lines (if any) plotted against the domain axis.
null
).Returns the orientation of the plot.
VERTICAL
).
Returns the paint used to plot data points. The default is
Color.red
.
Returns a short string describing the plot type.
Returns the range axis for the plot.
null
).Returns the paint for the grid lines (if any) plotted against the range axis.
null
).Returns the stroke for the grid lines (if any) plotted against the range axis.
null
).Returns true
if the domain gridlines are visible, and
false
otherwise.
true
or false
.Returns true
if panning is enabled for the domain axes,
and false
otherwise.
Returns true
.
Returns true
if the range axis grid is visible, and
false
otherwise.
true
or false
.Returns true
if panning is enabled for the range axes,
and false
otherwise.
Returns true
.
Pans the domain axes by the specified percentage.
percent | the distance to pan (as a percentage of the axis length). |
---|---|
info | the plot info |
source | the source point where the pan action started. |
Pans the range axes by the specified percentage.
percent | the distance to pan (as a percentage of the axis length). |
---|---|
info | the plot info |
source | the source point where the pan action started. |
Draws a representation of the data within the dataArea region. The
info
and crosshairState
arguments may be
null
.
g2 | the graphics device. |
---|---|
dataArea | the region in which the data is to be drawn. |
info | an optional object for collection dimension information. |
crosshairState | collects crosshair information (null
permitted).
|
Sets the data array used by the plot and sends a PlotChangeEvent
to all registered listeners.
data | the data array (null permitted). |
---|
Sets the domain axis and sends a PlotChangeEvent
to all
registered listeners.
axis | the axis (null not permitted). |
---|
Sets the paint for the grid lines plotted against the domain axis and
sends a PlotChangeEvent
to all registered listeners.
paint | the paint (null not permitted). |
---|
Sets the stroke for the grid lines plotted against the domain axis and
sends a PlotChangeEvent
to all registered listeners.
stroke | the stroke (null not permitted). |
---|
Sets the flag that controls whether or not the domain grid-lines are
visible. If the flag value is changed, a PlotChangeEvent
is
sent to all registered listeners.
visible | the new value of the flag. |
---|
Sets the flag that enables or disables panning of the plot along the domain axes.
pannable | the new flag value. |
---|
Sets the color for the data points and sends a PlotChangeEvent
to all registered listeners.
paint | the paint (null not permitted). |
---|
Sets the range axis and sends a PlotChangeEvent
to all
registered listeners.
axis | the axis (null not permitted). |
---|
Sets the paint for the grid lines plotted against the range axis and
sends a PlotChangeEvent
to all registered listeners.
paint | the paint (null not permitted). |
---|
Sets the stroke for the grid lines plotted against the range axis and
sends a PlotChangeEvent
to all registered listeners.
stroke | the stroke (null permitted). |
---|
Sets the flag that controls whether or not the range axis grid lines are
visible. If the flag value is changed, a PlotChangeEvent
is
sent to all registered listeners.
visible | the new value of the flag. |
---|
Sets the flag that enables or disables panning of the plot along the range axes.
pannable | the new flag value. |
---|
Multiplies the range on the domain axis by the specified factor.
factor | the zoom factor. |
---|---|
info | the plot rendering info. |
source | the source point. |
Multiplies the range on the domain axis by the specified factor.
factor | the zoom factor. |
---|---|
info | the plot rendering info. |
source | the source point (in Java2D space). |
useAnchor | use source point as zoom anchor? |
Zooms in on the domain axes.
lowerPercent | the new lower bound as a percentage of the current range. |
---|---|
upperPercent | the new upper bound as a percentage of the current range. |
info | the plot rendering info. |
source | the source point. |
Multiplies the range on the range axis/axes by the specified factor.
factor | the zoom factor. |
---|---|
info | the plot rendering info. |
source | the source point. |
Multiplies the range on the range axis by the specified factor.
factor | the zoom factor. |
---|---|
info | the plot rendering info. |
source | the source point (in Java2D space). |
useAnchor | use source point as zoom anchor? |
Zooms in on the range axes.
lowerPercent | the new lower bound as a percentage of the current range. |
---|---|
upperPercent | the new upper bound as a percentage of the current range. |
info | the plot rendering info. |
source | the source point. |
Draws the gridlines for the plot, if they are visible.
g2 | the graphics device. |
---|---|
dataArea | the data area. |
ticks | the ticks. |
Draws the gridlines for the plot, if they are visible.
g2 | the graphics device. |
---|---|
dataArea | the data area. |
ticks | the ticks. |