Powered by MSDN

US - English
NEW! Silverlight 5 is available Learn More

Styling Area series RSS

2 replies

Last post Apr 16, 2009 12:39 AM by JustinAngel

(0)
  • mithunster

    mithunster

    Member

    4 Points

    45 Posts

    Styling Area series

    Apr 15, 2009 01:08 PM | LINK

    I am trying to reduce the transperency of an area chart area. Can someone tell me what TargetType, Property and Value i need to set?

     

    Thanks.

  • David Anson

    David Anson

    Participant

    1992 Points

    249 Posts

    Microsoft

    Re: Styling Area series

    Apr 15, 2009 06:48 PM | LINK

    Please have a look at how we use Opacity in the PathStyle of AreaSeries.xaml:

    http://silverlight.codeplex.com/SourceControl/changeset/view/18791#507661

    Specifically, you should be able to specify your own PathStyle via AreaSeries.PathStyle - just change the Opacity there and you don't even need to re-Template to make the change! :)

    Hope this helps.


    http://dlaa.me/
    http://blogs.msdn.com/b/delay/

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • JustinAngel

    JustinAngel

    Contributor

    4455 Points

    606 Posts

    Re: Styling Area series

    Apr 16, 2009 12:39 AM | LINK

    Just adding some blend instructions to what David outlined.

    1. Open up Blend and drag & drop a Chart with an AreaSeries on it
    2. Select the "AreaSeries" in the "Object and Timeline window"
    3. In the top menu select "Object" --> "Edit Other Styles" --> "Edit PathStyle" --> "Create Empty"
    4. Now while editing the PathStyle, set Opacity to whatever value you'd like.

    --
    Justin Angel,
    Twitter @ http://twitter.com/JustinAngel
    Blog @ http://JustinAngel.net