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.