Jump to content
Software FX Community
kbpartha24

Removing the 0 from X - Axis

Recommended Posts

Hello All,

I am using Chart FX Client server 6.2 in Visula Studio 6.2. When I Plot a Lines graph. My X - Axis plot starts at 0. I do not wnat it to start at 0. I wnat it to start at the number I enter. I tried SetFirstLabel and SetForceZero methods. But it does no have any effect on the graph. I create the control at runtime using CreateControl method.

 

Is there any way to start the graph from X-Axis , Y- Axis intersection.

 

With Regards

Partha

Share this post


Link to post
Share on other sites

Hi Partha,

If you want your X Axis to start at a specific number (not zero) you just need to use the Axis.Min property, which defines the minimum value of a selected axis.

Example

To set the Min value of the primary Y axis to 10:

Chart1.AxisX.Min = 10

Regards,

Share this post


Link to post
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.

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

Loading...

×
×
  • Create New...