Class LineXYZRenderer

All Implemented Interfaces:
Serializable, ChartElement, Renderer3D, XYZRenderer

A renderer that draws 3D lines on an XYZPlot using data from an XYZDataset. Here is a sample:
XYZLineChart3DDemo1.svg
(refer to XYZLineChart3DDemo1.java for the code to generate the above chart).

NOTE: This class is serializable, but the serialization format is subject to change in future releases and should not be relied upon for persisting instances of this class.
Since:
1.5
See Also:
  • Constructor Details

    • LineXYZRenderer

      public LineXYZRenderer()
      Creates a new default instance.
  • Method Details

    • composeItem

      public void composeItem(XYZDataset dataset, int series, int item, World world, Dimension3D dimensions, double xOffset, double yOffset, double zOffset)
      Adds a single line representing one item from the dataset.
      Specified by:
      composeItem in interface XYZRenderer
      Parameters:
      dataset - the dataset.
      series - the series index.
      item - the item index.
      world - the world used to model the 3D chart.
      dimensions - the plot dimensions in 3D.
      xOffset - the x-offset.
      yOffset - the y-offset.
      zOffset - the z-offset.
    • equals

      public boolean equals(Object obj)
      Tests this renderer for equality with an arbitrary object.
      Overrides:
      equals in class AbstractXYZRenderer
      Parameters:
      obj - the object (null permitted).
      Returns:
      A boolean.