User (Legacy) Posted August 19, 2003 Report Share Posted August 19, 2003 Hi there. The attached picture shows a problem we've encountered when using the Curve graph type. Shouldn't the drawing area be enlarged so that the curves are not clipped? Link to comment Share on other sites More sharing options...
Software FX Posted August 19, 2003 Report Share Posted August 19, 2003 This is by-design, the chart scale is not modified when switching between types. You ca of course control this scale manually by changing the Min and Max properties. -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
User (Legacy) Posted August 20, 2003 Author Report Share Posted August 20, 2003 True, but how do I know how much to adjust the scale by? Is there a property which will tell me the extent of the series, taking into account the fact that curves might extent further than the data points they join? "SoftwareFX Support" <support@softwarefx.com> wrote in message news:shHkGAmZDHA.3936@WEBSERVER1... > This is by-design, the chart scale is not modified when switching between > types. You ca of course control this scale manually by changing the Min and > Max properties. > > -- > FP > Software FX, Inc. > > Link to comment Share on other sites More sharing options...
Software FX Posted August 20, 2003 Report Share Posted August 20, 2003 Sorry. No such a property. Not an easy way to calculate it either as these curves are drawn by GDI+ given only the point markers. -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
User (Legacy) Posted August 21, 2003 Author Report Share Posted August 21, 2003 are you drawing the curves by using Graphics.DrawCurve ie are they cardinal splines? is so, how do you choose your tension value? I'm thinking about rendering the curve into a GraphicsPath, Flatten()'ing it and then getting it's bounds via GetBounds()... Then I can resize the client area myself. "SoftwareFX Support" <support@softwarefx.com> wrote in message news:Bs0k9j0ZDHA.3936@WEBSERVER1... > Sorry. No such a property. Not an easy way to calculate it either as these > curves are drawn by GDI+ given only the point markers. > > -- > FP > Software FX, Inc. > > Link to comment Share on other sites More sharing options...
Software FX Posted August 22, 2003 Report Share Posted August 22, 2003 We use a fixed tension of 0.5F. Keep in mind that when you re-scale the chart, the actual pixels will be different. -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.