I have the following chart as seen in the attachment image.
How can I synchronize the Y Axis so that they both have 0 at the same horizontal line ?
How can I synchronize the Y Axis so that they both have 0 at the same horizontal line ?
5 Answers, 1 is accepted
0
Hi Devid,
To achieve your requirement you can manually adjust the ranges of the axes. To do this, set the Minimum, Maximum and MajorStep properties of the axes.
Regards,
Martin Ivanov
Progress Telerik
To achieve your requirement you can manually adjust the ranges of the axes. To do this, set the Minimum, Maximum and MajorStep properties of the axes.
Regards,
Martin Ivanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0

Devid
Top achievements
Rank 1
answered on 29 May 2019, 02:34 PM
But the Series don't have to scale the same, they just have to have the zero align.
0
Hello Devid,
In order to align the 0 values of the axes, you will need to use the same ranges for the both axes. Otherwise, the zeroes will be placed at different positions in the UI.
Can you send me a drawing of the expected result?
Regards,
Martin Ivanov
Progress Telerik
In order to align the 0 values of the axes, you will need to use the same ranges for the both axes. Otherwise, the zeroes will be placed at different positions in the UI.
Can you send me a drawing of the expected result?
Regards,
Martin Ivanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0

Devid
Top achievements
Rank 1
answered on 31 May 2019, 09:18 AM
We have a customization where the user creates the series. So the chart is created generically. That is why it is not easy to define the ranges.
I have a image of the chart bellow. In our charts we have always 0. So it would be nice to align the series to the zero point. Otherwise the comparison of the series is difficult for the user.
I have a image of the chart bellow. In our charts we have always 0. So it would be nice to align the series to the zero point. Otherwise the comparison of the series is difficult for the user.
0
Hello Devid,
I've attached a small example showing a possible approach to achieve the desired effect. Basically, I am setting the Minimum and Maximum properties of the both axes, based on the plotted data, in order to have the same range. This way the zero values will be positioned on the exact same positions. I hope this helps.
Regards,
Martin Ivanov
Progress Telerik
I've attached a small example showing a possible approach to achieve the desired effect. Basically, I am setting the Minimum and Maximum properties of the both axes, based on the plotted data, in order to have the same range. This way the zero values will be positioned on the exact same positions. I hope this helps.
Regards,
Martin Ivanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.