Static Axis

Posted by: celophysis on 8 September 2017, 2:56 pm EST

  • Posted 8 September 2017, 2:56 pm EST

    Hallo,

     it seems to be simple but sorry, i can't figure it out: I need a xy-chart which has in any case the same scaling:

    my x-axis has values from 0 to 1

    my y-axis has values from -1 to 1

    The task is that x-axis and y-axis are fixed on the same spot and don't change their scaling whatever the current drawn values are.

    ok, to fix the x-axis on the origin we can use

    plotArea.XAxes[0].LocationCustomValue = 0.01;

    but if i have y-values only from 0 to 1 the range between -1 and 0 disappears.

    How to fix a chart that axis don't do any changes in scaling?

     

     

  • Replied 8 September 2017, 2:56 pm EST

    Devil ok, i knew there was something stupid about my question. I adapted the Maximum and Minimum properties of the y-axis dynamically. So it's no wonder how it behaved.

    Forum@Moderator : this thread can be deleted ;-)

    Sorry for this inconvenience.

  • Replied 8 September 2017, 2:56 pm EST

    Thanks for letting us know that you resolved your issue.
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels