Jump to content
Software FX Community

AxisX problem


Recommended Posts


i downloaded the charFX (lite version) for Visual Studio -Windows Forms

i created a graph (XY). i want to show only the points between 20<X<30 .but it is not working! :(

 i tried this code :

chart1.AxisX.Min= 20;



but the graph shows me the all point why? :(


i tried to change the Y like this:


chart1.AxisY.Min= 20;



and this is Working for Y!!! why is it not working for X parameters?


Link to comment
Share on other sites


For future inquiries, please make sure to post questions in the Chart FX Lite forum:


 Now, in regards to your question, in the Lite version you will not be able to define a range of values on the X axis. You will need to define your range before passing data to the chart. Since the Lite version only works with a categorical X axis, there is no real scaling on that axis. Therefore, setting min and max values will not have an effect unless you define the range in terms of the index of the borderline points.

For example, if you pass 10 points to the chart and only want to show points 3 through 6, you can do:

chart1.AxisY.Min= 3;





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...