Jump to content
Software FX Community

AxisX problem

Recommended Posts

raevgil    0


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?


Share this post

Link to post
Share on other sites
TomasT    0


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;





Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now