User (Legacy) Posted September 26, 2003 Report Share Posted September 26, 2003 I'm using ChartFx for WinForms. I want to be able to set the axis maximum and minimum manually rather than relying on ChartFx to do thsis automatically, so I set AxisY.AutoScale = False. Please confirm that when AxisY.AutoScale is False do I have to also set AxisY.Min and AxisY.Max. Should I set the AutoScale, Min, and Max properties before or after the adding data to the chart with OpenData/CloseData? Does setting the Min and Max properties apply to existing values in the chart, or only to values added after setting these properties? Should I be setting any other properties at this time to scale the axis manually? Thanks John Link to comment Share on other sites More sharing options...
Software FX Posted September 26, 2003 Report Share Posted September 26, 2003 >Please confirm that when AxisY.AutoScale is False do I have to also set >AxisY.Min and AxisY.Max. Yes. If you set AutoScale = false, you MUST set the Min and Max. >Should I set the AutoScale, Min, and Max properties before or after the >adding data to the chart with OpenData/CloseData? You can do this either before of after setting the data, if you do it after you will override the values calculated by Chart FX. So if you are not going to use the values calculated by Chart FX at all then you can do it before or after. If you want to adjust the values chart FX calculates, then you should do it AFTER and if the data is set again, you need to Reset the Axis before re-setting the data to allow Chart FX to recalculate. > Does setting the Min and Max properties apply to existing values in the > chart, or only to values added after setting these properties? I don't understand what you mean by this. The Min and Max applies to an axis, they are not associated with each point. Should I be setting any other properties at this time to scale the axis manually? If all you want to do is to control the Min and Max, this is all you need. -- 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.