Dart Documentationorson_chartsXYZRenderer

XYZRenderer abstract class

The interface that must be supported by renderers for an XYZPlot.

Extends

ChartElement > Renderer3D > XYZRenderer

Subclasses

AbstractXYZRenderer, ScatterXYZRenderer, SurfaceRenderer

Properties

abstract XYZColorSource get colorSource #

Returns the color source for the renderer. This is the object that determines the colors for the items rendered.

abstract void set colorSource(XYZColorSource source) #

Sets the color source and sends a Renderer3DChangeEvent to all registered listeners.

final ComposeType composeType #

Returns the type of composition performed by the renderer. There are two possibilities: PER_ITEM and ALL. If this method returns PER_ITEM, the XYZPlot that is managing the renderer will call the renderer's composeItem method for each item in the dataset. Alternatively, if this method returns ALL, then the plot will call the composeAll method once only.

abstract XYZPlot get plot #

Returns the plot that the renderer is assigned to.

abstract void set plot(XYZPlot plot) #

Sets the plot that the renderer is assigned to.

Methods

abstract void addChangeListener(Renderer3DChangeListener listener) #

inherited from Renderer3D

Registers a listener so that it will receive notification of changes to the renderer.

abstract void composeAll(XYZPlot plot, World world, Dimension3D dimensions, num xOffset, num yOffset, num zOffset) #

Creates the objects required to represent a complete dataset and adds them to the world. This method is only called if composeType returns ALL.

abstract void composeItem(XYZDataset dataset, int series, int item, World world, Dimension3D dimensions, num xOffset, num yOffset, num zOffset) #

Creates the object(s) required to represent a data item and adds them to the world. This method is only called if composeType returns PER_ITEM.

abstract Range findXRange(XYZDataset dataset) #

Finds the range that is required for the x-axis in order for this renderer to display all the values in the dataset.

abstract Range findYRange(XYZDataset dataset) #

Finds the range that is required for the y-axis in order for this renderer to display all the values in the dataset.

abstract Range findZRange(XYZDataset dataset) #

Finds the range that is required for the z-axis in order for this renderer to display all the values in the dataset.

abstract void receive(ChartElementVisitor visitor) #

inherited from ChartElement

Receives a visitor. This is part of a general mechanism for traversing all the elements that make up a chart structure.

abstract void removeChangeListener(Renderer3DChangeListener listener) #

inherited from Renderer3D

Deregisters a listener so that it will no longer receive notification of changes to the renderer.

abstract void setColors(List<Color> colors) #

Sets the colors for the renderer. This is a convenience method that will typically update or replace the renderer's colorSource. See the documentation of specific implementations for details.