RectangleChart3D

RectangleChart3D[{{x1,y1,z1},{x2,y2,z2},}]

makes a 3D rectangle chart with bars of width xi, depth yi, and height zi.

RectangleChart3D[{,wi[{xi,yi,zi},],,wj[{xi,yj,zj},],}]

makes a 3D rectangle chart with bar features defined by the symbolic wrappers wk.

RectangleChart3D[{data1,data2,}]

makes a 3D rectangle chart from multiple datasets datai.

Details and Options

Examples

open allclose all

Basic Examples  (4)

Generate a 3D rectangle chart for width, depth, and height values:

Multiple datasets:

Use categorical labels:

Categorical legends:

Set the style for bars:

Pictorial bars:

Procedural bars:

Scope  (34)

Data and Layouts  (12)

Items in a dataset are grouped together:

Datasets do not need to have the same number of items:

Nonreal data is taken to be missing:

The data may include units:

Specify the units to use:

The time stamps in TimeSeries, EventSeries, and TemporalData are ignored:

The values in associations are taken as the dimensions of the bars:

Use the keys as labels:

Use the keys as legends:

Associations can be nested:

The weights in WeightedData are ignored:

Use different layouts to display multiple datasets:

Control the origin of bars:

Adjust the spacing between bars and groups of bars:

Wrappers  (5)

Use wrappers on individual data, datasets, or collections of datasets:

Wrappers can be nested:

Override the default tooltips:

Use PopupWindow to provide additional drilldown information:

Button can be used to trigger any action:

Styling and Appearance  (9)

Use an explicit list of styles for the bars:

Use any gradient or indexed color schemes from ColorData:

Use color schemes designed for charting:

ChartBaseStyle can be used to set an initial style for all chart elements:

Style can be used to override styles:

Use any graphic for pictorial bars:

Use built-in programmatically generated bars:

For detailed settings use Palettes ChartElementSchemes:

Use a theme with detailed frame ticks and grid lines:

Use a theme with a high-contrast color scheme and profile 3D rectangles:

Labeling and Legending  (8)

Use Labeled to add a label to a bar:

Use symbolic positions for label placement:

Provide categorical labels for the columns of data:

For rows of data:

For both:

Use Placed to control the positioning of labels, using the same positions as for Labeled:

Provide value labels for bars by using LabelingFunction:

Use Placed to control placement and formatting:

Add categorical legend entries for the columns of data:

For rows of data:

Use Legended to add additional legend entries:

Use Placed to affect the positioning of legends:

Options  (64)

BarOrigin  (1)

Change the bar origin:

BarSpacing  (6)

Use automatically determined spacing between bars:

Use no spacing:

Use symbolic presets:

Use explicit spacing between bars:

Use explicit spacing between bars and groups of bars:

With no spacing used between bars a quantitative axis is used:

ChartBaseStyle  (5)

Use ChartBaseStyle to style bars:

ChartBaseStyle combines with ChartStyle:

ChartStyle may override settings for ChartBaseStyle:

ChartBaseStyle combines with Style:

Style may override settings for ChartBaseStyle:

ChartBaseStyle combines with ColorFunction:

ColorFunction may override settings for ChartBaseStyle:

ChartElementFunction  (6)

Get a list of built-in settings for ChartElementFunction:

For detailed settings, use Palettes ChartElementSchemes:

ChartElementFunction is appropriate to show the global scale:

Write a custom ChartElementFunction:

Write a custom ChartElementFunction using ChartElementDataFunction:

Chart with optional labeled drop planes:

Setting the metadata to True turns on the drop plane:

ChartElements  (7)

Create a pictorial chart based on any Graphics3D object:

Use a different graphic for each column of data:

Use a different graphic for each row of data:

Graphics are used cyclically:

Styles are inherited from styles set through ChartStyle etc.:

Override individual styles by using Style:

Explicit styles set in the graphic will override other style settings:

ChartLabels  (8)

By default, labels are placed in the axis:

Labeled wrappers in data will place additional labels:

Use Placed to control label placement:

Symbolic positions outside the bar:

Coordinate-based placement relative to a bar:

Coordinate-based placement relative to a bar at a scaled position in the label:

Use the third argument to Placed to control formatting:

By default, labels are associated with columns of data:

Associate labels with rows or datasets:

Label both rows and columns:

Use Placed to affect placements:

Place multiple labels:

ChartLayout  (2)

ChartLayout is "Grouped" by default:

Use stepped bars:

ChartLegends  (6)

Generate a legend based on chart style:

Use Legended to add additional legend entries:

Use Legended to specify individual legend entries:

Generate a legend for datasets:

Unused legend labels are dropped:

Legends can be applied to several dimensions:

Use Placed to control the placement of legends:

ChartStyle  (7)

Use ChartStyle to set the style:

Give a list of styles:

Use "Gradient" colors from ColorData:

Use "Indexed" colors from ColorData:

Styles are used cyclically:

Style each column of data:

Style each row of data:

Style both rows and columns of data:

With both row and column styles, the last style may override earlier ones:

Style overrides settings for ChartStyle:

ColorFunction overrides settings for ChartStyle:

With different style effects, the settings combine:

ChartElements with explicit style settings overrides settings for ChartStyle:

ColorFunction  (3)

Color by bar width, depth, and height:

Use "Gradient" colors from ColorData:

Use ColorFunctionScaling->False to get unscaled width, depth, and height values:

Color by volume:

ColorFunction overrides settings for ChartStyle:

ColorFunctionScaling  (2)

By default, scaled height values are used:

Use ColorFunctionScaling->False to get unscaled height values:

LabelingFunction  (7)

Use automatic labeling by values through Tooltip and StatusArea:

Do no automatic labeling:

Use Placed to control label placement:

Symbolic positions outside the bar:

Coordinate-based placement relative to a bar:

Control the formatting of labels:

Use the given chart labels as arguments to the labeling function:

PerformanceGoal  (3)

Generate a bar chart with interactive highlighting:

Emphasize performance by disabling interactive behaviors:

Typically less memory is required for noninteractive charts:

PlotTheme  (1)

Use a theme with detailed frame ticks and grid lines:

Turn off the grid lines:

Applications  (3)

Compare the dollar value produced by each widget maker:

Mouse over the bars for the employee names:

Click on the bars to hear the country name, GDP per capita, poverty fraction, and population:

Get the data for G15 countries:

Mouse over the bars to get the name of the country:

Properties & Relations  (2)

Use RectangleChart3D to get a 3D rendering of a RectangleChart:

Use SectorChart3D and BubbleChart as alternative visualizations:

Neat Examples  (1)

Chartwork:

Wolfram Research (2008), RectangleChart3D, Wolfram Language function, https://reference.wolfram.com/language/ref/RectangleChart3D.html (updated 2014).

Text

Wolfram Research (2008), RectangleChart3D, Wolfram Language function, https://reference.wolfram.com/language/ref/RectangleChart3D.html (updated 2014).

CMS

Wolfram Language. 2008. "RectangleChart3D." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2014. https://reference.wolfram.com/language/ref/RectangleChart3D.html.

APA

Wolfram Language. (2008). RectangleChart3D. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/RectangleChart3D.html

BibTeX

@misc{reference.wolfram_2024_rectanglechart3d, author="Wolfram Research", title="{RectangleChart3D}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/RectangleChart3D.html}", note=[Accessed: 21-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_rectanglechart3d, organization={Wolfram Research}, title={RectangleChart3D}, year={2014}, url={https://reference.wolfram.com/language/ref/RectangleChart3D.html}, note=[Accessed: 21-December-2024 ]}