User (Legacy) Posted October 20, 2005 Report Share Posted October 20, 2005 I have a few questions related to the chart's properties dialog: 1. Is it possible to change the dialog so that it has both X-axis and Y-Axis tags at the same time or otherwise allows editing of all axes? 2. If I change the MINIMUM from "Auto" to a number and close the properties dialog, next time I open the properties the MAXIMUM also becomes the number. Is this designed behavior? Is it possible to have one of them "Auto" and the other - fixed? 3. How can I change minimum and maximum FROM some numbers TO "Auto"? When I type "Auto" into either or both of these fields nothing happens. Thanks for your help, Leo Link to comment Share on other sites More sharing options...
Software FX Posted November 2, 2005 Report Share Posted November 2, 2005 > 1. Is it possible to change the dialog so that it has both X-axis and > Y-Axis tags at the same time or otherwise allows editing of all axes? No. You will have to build your own dialog for this. > 2. If I change the MINIMUM from "Auto" to a number and close the > properties dialog, next time I open the properties the MAXIMUM also > becomes the number. Is this designed behavior? Is it possible to have one > of them "Auto" and the other - fixed? No. axis.AutoScale is one property and it controls BOTH Min and Max. You can not have one that is Auto and one that is not. To obtain this behavior you may do the following: // Say the Max is auto and the Min is set double min = axis.Min; axis.AutoScale = true; chart.RecalcScale(); axis.Min = min; > 3. How can I change minimum and maximum FROM some numbers TO "Auto"? When > I type "Auto" into either or both of these fields nothing happens. You may use the localization procedures to change the text and layout of the dialogs. For more information check the Localization section in the documentation or go to: http://support.softwarefx.com/samples/cfxnet6/tutorial/localization.htm -- Francisco Padron www.chartfx.com Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.