Dart Documentationorson_chartsBarRenderer3D

BarRenderer3D class

A renderer that composes bar charts for a CategoryPlot3D.

Extends

AbstractRenderer3D > AbstractCategoryRenderer3D > BarRenderer3D

Subclasses

StackedBarRenderer3D

Constructors

new BarRenderer3D() #

Creates a new renderer with default attribute values.

Properties

num get barXWidth #

Returns the width of the bars in the direction of the x-axis. The default value is 0.8.

void set barXWidth(num width) #

Sets the width of the bars in the direction of the x-axis and sends a Renderer3DChangeEvent to all registered listeners.

num get barZWidth #

Returns the width of the bars (in world units) in the direction of the z-axis. The default value is 0.5.

void set barZWidth(num width) #

Sets the width of the bars in the direction of the z-axis and sends a Renderer3DChangeEvent to all registered listeners.

num get base #

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

void set base(num b) #

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

CategoryColorSource get baseColorSource #

Returns the color source used to determine the color for the base of the bars.

void set baseColorSource(CategoryColorSource source) #

Sets the color source used to determine the color for the base of the bars 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

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.

CategoryColorSource get topColorSource #

Returns the color source used to determine the color of the top of the bars when they are clipped.

void set topColorSource(CategoryColorSource source) #

Sets the color source used to determine the color of the top of the bars 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

void composeItemSub(num value, num barBase, CategoryDataset3D dataset, int series, int row, int column, World world, Dimension3D dimensions, num xOffset, num yOffset, num zOffset) #

Composes one object into the specified world.

Range findValueRange(Values3D data) #

Returns the range of values that this renderer requires on the y-axis in order to display all the items in the dataset.

docs inherited from CategoryRenderer3D

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