The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Inactive » comp.soft-sys.math.mathematica

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: ChartLabels for Stacked, Grouped BarCharts?
Replies: 2   Last Post: Dec 21, 2009 3:33 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Gordon Robertson

Posts: 18
Registered: 11/15/07
Re: ChartLabels for Stacked, Grouped BarCharts?
Posted: Dec 21, 2009 3:33 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


Thank you for your note. As you indicate, the cases I asked about are described in the Examples, Options and Applications.


On 09-12-20 9:00 PM, "Brett Champion" <> wrote:

On Dec 20, 2009, at 5:54 AM, Gordon Robertson wrote:

> Could I ask for help with ChartLabels for Stacked and Grouped
> BarCharts in
> Mathematica 7? I've checked the MathGroup archives and Mathematica
> help docs.


> I can guess that Ticks may be the approach to use, but wonder if I
> could as k
> more experienced folks for help. Could I also ask WRI to implement (or
> document) these BarChart use cases.

It sounds like you want:

BarChart[data2, ChartLayout -> "Stacked", ChartLabels ->
{Placed[labs2, Below], None}]
BarChart[data2, ChartLayout -> "Grouped", ChartLabels ->
{Placed[labs2, Below], None}]

Examples with this behavior in the documentation (not a comprehensive

BarChart > Examples > Scope > Labeling and Legending > "For rows of
BarChart > Examples > Options > ChartLabels > "Associate labels with
rows or datasets:"
BarChart > Examples > Applications > (Portfolio example)
ChartLabels > Examples > Basic Examples > (third example)

and is generally covered by

"ChartLabels->{spec1,spec2,...} uses the successive speci to specify
labels for successive dimensions in nested lists of datasets." in the
ChartLabels documentation.

Note that ChartLabels, ChartLegends, ChartElements have similar

Brett Champion
Wolfram Research

Gordon Robertson
Canada's Michael Smith Genome Sciences Centre
Vancouver BC Canada
604-707-5900 x5416

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.