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
665
Customize Y axis on stack chart
posted

Hello,

On a 2D stacked column chart, the y axis range is dynamic, and I want the maxvalue to be the value returned from the SP plus 15. How do I do that?

Me.ultrachart1.Axis.Y.RangeType = Custom

Me.ultrachart1.Axis.Y.RangeMin = 0

Me. ultrachart1.Axis.Y.RangeMax = ??

Thanks

  • 28496
    Suggested Answer
    Offline posted

    Me. ultrachart1.Axis.Y.RangeMax = theValueReturnedFromTheSP + 15

     

    (you must get this value yourself, there's no way to get it through the chart api.)