Re: Re: Re: BarChart Range
- To: mathgroup at smc.vnet.net
- Subject: [mg103662] Re: [mg103631] Re: [mg103579] Re: [mg103551] BarChart Range
- From: Brett Champion <brettc at wolfram.com>
- Date: Thu, 1 Oct 2009 06:42:06 -0400 (EDT)
- References: <28656482.1254107571753.JavaMail.root@n11> <200909291137.HAA25545@smc.vnet.net> <200909300904.FAA09688@smc.vnet.net>
On Sep 30, 2009, at 4:04 AM, David Annetts wrote: > Hi Guys, > >> >> BarChart[{43.34, 43.60, 44.19, 44.73} - 40, ChartLabels -> >> {"a", "b", "c", "d"}] >> >> But now the y tick values are incorrect. You could write your >> own y ticks but I would use the CustomTicks in Presentations. > > It's a small point, but modifying data in this manner will result in > Tooltips that are incorrect. > > It's an aside to the OP question, but how would you accomplish both -- > modify the data _and_ ensure correct tootips? BarChart[{43.34, 43.60, 44.19, 44.73} - 40, ChartLabels -> {"a", "b", "c", "d"}, LabelingFunction -> (Placed[# + 40, Automatic] &)]