beltrams Posted March 23, 2011 Report Posted March 23, 2011 dear Forum The title use only the portion of space abobe the chart, so the space above the axis is lost (see screenshot), can this be controlled? Or can I dock a text somewhere on the top of all? thanks, Simone Quote
JuanC Posted March 24, 2011 Report Posted March 24, 2011 Our default style (glass) places the first chart title on a different container that is not aligned to the plotarea. If you are using the basic or simple motif, then you can set the AlignToPlotArea dependency property on your title as follows xmlns:cfxControls="clr-namespace:ChartFX.WPF.Controls;assembly=ChartFX.WPF" <cfx:Chart.Titles> <cfx:Title cfxControls:SpacingDockPanel.AlignToPlotArea="false">A very long title that is not aligned to the plot area</cfx:Title></cfx:Chart.Titles> This should also work if you are creating your own style. JuanC Quote
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.