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
125
UltraChart with axis in the middle
posted

Hi,

I am using a composite UltraChart. Is it possible to position the Y axis in the middle of the chart ? For example, when the displayed X range is -2...+12, the Y axis should be located at X = 0.

  • 48586
    Suggested Answer
    posted

    Hello ,

     

    I think that you need the ZeroAlign property, please look at the attached sample, where I am using ScaterChart. UltraChart.Data.ZeroAligned does this for non-composite charts, I was not able to locate on composite chart such property that you could set to achieve your goal.

     

    Let me know if you have any further questions.

    WinChartmoveAxisY.zip
  • 1405
    Offline posted

    Hey, 

     

    I'm fairly certain you can visually control this right in the designer. Open up the chart wizard and switch over to Axes and switch again to sub-tab 'margins' or whatever it is. There you can drag the axes lines around to get the effect you're looking for!

     

    Cheers.