Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
85
Chart point snapping to point on axis!??
posted

I have a chart (see below) where my orange line should go straight throught the x axis but it is ending on a point, is there any way to stop this happening?

I assume it is something to do with the points on my x axis?

Thanks

Parents
  • 7305
    Suggested Answer
    posted

    If you have a point below zero set the RangeType (custom), RangeMin and RangeMax in order to make them all visible such as:

    ultraChart1.Axis.X.RangeType = Infragistics.UltraChart.Shared.Styles.AxisRangeType.Custom;
    ultraChart1.Axis.X.RangeMin = -5;
    ultraChart1.Axis.X.RangeMax = 10;

    Please note that setting a RangeMin below zero will move the X axis to the specified (below zero) coordinate.

    Let me know if this approach works for you.

Reply Children