Page 1 of 1

tick with label at the intersection of the two axes

Posted: Wed Oct 21, 2015 9:47 am
by 16573450
dear experts,
As it is illustrated on the attached screen capture, I need to have series with the vertical axis which has a first tick at its intersection with the horizontal axis.
In the attached example, I want to have 1E+9 displayed.
I had a careful look at the different options of the LeftAxis, but failed to come to something which is functional.
How can I force the Chart to display a first tick with label at the intersection of the x-axis and the vertical axis.

Re: tick with label at the intersection of the two axes

Posted: Wed Oct 21, 2015 2:57 pm
by yeray
Hello Nabil,

You should set the Left axis AutomaticMinimum property to false it then you should be able to set a Minimum for the axis.

If you still find problems with it, please arrange a simple example project we can run as-is to reproduce the problem here.

Re: tick with label at the intersection of the two axes

Posted: Wed Oct 21, 2015 4:37 pm
by 16573450
Hi,
many thanks for the suggestion. This is indeed what I did in the end, but this was not enough. In addition, I had to fix the minimum value of the LeftAxis, such that the label at the intersection of the horizontal and the vertical axes is displayed. To do this, I simply:
- find the minimum of the series (s_min, s_min is always positive in my case),
- search for the value of n, such that 10^n+1 > s_min >= 10^n,
- fix LeftAxis.Minimum to 10^n

thanks

Re: tick with label at the intersection of the two axes

Posted: Thu Oct 22, 2015 8:30 am
by yeray
Hello Nabil,

I'm glad to hear you found how to achieve it! :D