MMCCPaulEden Posted September 2, 2008 Report Share Posted September 2, 2008 Hi I've noticed that in this release of the charts there seem sto be a minimum size at wich the chart with proerly display itself, below which clipping occurrs. I tried using the MinHeight and MinWidth properties but this is too small and clipping occurs - the DesiredSize property produces a chart that is... giant, to say the least. Is there a property that I can consume that will give me usable sizings? Many thanks Paul Quote Link to comment Share on other sites More sharing options...
JuanC Posted September 2, 2008 Report Share Posted September 2, 2008 This behavior is controlled by the Chart.PlotArea.MinSize property (double). This property specifies a percentage that we use to make sure axes and other adorments do not consume all available space. If you set this property to 0, no calculation will be done which means in very small sizes the plotarea will get really small or empty. Regards, JuanC Quote Link to comment Share on other sites More sharing options...
MMCCPaulEden Posted September 3, 2008 Author Report Share Posted September 3, 2008 Hi I tried setting the MinSize property to 0, but this seemed to have no effect - shrinking the chart below a 380 x 280 area still seems to cause clipping. Thanks Paul Quote Link to comment Share on other sites More sharing options...
JuanC Posted September 3, 2008 Report Share Posted September 3, 2008 380x280 sounds like a resonable size where no clipping should occur, is it possible the legendbox or axis labels are taking too much space? Can you post/send a picture. If you want to take this offline please send an email to wpf at softwarefx dot com. JuanC Quote Link to comment Share on other sites More sharing options...
MMCCPaulEden Posted September 8, 2008 Author Report Share Posted September 8, 2008 For info, we used to have the charts rendering at 200x200, or even 100x100 and no clipping occurred (just very scrunched). Currently working on sample as time permits. Paul 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.