Dart Documentationorson_chartsXYZPlot

XYZPlot class

A plot that can display data from a XYZDataset. The plot manages a renderer (any instance of XYZRenderer) and three axes (instances of ValueAxis3D).

Extends

AbstractPlot3D > XYZPlot

Implements

Plot3D

Static Properties

final Stroke DEFAULT_GRIDLINE_STROKE #

The default stroke for gridlines drawn for the plot.

Constructors

new XYZPlot(XYZDataset dataset, XYZRenderer renderer, ValueAxis3D xAxis, ValueAxis3D yAxis, ValueAxis3D zAxis) #

Creates a new plot instance for the specified dataset.

Properties

bool autoAdjustDimensions #

inherited from AbstractPlot3D

Chart3D get chart #

inherited from AbstractPlot3D

Returns the chart that the plot is assigned to.

void set chart(Chart3D chart) #

inherited from AbstractPlot3D

Sets the chart that the plot is assigned to.

XYZDataset get dataset #

Returns the dataset.

void set dataset(XYZDataset dataset) #

Sets the dataset and sends a Plot3DChangeEvent to all registered listeners.

Dimension3D get dimensions #

inherited from AbstractPlot3D

Returns the dimensions of the plot.

docs inherited from Plot3D

void set dimensions(Dimension3D dim) #

Sets the dimensions for the plot and sends a Plot3DChangeEvent to all registered listeners. Note that this setter is not defined in the AbstractPlot3D class, because it is not required by all subclasses.

Color get gridlineColorX #

Returns the color for the gridlines for the x-axis.

void set gridlineColorX(Color color) #

Sets the color for the gridlines for the x-axis and sends a Plot3DChangeEvent to all registered listeners.

Color get gridlineColorY #

Returns the color for the gridlines for the y-axis.

void set gridlineColorY(Color color) #

Sets the color for the gridlines for the y-axis and sends a Plot3DChangeEvent to all registered listeners.

Color get gridlineColorZ #

Returns the color for the gridlines for the z-axis.

void set gridlineColorZ(Color paint) #

Sets the color for the gridlines for the z-axis and sends a Plot3DChangeEvent to all registered listeners.

Stroke get gridlineStrokeX #

Returns the stroke for the gridlines for the x-axis.

void set gridlineStrokeX(Stroke stroke) #

Sets the stroke for the gridlines for the x-axis and sends a Plot3DChangeEvent to all registered listeners.

Stroke get gridlineStrokeY #

Returns the stroke for the gridlines for the y-axis.

void set gridlineStrokeY(Stroke stroke) #

Sets the stroke for the gridlines for the y-axis and sends a Plot3DChangeEvent to all registered listeners.

Stroke get gridlineStrokeZ #

Returns the stroke for the gridlines for the z-axis.

void set gridlineStrokeZ(Stroke stroke) #

Sets the stroke for the gridlines for the z-axis and sends a Plot3DChangeEvent to all registered listeners.

bool get gridlinesVisibleX #

Returns the flag that controls whether or not gridlines for the x-axis are visible.

void set gridlinesVisibleX(bool visible) #

Sets the flag that controls whether or not gridlines for the x-axis are visible and sends a Plot3DChangeEvent to all registered listeners.

bool get gridlinesVisibleY #

Returns the flag that controls whether or not gridlines for the y-axis are visible.

void set gridlinesVisibleY(bool visible) #

Sets the flag that controls whether or not gridlines for the y-axis are visible and sends a Plot3DChangeEvent to all registered listeners.

bool get gridlinesVisibleZ #

Returns the flag that controls whether or not gridlines for the z-axis are visible.

void set gridlinesVisibleZ(bool visible) #

Sets the flag that controls whether or not gridlines for the z-axis are visible and sends a Plot3DChangeEvent to all registered listeners.

final List<LegendItemInfo> legendInfo #

Returns a list of items to be displayed in the chart's legend. Typically there will be one item per series in the chart. The legendBuilder assigned to the chart will take this list and construct the elements for display.

docs inherited from Plot3D

XYZLabelGenerator get legendLabelGenerator #

Returns the legend label generator.

void set legendLabelGenerator(XYZLabelGenerator generator) #

Sets the legend label generator and sends a Renderer3DChangeEvent to all registered listeners.

XYZRenderer get renderer #

Returns the renderer.

void set renderer(XYZRenderer renderer) #

Sets the renderer and sends a Plot3DChangeEvent to all registered listeners.

ValueAxis3D get xAxis #

Returns the x-axis.

void set xAxis(ValueAxis3D xAxis) #

Sets the x-axis and sends a Plot3DChangeEvent to all registered listeners.

ValueAxis3D get yAxis #

Returns the y-axis.

void set yAxis(ValueAxis3D yAxis) #

Sets the y-axis and sends a Plot3DChangeEvent to all registered listeners.

ValueAxis3D get zAxis #

Returns the z-axis.

void set zAxis(ValueAxis3D zAxis) #

Sets the z-axis and sends a Plot3DChangeEvent to all registered listeners.

Methods

void addChangeListener(Plot3DChangeListener listener) #

inherited from AbstractPlot3D

Registers a listener to receive notification of changes to the plot.

docs inherited from Plot3D

void axis3DChanged(Axis3DChangeEvent event) #

inherited from AbstractPlot3D

Receives notification of a change to one of the plot's axes. The event contains information about the source of the event.

void compose(World world, num xOffset, num yOffset, num zOffset) #

Composes the objects that are required to display this plot, placing them in the specified world. Typically most of the composition work will be delegated to a renderer, although some plot subclasses (for example, PiePlot3D) will perform the composition directly.

docs inherited from Plot3D

void dataset3DChanged(Dataset3DChangeEvent event) #

inherited from AbstractPlot3D

Receives notification of a change to the plot's dataset.

void fireChangeEvent() #

inherited from AbstractPlot3D

Sends a Plot3DChangeEvent to all registered listeners.

void receive(ChartElementVisitor visitor) #

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(Plot3DChangeListener listener) #

inherited from AbstractPlot3D

Deregisters a listener so that it no longer receives notification of changes to the plot.

docs inherited from Plot3D

void renderer3DChanged(Renderer3DChangeEvent event) #

inherited from AbstractPlot3D

Receives notification of a change to the renderer. The event contains information about the source of the event.