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

Y-axis scaling - points above max of axis and markers truncated

2 Answers 36 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Andrew
Top achievements
Rank 1
Andrew asked on 27 Aug 2015, 04:30 PM

Hi, I have a problem with charts where the maximum values of a series are "just above" a multiple of the unit on the y-axis. I've set up a minimal example at 

http://dojo.telerik.com/uqIME/2

 

You will see that the two data points are above the maximum value shown on the y-axis, and the data markers are partly obscured. I would expect the y-axis to be extended so that the data points are within its range (e.g. Excel has a max of 1200 on the y-axis for the same series).

I suppose I could work around this by calculating and explicitly setting the maximum, but it would be better if the chart could do this itself. Or is there some other  setting I can use to force it?

 Thanks

Andrew 

 

2 Answers, 1 is accepted

Sort by
0
Accepted
Iliana Dyankova
Telerik team
answered on 31 Aug 2015, 08:37 AM
Hi Andrew,

In order to prevent markers clipping you should set the .clip option to false. For your I modified the dojo.

Regards,
Iliana Nikolova
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Andrew
Top achievements
Rank 1
answered on 01 Sep 2015, 11:22 AM

Thanks, Iliana, I didn't know about that option, which solves the clipping problem in my app.

 

I'm still not keen on the way the chart values can be above the max of the y-axis markers, but it's not a big problem so I'll mark this as solved. Thanks again for your help.

Andrew 

 

 

Tags
Charts
Asked by
Andrew
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Andrew
Top achievements
Rank 1
Share this question
or