cvarro Posted September 9, 2009 Report Share Posted September 9, 2009 What is the best approach to go about changing the StrokeThickness of the line in a line chart when using a built in motif from ChartFX.WPF.Motifs ? The overall styles provided are a good fit for us, we simply want to increase the line thickness in a few of the line chart styles. Any suggestions about how to go about doing this? Thanks, -Chris Quote Link to comment Share on other sites More sharing options...
JuanC Posted September 10, 2009 Report Share Posted September 10, 2009 Although different motifs might default to different line thicknesses you can override those by using the SeriesAttributes either globally (AllSeries) or on a per-series basis. <cfx:Chart.AllSeries> <cfx:AllSeriesAttributes StrokeThickness="5"/> </cfx:Chart.AllSeries> Note that this will also affect other gallery types as their templates will typically honor stroke thickness, e.g. bars will have a wider border. We do not have a way to easily modify the thickness for the lines only. You could alternatively borrow the template for the line, adjust the default line thickness and set it using the template property of the SeriesAttributes class. Regards, 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.