Dart Documentationorson_chartsAbstractXYZRenderer

AbstractXYZRenderer abstract class

The base class for creating renderers for use with the XYZPlot class.

Extends

AbstractRenderer3D > AbstractXYZRenderer

Subclasses

ScatterXYZRenderer, SurfaceRenderer

Implements

XYZRenderer

Constructors

new AbstractXYZRenderer() #

Default constructor.

Properties

XYZColorSource get colorSource #

Returns the color source for the renderer.

void set colorSource(XYZColorSource colorSource) #

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

final ComposeType composeType #

Returns the type of composition performed by the renderer. The default is PER_ITEM, which means the plot will make a separate call to the renderer for each item in the dataset.

XYZPlot get plot #

Returns the plot that this renderer is assigned to.

void set plot(XYZPlot plot) #

Sets the plot that the renderer is assigned to.

Methods

void addChangeListener(Renderer3DChangeListener listener) #

inherited from AbstractRenderer3D

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

docs inherited from Renderer3D

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

Not implemented here, this method must be overridden by renderers using the ComposeType ALL.

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

inherited from XYZRenderer

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.

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.

docs inherited from XYZRenderer

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.

docs inherited from XYZRenderer

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.

docs inherited from XYZRenderer

void fireChangeEvent() #

inherited from AbstractRenderer3D

Sends a Renderer3DChangeEvent (with this renderer as the source) to all registered listeners.

void receive(ChartElementVisitor visitor) #

inherited from AbstractRenderer3D

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

docs inherited from ChartElement

void removeChangeListener(Renderer3DChangeListener listener) #

inherited from AbstractRenderer3D

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

docs inherited from Renderer3D

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.

docs inherited from XYZRenderer