public class LineRenderer3D extends AbstractCategoryRenderer3D implements java.io.Serializable
CategoryPlot3D class to create
3D lines charts from data in a CategoryDataset3D. The
createLineChart() method in the Chart3DFactory class
will construct a chart that uses this renderer. Here is a sample:
LineChart3DDemo1.java for the code to generate the
above chart).
Chart3D class description for more information about world units.
Chart3DFactory.createLineChart(String, String, CategoryDataset3D,
String, String, String).
TRANSPARENT_COLOR| Constructor and Description |
|---|
LineRenderer3D()
Creates a new instance with default attribute values.
|
| Modifier and Type | Method and Description |
|---|---|
void |
composeItem(CategoryDataset3D dataset,
int series,
int row,
int column,
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.
|
CategoryColorSource |
getClipColorSource()
Returns the color source used to determine the color used to highlight
clipping in the chart elements.
|
double |
getIsolatedItemWidthPercent()
Returns the width for isolated data items as a percentage of the
category width.
|
double |
getLineHeight()
Returns the line height in world units.
|
double |
getLineWidth()
Returns the line width in world units.
|
void |
setClipColorSource(CategoryColorSource source)
Sets the color source that determines the color used to highlight
clipping in the chart elements, and sends a
Renderer3DChangeEvent
to all registered listeners. |
void |
setIsolatedItemWidthPercent(double percent)
Sets the width for isolated data items as a percentage of the category
width and sends a change event to all registered listeners.
|
void |
setLineHeight(double height)
Sets the line height (in world units) and sends a
Renderer3DChangeEvent to all registered listeners. |
void |
setLineWidth(double width)
Sets the line width (in world units) and sends a
Renderer3DChangeEvent to all registered listeners. |
findValueRange, getColorSource, getItemLabelGenerator, getItemLabelOffsets, getPlot, setColors, setColorSource, setItemLabelGenerator, setItemLabelOffsets, setPlotaddChangeListener, fireChangeEvent, getItemLabelBackgroundColor, getItemLabelColor, getItemLabelFont, getItemLabelPositioning, isNotify, notifyListeners, receive, removeChangeListener, setItemLabelBackgroundColor, setItemLabelColor, setItemLabelFont, setItemLabelPositioning, setNotifyclone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddChangeListener, removeChangeListenerreceivepublic LineRenderer3D()
public double getLineWidth()
0.4.public void setLineWidth(double width)
Renderer3DChangeEvent to all registered listeners.width - the width (in world units).public double getLineHeight()
0.2.public void setLineHeight(double height)
Renderer3DChangeEvent to all registered listeners.height - the height (in world units).public double getIsolatedItemWidthPercent()
public void setIsolatedItemWidthPercent(double percent)
percent - the new percentage.public CategoryColorSource getClipColorSource()
null,
then the regular series color is used instead.null).public void setClipColorSource(CategoryColorSource source)
Renderer3DChangeEvent
to all registered listeners.source - the source (null permitted).public void composeItem(CategoryDataset3D dataset, int series, int row, int column, World world, Dimension3D dimensions, double xOffset, double yOffset, double zOffset)
CategoryPlot3D class
while iterating over the items in the dataset.composeItem in interface CategoryRenderer3Ddataset - the dataset (null not permitted).series - the series index.row - the row index.column - the column index.world - the world (null not permitted).dimensions - the plot 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 AbstractCategoryRenderer3Dobj - the object (null not permitted).