valueAxis labels wrong position

4 posts, 0 answers
  1. Kevin
    Kevin avatar
    7 posts
    Member since:
    Apr 2014

    Posted 08 Dec 2014 Link to this post

    Hello,

    I have a situation where I am getting something incorrect.
    So, I am rendering a single Kendo chart with dynamic valueAxis labels' max value. At first time chart renders with correct Y axis labels (in this case the max value is 60), and the second time rendering chart with different Y axis data (in this case the max value is 120) something strange happens, the Y axis labels since 60 are positioning a little left from Y axis line than others.

     link to test goo.gl/KqTVG7 (please click the "render chart" button two or more times to see the problem)

    FYI: I suppose that the problem is LRUCache.

    Thanks in advance!
  2. Hristo Germanov
    Admin
    Hristo Germanov avatar
    703 posts

    Posted 10 Dec 2014 Link to this post

    Hi Kevin,

    Could you please reproduce this issue in Dojo page and send me the url because I need to examine this case? Thank you for the understanding.

    Regards,
    Hristo Germanov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kevin
    Kevin avatar
    7 posts
    Member since:
    Apr 2014

    Posted 10 Dec 2014 in reply to Hristo Germanov Link to this post

    Hello,

    Yes, of course!
    Please check  this URL

    Regards,
    Kevin
  4. Hristo Germanov
    Admin
    Hristo Germanov avatar
    703 posts

    Posted 12 Dec 2014 Link to this post

    Hello Kevin,

    You have extra ";" in the font of the valueAxis labels. You need to remove it because it makes the font to be incorrect.
    var axisLabelsTextFont = "20px sans-serif";

    Regards,
    Hristo Germanov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top