Jump to content
Software FX Community

Client .NET control Axis Min, Max, Step not sent to the server on postback


Recommended Posts

We are using the .NET ChartFX control  (Version 7.0.2893.24916 Dated 12/11/2007). If a user changes the Axis Minimum, Maximum, or Step settings from the Properties dialog on the Y Axis tab, these new values are not sent to the server during postback and they are not retained by the .NET control after the postback completes. Other changed settings like Text Color, Text Font, Decimals, Format, Logarithmic, Angle, Staggered, and etc. are sent to the server in a postback and are retained by the .NET control after the postback completes. Is this a bug in the ChartFX control or is there a setting to prevent the control from resetting the Minimum, Maximum, and Step during the postback. I have attached a Visual Studio 2005 project to demonstrate this issue. Run the web page, change the Axis Min, Max, and Step to something like 25, 60, and 5 by using the Y-Axis Properties in the Properties Dialog, click the button to perform a postback, and look at the settings by using the debugger.

Thank you for your help.

Link to comment
Share on other sites


Thank you. I am now getting the Minimum and Maximum values on a postback after I set this property

  chart1.TemplateContents = chart1.TemplateContents | FileContents.Scale;

Now I have another issue.

If I set the Axis to perform auto scaling with the following code

  chart1.AxisY.Min = double.MinValue; // Is there another way to set the Min to

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...