Dart Documentationorson_chartsAreaRenderer3D

AreaRenderer3D class

A renderer that composes area charts for a CategoryPlot3D.

Extends

AbstractRenderer3D > AbstractCategoryRenderer3D > AreaRenderer3D

Constructors

new AreaRenderer3D() #

Creates a new AreaRenderer instance with default attributes.

Properties

num get base #

Returns the base value for the area (defaults to 0.0).

void set base(num base) #

Sets the base value and sends a Renderer3DChangeEvent to all registered listeners.

Color get baseColor #

Returns the base color (defaults to null).

void set baseColor(Color color) #

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

void set colors(List<Color> colors) #

Applies these colors to the current color source and sends a Renderer3DChangeEvent to all registered listeners.

CategoryColorSource get colorSource #

Returns the color source for the renderer.

docs inherited from CategoryRenderer3D

void set colorSource(CategoryColorSource source) #

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

docs inherited from CategoryRenderer3D

num get depth #

Returns the depth (or thickness) of the area object as a percentage of the row width. The default value is 0.6 (sixty percent).

void set depth(num depth) #

Sets the depth (usually a number in the range 0.0 to 1.0) and sends a Renderer3DChangeEvent to all registered listeners.

CategoryPlot3D get plot #

Returns the plot that the renderer is assigned to.

docs inherited from CategoryRenderer3D

void set plot(CategoryPlot3D plot) #

Sets the plot that the renderer is assigned to 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 composeItem(CategoryDataset3D dataset, int series, int row, int column, World world, Dimension3D dimensions, num xOffset, num yOffset, num zOffset) #

Composes an item from the dataset (this is the process of constructing the 3D object(s) to represent the data item, and adding it/them to the world).

docs inherited from CategoryRenderer3D

Range findValueRange(Values3D dataset) #

Returns the range of values that this renderer requires on the y-axis in order to display all the items in the dataset. The method is overridden here to ensure that the base value is included in the range.

void fireChangeEvent() #

inherited from AbstractRenderer3D

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

bool isBaselineCrossed(num y0, num y1, num baseline) #

Returns true if the two values are on opposite sides of the baseline. If the data values cross the baseline, then we need to construct two 3D objects to represent the data, whereas if there is no crossing, a single 3D object will be sufficient.

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