Mick Posted September 16, 2010 Report Share Posted September 16, 2010 I made a chart with the Smoothie style and set the .Background property to Brushes.Purple: How do I remove the green from the background (the top part)? The .Background property seems to map to a GradientStop as opposed to the entire background. Quote Link to comment Share on other sites More sharing options...
JuanC Posted September 16, 2010 Report Share Posted September 16, 2010 Certain templates use another brush (defined in the palette as LayoutEffect) on top of your background, and this is where the green color appears. You can remove this using the following chart1.Template = ChartFX.WPF.Motifs.Basic.ChartTemplate; Please note that the Simple and Glass (default) motif do use this LayoutEffect brush, unfortunately we do not expose a property in the current build to change this. JuanC Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.