.NET Framework Developer Center > .NET Development Forums > Chart Controls for .NET Framework > .AxisX.IsStartedFromZero is not working with Point chart
Ask a questionAsk a question
 

Question.AxisX.IsStartedFromZero is not working with Point chart

  • Monday, November 02, 2009 9:06 AMMeirys Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I would like my X axis to start from 0, all values are positive. I set .IsStartedFromZero to true, MinPosition = 0 and MaxPosition = 200.

    The problem appears when I try to zoom. The axis X keeps the same interval but starts from negative values (p.e., before zooming 0 to 200 and after -120 to 80). The start value depends of the point in the serie. It is like the chart try to center the zoomed part keeping the same interval. Any idea what i am doing wrong ?