MathGroup Archive 2009

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

Search the Archive

Re: BarChart and ChartStyle

  • To: mathgroup at smc.vnet.net
  • Subject: [mg101583] Re: [mg101532] BarChart and ChartStyle
  • From: Oliver Ruebenkoenig <ruebenko at wolfram.com>
  • Date: Fri, 10 Jul 2009 06:48:53 -0400 (EDT)
  • References: <200907090558.BAA17422@smc.vnet.net>


Hi Don,

On Thu, 9 Jul 2009, Don wrote:

> How can I use the ChartStyle option to get the second bar to be LightGreen?
>
> This doesn't work:
>
> BarChart[{{16, 8}, {5, 3}}, BarSpacing -> -.5,
> ChartStyle -> {{LightGray, LightGreen}, {LightGray, LightRed}}]
>
> and this doesn't work
>
> BarChart[{{16, 8}, {5, 3}}, BarSpacing -> -.5,
> ChartStyle -> {LightGray, LightGreen, LightGray, LightRed}]
>
> Thank you in advance.
>
>

BarChart[{{16, 8}, {5, 3}}, ChartStyle -> {LightGray, LightGreen}]

or

BarChart[{{16, 8}, {5, 3}},
  ChartStyle -> {{LightGray, LightGreen}, None}]

or

BarChart[{{16, Style[8, LightGreen]}, {5, 3}},
  ChartStyle -> LightGray ]

Oliver


  • Prev by Date: arbitrary size kernel
  • Next by Date: Re: about Implication
  • Previous by thread: BarChart and ChartStyle
  • Next by thread: Re: BarChart and ChartStyle