public class ScatterXYZRenderer extends AbstractXYZRenderer implements XYZRenderer, java.io.Serializable
XYZPlot and any XYZDataset instance. Here is a sample:
ScatterPlot3DDemo2.java for the code to generate
the above chart).
Chart3DFactory.createScatterChart(String, String, XYZDataset, String, String, String)
method.
TRANSPARENT_COLOR| Constructor and Description |
|---|
ScatterXYZRenderer()
Creates a new instance with default attribute values.
|
| Modifier and Type | Method and Description |
|---|---|
void |
composeItem(XYZDataset dataset,
int series,
int item,
World world,
Dimension3D dimensions,
double xOffset,
double yOffset,
double zOffset)
Constructs and places one item from the specified dataset into the given
world.
|
boolean |
equals(java.lang.Object obj)
Tests this renderer for equality with an arbitrary object.
|
Offset3D |
getItemLabelOffsetPercent()
Returns the item label offsets.
|
double |
getSize()
Returns the size of the cubes (in world units) used to display each data
item.
|
void |
setItemLabelOffsetPercent(Offset3D offset)
Sets the item label offsets and sends a change event to all registered
listeners.
|
void |
setSize(double size)
Sets the size (in world units) of the cubes used to represent each data
item and sends a
Renderer3DChangeEvent to all registered
listeners. |
composeAll, findXRange, findYRange, findZRange, getColorSource, getComposeType, getItemLabelGenerator, getPlot, setColors, setColorSource, setItemLabelGenerator, setPlotaddChangeListener, fireChangeEvent, getItemLabelBackgroundColor, getItemLabelColor, getItemLabelFont, getItemLabelPositioning, isNotify, notifyListeners, receive, removeChangeListener, setItemLabelBackgroundColor, setItemLabelColor, setItemLabelFont, setItemLabelPositioning, setNotifyclone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomposeAll, findXRange, findYRange, findZRange, getColorSource, getComposeType, getPlot, setColors, setColorSource, setPlotaddChangeListener, removeChangeListenerreceivepublic ScatterXYZRenderer()
public double getSize()
0.10.public void setSize(double size)
Renderer3DChangeEvent to all registered
listeners.size - the size (in world units, must be positive).public Offset3D getItemLabelOffsetPercent()
null).public void setItemLabelOffsetPercent(Offset3D offset)
offset - the new offset (null not permitted).public void composeItem(XYZDataset dataset, int series, int item, World world, Dimension3D dimensions, double xOffset, double yOffset, double zOffset)
XYZPlot class will iterate over its dataset and
and call this method for each item (in other words, you don't need to
call this method directly).composeItem in interface XYZRendererdataset - the dataset (null not permitted).series - the series index.item - the item index.world - the world (null not permitted).dimensions - the dimensions (null not permitted).xOffset - the x-offset.yOffset - the y-offset.zOffset - the z-offset.public boolean equals(java.lang.Object obj)
equals in class AbstractXYZRendererobj - the object to test (null permitted).