MathGroup Archive 2009

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

Search the Archive

Re: BarChart and ChartStyle

  • To: mathgroup at smc.vnet.net
  • Subject: [mg101622] Re: [mg101532] BarChart and ChartStyle
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Fri, 10 Jul 2009 23:27:15 -0400 (EDT)
  • Reply-to: hanlonr at cox.net

BarChart[{16, 8, , , 5, 3},
 BarSpacing -> -0.5,
 ChartStyle ->
  {LightGray, LightGreen, White,
   White, LightGray, LightRed}]


Bob Hanlon

---- Don <donabc at comcast.net> 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.




  • Prev by Date: Re: Shortcut for Power
  • Next by Date: Data conversion
  • Previous by thread: Re: BarChart and ChartStyle
  • Next by thread: Stacked Axes or Multiples axes in Mathematica 7.0.1