Dart Documentationorson_chartsScatterXYZRenderer

ScatterXYZRenderer class

A renderer for drawing scatter charts.

Extends

AbstractRenderer3D > AbstractXYZRenderer > ScatterXYZRenderer

Implements

XYZRenderer

Constructors

new ScatterXYZRenderer() #

Creates a new renderer instance.

Properties

XYZColorSource get colorSource #

inherited from AbstractXYZRenderer

Returns the color source for the renderer.

void set colorSource(XYZColorSource colorSource) #

inherited from AbstractXYZRenderer

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

final ComposeType composeType #

inherited from AbstractXYZRenderer

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 #

inherited from AbstractXYZRenderer

Returns the plot that this renderer is assigned to.

void set plot(XYZPlot plot) #

inherited from AbstractXYZRenderer

Sets the plot that the renderer is assigned to.

num get size #

Returns the size of the cubes used to display data items. The default value is 0.10.

void set size(num size) #

Sets the size of the cubes used to represent data items and sends a Renderer3DChangeEvent to all registered listeners.

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) #

inherited from AbstractXYZRenderer

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

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.

docs inherited from XYZRenderer

Range findXRange(XYZDataset dataset) #

inherited from AbstractXYZRenderer

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) #

inherited from AbstractXYZRenderer

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) #

inherited from AbstractXYZRenderer

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) #

inherited from AbstractXYZRenderer

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