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
286
Avoid RangeMin and RangeMax to change when last layer removed
posted

Can I avoid this behaviour ? the set Axisrange seems to be only used when there is a series. After the last series is removed , the RangeMin on X ist set to 1.1.1974 and RangeMax to 1.1.2011 ?

Parents
  • 2406
    posted

    Hi,

    Have you tried setting the following chart properties to restrict the chart axis range:

    chart.Axis.X.RangeType = AxisRangeType.Custom;
    chart.Axis.X.RangeMin = -20;
    chart.Axis.X.RangeMax = 20;

    Let me know if this helps.

Reply Children