MathGroup Archive 2008

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

Search the Archive

Re: Mathematica 7: PieChart: opacity of a sector label?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg93902] Re: Mathematica 7: PieChart: opacity of a sector label?
  • From: Oliver Ruebenkoenig <ruebenko at uni-freiburg.de>
  • Date: Fri, 28 Nov 2008 05:07:37 -0500 (EST)
  • References: <gglt3i$8lq$1@smc.vnet.net>

On Thu, 27 Nov 2008, Gordon Robertson wrote:

> Could I ask for help with the following? In Mathematica 6, a sector's label was
> automatically dark (very readable) text, independent of the Opacity[] of its
> sector. In Mathematica 7, at this point I'm finding that a pie sector's label has the
> opacity of its sector. For example, the following has a pale blue sector
> with an 'm1' label -- but both the blue and the label have an opacity of
> 0.5. Putting Opacity[1] into the BaseStyle Directive does not change this.
>
> PieChart[{0.3, 1 - 0.3},
>
> ChartLabels -> Placed[{m1, ""}, "RadialCallout"],
>
> ChartStyle -> {
>  Directive[Darker[Blue], Opacity[0.5]],
>  Directive[Gray, Opacity[0.2]]},
>
> BaseStyle -> Directive[FontFamily -> "Helvetica", 12],
> ImageSize -> 200]
>
> I've studied the PieChart help documentation for some time without finding a
> way to declare the label as opaque i.e. dark. I'm probably simply not seeing
> what I need to see.
>
> Thanks in advance for your help. I'm on an Intel Mac with OS X 10.5.5.
>

Does this help:

PieChart[{0.3, 1 - 0.3},
  ChartLabels -> Placed[{Style[m1, Opacity[1]], ""}, "RadialCallout"],
  ChartStyle -> {Directive[Darker[Blue], Opacity[0.5]],
    Directive[Gray, Opacity[0.2]]},
  BaseStyle -> Directive[FontFamily -> "Helvetica", 12],
  ImageSize -> 200]

Oliver

Oliver Ruebenkoenig


  • Prev by Date: Re: Are any books for v7 (&v6) new features planned?
  • Next by Date: Re: Re: Re: v.7.0 issues
  • Previous by thread: Re: Mathematica 7: PieChart: opacity of a sector label?
  • Next by thread: RE: Mathematica 7: PieChart: opacity of a sector label?