MathGroup Archive 2000

[Date Index] [Thread Index] [Author Index]

Search the Archive

RE: BarChart, Bar Labels disappear

  • To: mathgroup at smc.vnet.net
  • Subject: [mg26357] RE: [mg26338] BarChart, Bar Labels disappear
  • From: "David Park" <djmp at earthlink.net>
  • Date: Wed, 13 Dec 2000 02:41:17 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Matthias,

The labels are there - but they are covered up by the bars which extend in
the negative direction. You can get, more or less, what you want by using
the AxesFront -> True option. But to obtain this you must load the
FilledPlot package. (Why or why won't WRI make AxesFront a general Graphics
option?) Thus, this will uncover the labels:

Needs["Graphics`Graphics`"]
Needs["Graphics`FilledPlot`"]

Show[BarChart[{-12, -18, -12, -7},
   BarLabels -> {"< 1%", "1%-2%", "2%-3%", ">3%"},
   AxesFront -> True], BarChart[{8, 18, 14, 10},
   BarStyle -> {RGBColor[0, 0, 1]},
   BarLabels -> {"< 1%", "1%-2%", "2%-3%", ">3%"},
   AxesFront -> True]]

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/

> From: Matthias.Bode at oppenheim.de [mailto:Matthias.Bode at oppenheim.de]
To: mathgroup at smc.vnet.net
> Dear colleagues,
>
> with
> << Graphics`Graphics`
>
> this
>
> Show[BarChart[{-12, -18, -12, -7},
>     BarLabels -> {"< 1%", "1%-2%", "2%-3%", ">3%"}],
>   BarChart[ {8,  18,  14, 10}, BarStyle -> {RGBColor[0, 0, 1]},
>     BarLabels -> {"< 1%", "1%-2%", "2%-3%", ">3%"}]]
>
> produces three bar charts.
> Only the second one shows the bar labels.
> I need the bar labels in the combined chart along the x-axis. How?
>
> Best regards,
>
> Matthias Bode
> Sal. Oppenheim jr. & Cie. KGaA
> Koenigsberger Strasse 29
> D-60487 Frankfurt am Main
> GERMANY
> Tel.: +49(0)69 71 34 53 80
> Mobile: +49(0)172 6 74 95 77
> Fax: +49(0)69 71 34 6380
> E-mail: matthias.bode at oppenheim.de
>
>
>
>



  • Prev by Date: Re: Simplify for ca^2+sa^2==1
  • Next by Date: RE: Simplify for ca^2+sa^2==1
  • Previous by thread: Re: BarChart, Bar Labels disappear
  • Next by thread: Re: BarChart, Bar Labels disappear