Navigator display problem with negative values

3 posts, 1 answers
  1. Answer
    Robert
    Robert avatar
    23 posts
    Member since:
    Jun 2012

    Posted 15 May 2013 Link to this post

    Hi there,

    I'm using he StockChart for displaying a line chart on top of the navigator. It generally works well, but when there are negative values within my Json data, the navigator doesn't mask the unselected data correctly and it overlaps the labels below. What can I do about it? Please see the attached images for an example.

    Regards,
    Robert
  2. Hristo Germanov
    Admin
    Hristo Germanov avatar
    703 posts

    Posted 16 May 2013 Link to this post

    Hello Robert,

    In this case I will suggest you to set padding top to the labels of the category axis. For example:

    ....
    navigator: {
       categoryAxis: {
          labels: {
             padding: { top: 10 }
          }
       }
    ...
    }
    ...

    Regards,
    Hristo Germanov
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Robert
    Robert avatar
    23 posts
    Member since:
    Jun 2012

    Posted 17 May 2013 Link to this post

    Thanks, that did it!
Back to Top