This is a migrated thread and some comments may be shown as answers.

How to align two y axes

3 Answers 139 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Norbert
Top achievements
Rank 1
Norbert asked on 17 Jan 2013, 08:58 PM
I'd like to align two y axes to have some specific values on the same line, e.g. to have zero values (generaly it doesn't have to be zeroes) of both axes aligned. I tried to use axisCrossingValue of both y axes set to zero, but it didn't work.
I'd appreciate any help.

3 Answers, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 18 Jan 2013, 04:45 PM
Hi Norbert,

I am not quite sure if I understand your scenario correctly - do you mean an outcome like illustrated in this online demo? In this is not the requested one I would like to ask you to elaborate a bit more on the exact outcome you are trying to implement. This way I would be able to advice you further and provide concrete recommendations. 
 
Kind regards,
Iliana Nikolova
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Norbert
Top achievements
Rank 1
answered on 21 Jan 2013, 02:09 AM
Hi Iliana, here's a jsfiddle. I'd like to have the zero on the axis B1 aligned with the zero on the axis U1.
I know, that I could achieve the result by manipulating min and max of both axes, but I would lose the auto range. I was trying to set the axisCrossingValue of both yAxes, but it didn't work.

Regards
Norbert
0
Iliana Dyankova
Telerik team
answered on 22 Jan 2013, 01:11 PM
Hi Norbert,

I am afraid what you are trying to achieve is not supported and as a workaround I can suggest setting min and max for the y-axes. Also you can manipulate the displayed labels using the skip / step options. 

Regards,

Iliana Nikolova
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Charts
Asked by
Norbert
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Norbert
Top achievements
Rank 1
Share this question
or