in

Software FX Community

Discuss and find help for all Software FX products.

Removing the 0 from X - Axis

Last post 04-30-2010 11:22 AM by RandyJ. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 04-27-2010 8:15 PM

    Removing the 0 from X - Axis

    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

  • 04-30-2010 11:22 AM In reply to

    Re: Removing the 0 from X - Axis

    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,

    Randy Jimenez
    support.softwarefx.com
Page 1 of 1 (2 items)
Copyright 2008 Software FX, Inc.